-
Notifications
You must be signed in to change notification settings - Fork 7
/
windi.config.ts
29 lines (28 loc) 路 885 Bytes
/
windi.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
import { defineConfig } from 'windicss/helpers'
import colors from 'windicss/colors'
export default defineConfig({
extract: {
include: [
'src/**/*.{vue,ts}',
'shared/**/*.{vue,ts}',
],
},
shortcuts: {
'bg-background': 'bg-$background',
'subheader': 'my-4 uppercase opacity-50 text-sm',
'container': 'max-w-[65em] m-auto px-6 py-10 lg:px-2',
'duotone-border': 'border-gray-200 dark:border-true-gray-700',
'icon-button': '!outline-none opacity-40 hover:!opacity-75 inline-block my-auto',
'button': 'px-2 py-1 rounded bg-gray-400 opacity-80 bg-opacity-10 !outline-none hover:(bg-primary text-primary bg-opacity-10 opacity-100) active:(ring-1 ring-primary)',
},
theme: {
extend: {
fontFamily: {
mono: '"Fira Code", monospace',
},
colors: {
primary: colors.lightBlue[400],
},
},
},
})