-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunocss.config.ts
53 lines (52 loc) · 1.17 KB
/
unocss.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
import {
defineConfig,
presetAttributify,
presetIcons,
presetUno,
presetWebFonts,
} from 'unocss'
export default defineConfig({
presets: [
presetUno(),
presetAttributify(),
presetIcons({
scale: 1.2,
cdn: 'https://esm.sh/',
}),
presetWebFonts({
provider: 'google',
fonts: {
noto: ['Noto Sans TC:400,700'],
},
}),
],
theme: {
colors: {
primary: {
light: '#929259',
DEFAULT: '#77772B',
},
white: '#FFFBF2',
secondary: '#E5E5E5',
darkgray: '#E3DEC7',
gradient: 'linear-gradient(144.86deg, #FAF0DF -10.56%, #EDEDCC 114.15%)',
yellow: {
light: '#F8CC77',
DEFAULT: '#FFC453',
},
},
},
shortcuts: {
card: 'rounded-lg shadow-md bg-white text-primary text-center flex-col items-center justify-center p-5 mb-5',
keyboard:
'w-[55px] h-[40px] rounded-lg text-primary bg-transparent border-1 border-solid border-primary flex items-center justify-center',
},
safelist: [
'bg-primary',
'bg-primary-light',
'bg-yellow-light',
'bg-yellow',
'i-clarity-favorite-solid',
'i-clarity-favorite-line',
],
})