mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
743 B
JavaScript
39 lines
743 B
JavaScript
// tailwind.config.js
|
|
// Reference: https://www.tailwindcss.cn/docs/configuration
|
|
|
|
module.exports = {
|
|
purge: {
|
|
enabled: process.env.NODE_ENV !== 'development',
|
|
content: ['./src/**/*.{js,jsx,ts,tsx}'],
|
|
},
|
|
darkMode: 'class', // or 'media'
|
|
important: '#app',
|
|
theme: {
|
|
screens: {
|
|
lg: { min: '1024px' },
|
|
md: { max: '767px' },
|
|
sm: { max: '639px' },
|
|
},
|
|
extend: {
|
|
borderRadius: {
|
|
'1/2': '50%',
|
|
},
|
|
spacing: {
|
|
18: '4.5rem',
|
|
142: '35.5rem',
|
|
},
|
|
lineHeight: {
|
|
13: '3.25rem',
|
|
},
|
|
},
|
|
},
|
|
variants: {
|
|
extend: {
|
|
opacity: ['disabled'],
|
|
display: ['group-hover'],
|
|
borderRadius: ['hover'],
|
|
},
|
|
},
|
|
plugins: [],
|
|
};
|