Files
resharespace-static/tailwind.config.js
T
2020-10-18 02:06:43 +08:00

109 lines
2.9 KiB
JavaScript

module.exports = {
future: {
// removeDeprecatedGapUtilities: true,
// purgeLayersByDefault: true,
},
purge: [],
theme: {
extend: {
fontFamily: {
body: ['Poppins', "Open-Sans", 'sans-serif'],
},
colors: {
gray: {
'100': '#F7FAFC',
'200': '#EDF2F7',
'300': '#E2E8F0',
'400': '#CBD5E0',
'500': '#A0AEC0',
'600': '#718096',
'700': '#4A5568',
'800': '#2D3748',
'900': '#1A202C',
},
green: {
'300': '#32ffa8',
},
indigo: {
'700': '#7643ea',
'800': '#271d3e',
'900': '#150c2b',
},
},
},
spacing: {
px: '1px',
'0': '0',
'1': '0.25rem',
'2': '0.5rem',
'3': '0.75rem',
'4': '1rem',
'5': '1.25rem',
'6': '1.5rem',
'7': '1.8rem',
'8': '2rem',
'9': '2.3rem',
'10': '2.5rem',
'12': '3rem',
'16': '4rem',
'20': '5rem',
'24': '6rem',
'32': '8rem',
'40': '10rem',
'48': '12rem',
'56': '14rem',
'58': '14.5rem',
'60': '15rem',
'64': '16rem',
'66': '17rem',
'68': '18.5rem',
'70': '24rem',
'72': '28.5rem',
},
width: theme => ({
auto: 'auto',
...theme('spacing'),
'1/2': '50%',
'1/3': '33.333333%',
'2/3': '66.666667%',
'1/4': '25%',
'2/4': '50%',
'3/4': '75%',
'1/5': '20%',
'2/5': '40%',
'3/5': '60%',
'4/5': '80%',
'1/6': '16.666667%',
'2/6': '33.333333%',
'3/6': '50%',
'4/6': '66.666667%',
'5/6': '83.333333%',
'1/12': '8.333333%',
'2/12': '16.666667%',
'3/12': '25%',
'4/12': '33.333333%',
'5/12': '41.666667%',
'6/12': '50%',
'7/12': '58.333333%',
'8/12': '66.666667%',
'9/12': '75%',
'10/12': '83.333333%',
'11/12': '91.666667%',
full: '100%',
screen: '100vw',
}),
borderWidth: {
default: '1px',
'0': '0',
'2': '2px',
'3': '3px',
'4': '4px',
'6': '6px',
'8': '8px',
},
variants: {
backgroundColor: ['responsive', 'hover', 'focus', 'checked'],
},
plugins: [],
}
}