svgl/tailwind.config.cjs

29 lines
518 B
JavaScript
Raw Normal View History

2023-03-15 19:28:22 +08:00
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
colors: {
2023-03-20 18:30:32 +08:00
dark: '#161616',
light: '#f5f5f5'
2023-03-15 19:28:22 +08:00
},
fontFamily: {
sans: ['General-Sans', 'sans-serif']
},
fontSize: {
mini: '14px'
}
}
},
plugins: [
({ addUtilities }) => {
addUtilities({
'.text-balance': {
'text-wrap': 'balance'
}
});
}
]
2023-03-15 19:28:22 +08:00
};