svgl/tailwind.config.cjs

30 lines
558 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: ['General-Sans', 'sans-serif']
},
fontSize: {
mini: '14px'
}
}
},
plugins: [
require('@tailwindcss/typography'),
({ addUtilities }) => {
addUtilities({
'.text-balance': {
'text-wrap': 'balance'
}
});
}
]
};