buster/web/tailwind.config.ts

35 lines
915 B
TypeScript
Raw Normal View History

2025-02-21 06:05:55 +08:00
import type { Config } from 'tailwindcss';
const config = {
2025-02-21 06:05:55 +08:00
darkMode: false,
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
2025-02-21 06:05:55 +08:00
fontFamily: {
sans: ['Roobert_Pro', 'sans-serif'],
mono: ['Menlo', 'Monaco', 'Courier New', 'monospace']
},
colors: {
transparent: 'transparent',
current: 'currentColor'
},
fontSize: {
2025-02-21 06:05:55 +08:00
xxs: ['10px', { lineHeight: '1.2' }],
xs: ['11px', { lineHeight: '1.2' }],
sm: ['12px', { lineHeight: '1.2' }],
base: ['13px', { lineHeight: '1.2' }],
md: ['14px', { lineHeight: '1.2' }],
lg: ['18px', { lineHeight: '1.2' }],
xl: ['18px', { lineHeight: '1.2' }],
'2xl': ['20px', { lineHeight: '1.2' }],
'3xl': ['24px', { lineHeight: '1.2' }],
'4xl': ['30px', { lineHeight: '1.2' }]
},
extend: {
2025-02-21 06:05:55 +08:00
colors: {}
}
},
2025-02-21 06:05:55 +08:00
plugins: []
} satisfies Config;
export default config;