-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindi.config.ts
70 lines (69 loc) · 1.8 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import { defineConfig } from 'windicss/helpers'
import colors from 'windicss/colors'
// extending the builtin windicss configurations
export default defineConfig({
shortcuts: {
// custom the default background
'bg-main': 'bg-white text-[#181818] dark:bg-[#121212] dark:text-[#ddd]'
},
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#000',
white: '#fff',
bluegray: colors.blueGray,
coolgray: colors.coolGray,
gray: colors.gray,
truegray: colors.trueGray,
warmgray: colors.warmGray,
red: colors.red,
orange: colors.orange,
amber: colors.amber,
yellow: colors.yellow,
lime: colors.lime,
green: colors.green,
emerald: colors.emerald,
teal: colors.teal,
cyan: colors.cyan,
lightblue: colors.lightBlue,
blue: colors.blue,
indigo: colors.indigo,
violet: colors.violet,
purple: colors.purple,
fuchsia: colors.fuchsia,
pink: colors.pink,
rose: colors.rose,
light: colors.light,
neutral: colors.neutral,
herocyan: {
100: '#8AFBFF'
},
heroyellow: {
100: '#FCFFF5'
},
wj: {
100: '#777'
},
ok: {
100: '#5cb85c'
},
ng: {
100: '#f0ad4e'
},
err: {
100: '#d9534f'
}
},
extend: {
// fonts can be replaced here, remember to update the web font links in `index.html`
fontFamily: {
sans: ['Segoe UI', 'Dejavu Sans', 'Helvetica Neue', 'sans-serif'],
jp: "'Ricty Diminished', 'M PLUS Rounded 1c', 'Segoe UI', 'sans-serif'",
icon: "'Trebuchet MS', sans-serif",
serif: ['Merriweather', 'serif'],
mono: ['Ricty Diminished', 'Consolas', 'monospace']
}
}
}
})