2019-05-21 10:13:21 +00:00
|
|
|
module.exports = {
|
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
container: {
|
|
|
|
center: true,
|
|
|
|
padding: '2rem',
|
|
|
|
},
|
2020-02-14 12:11:15 +00:00
|
|
|
fontFamily: {
|
2022-02-23 15:13:44 +00:00
|
|
|
sans: [
|
|
|
|
'Segoe UI',
|
|
|
|
'Roboto',
|
|
|
|
'Helvetica Neue',
|
|
|
|
'Arial',
|
|
|
|
'Noto Sans',
|
|
|
|
'sans-serif',
|
|
|
|
'Apple Color Emoji',
|
|
|
|
'Segoe UI Emoji',
|
|
|
|
'Segoe UI Symbol',
|
|
|
|
'Noto Color Emoji',
|
|
|
|
],
|
2020-02-14 12:11:15 +00:00
|
|
|
},
|
2019-05-21 10:13:21 +00:00
|
|
|
borderWidth: {
|
|
|
|
default: '1px',
|
2022-02-23 15:13:44 +00:00
|
|
|
0: '0',
|
|
|
|
2: '2px',
|
|
|
|
4: '4px',
|
|
|
|
5: '5px',
|
|
|
|
6: '6px',
|
2019-05-21 10:13:21 +00:00
|
|
|
},
|
|
|
|
spacing: {
|
|
|
|
px: '1px',
|
|
|
|
'2px': '2px',
|
|
|
|
'3px': '3px',
|
2022-02-23 15:13:44 +00:00
|
|
|
0: '0',
|
|
|
|
1: '0.25rem',
|
|
|
|
2: '0.5rem',
|
|
|
|
3: '0.75rem',
|
|
|
|
4: '1rem',
|
|
|
|
5: '1.25rem',
|
|
|
|
6: '1.5rem',
|
|
|
|
8: '2rem',
|
|
|
|
10: '2.5rem',
|
|
|
|
12: '3rem',
|
|
|
|
16: '4rem',
|
|
|
|
20: '5rem',
|
|
|
|
24: '6rem',
|
|
|
|
32: '8rem',
|
|
|
|
40: '10rem',
|
|
|
|
48: '12rem',
|
|
|
|
56: '14rem',
|
|
|
|
64: '16rem',
|
2019-05-21 10:13:21 +00:00
|
|
|
},
|
|
|
|
colors: {
|
|
|
|
dark: '#4a4a4a',
|
2022-02-23 15:13:44 +00:00
|
|
|
},
|
|
|
|
},
|
2019-05-21 10:13:21 +00:00
|
|
|
},
|
|
|
|
variants: {
|
|
|
|
backgroundColor: ['responsive', 'hover', 'focus', 'disabled'],
|
|
|
|
borderColor: ['responsive', 'hover', 'focus', 'disabled'],
|
|
|
|
boxShadow: ['responsive', 'hover', 'focus', 'disabled'],
|
|
|
|
cursor: ['responsive', 'disabled'],
|
|
|
|
opacity: ['responsive', 'disabled'],
|
|
|
|
textColor: ['responsive', 'hover', 'focus', 'disabled'],
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
function ({ addVariant, e }) {
|
|
|
|
addVariant('disabled', ({ modifySelectors, separator }) => {
|
|
|
|
modifySelectors(({ className }) => {
|
2022-02-23 15:13:44 +00:00
|
|
|
return `.${e(`disabled${separator}${className}`)}:disabled`;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|