-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.ts
35 lines (34 loc) · 1.05 KB
/
tailwind.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import { defineConfig } from 'windicss/helpers';
import aspectRatio from 'windicss/plugin/aspect-ratio';
import colors from 'windicss/colors';
export default defineConfig({
darkMode: 'class',
extract: {
include: ['src/**/*.{vue,html,jsx,tsx}'],
exclude: ['node_modules', '.git'],
},
shortcuts: {
'default-color': 'light:(text-dark-500) dark:(text-gray-100)',
'default-bg': 'light:(bg-gray-100) dark:(bg-dark-500)',
'component-color': 'light:(text-dark-500) dark:(text-gray-100)',
'component-bg': 'light:(bg-gray-100) dark:(bg-dark-100)',
'hover-bg': 'light:(bg-gray-200) dark:(bg-dark-50)',
'border-color': 'light:(border-gray-100) dark:(border-dark-300)',
},
safelist: 'p-3 p-4 p-5 icon router-link-active',
theme: {
colors: { ...colors },
extend: {
fontFamily: {
sans: ['Inter var'],
serif: ['Merriweather', 'serif'],
},
},
screens: {
tablet: '640px',
laptop: '1024px',
desktop: '1680px',
},
},
plugins: [aspectRatio],
});