svgl/tailwind.config.cjs
2023-12-16 22:36:17 +00:00

31 lines
601 B
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
colors: {
dark: '#161616',
light: '#f5f5f5'
},
fontFamily: {
sans: ['InterVariable', 'sans-serif'],
mono: ['GeistMono', 'monospace']
},
fontSize: {
mini: '14px'
}
}
},
plugins: [
require('@tailwindcss/typography'),
({ addUtilities }) => {
addUtilities({
'.text-balance': {
'text-wrap': 'balance'
}
});
}
]
};