svgl/tailwind.config.js

33 lines
668 B
JavaScript
Raw Normal View History

import { fontFamily } from 'tailwindcss/defaultTheme';
2023-03-15 19:28:22 +08:00
/** @type {import('tailwindcss').Config} */
export default {
2023-03-15 19:28:22 +08:00
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: ['InterVariable', ...fontFamily.sans],
mono: ['GeistMono', ...fontFamily.mono]
2023-03-15 19:28:22 +08:00
},
fontSize: {
mini: '14px'
}
}
},
plugins: [
require('@tailwindcss/typography'),
({ addUtilities }) => {
addUtilities({
'.text-balance': {
'text-wrap': 'balance'
}
});
}
]
2023-03-15 19:28:22 +08:00
};