-
Notifications
You must be signed in to change notification settings - Fork 1
/
uno.config.ts
50 lines (49 loc) · 1.4 KB
/
uno.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
// uno.config.ts
import { defineConfig, presetIcons, presetUno, transformerVariantGroup } from 'unocss';
import { presetScrollbar } from 'unocss-preset-scrollbar';
import { transformerDirectives } from 'unocss';
export default defineConfig({
presets: [presetUno({
dark: 'media'
}), presetIcons(), presetScrollbar()],
transformers: [transformerVariantGroup(), transformerDirectives()],
theme: {
colors: {
text: {
pri: '#171717',
sec: '#666666',
dark: {
pri: '#ededed',
sec: '#a1a1a1',
}
},
outline: {
pri: '#ebebeb',
sec: '#c9c9c9',
ter: '#a8a8a8',
dark: {
pri: '#2e2e2e',
sec: '#454545',
ter: '#878787'
}
},
bg: {
pri: '#f2f2f2',
sec: '#ebebeb',
ter: '#e6e6e6',
dark: {
pri: '#1a1a1a',
sec: '#1f1f1f',
ter: '#292929',
mica: '#23292e'
}
},
fg: {
pri: '#853d90',
success: '#50e3c2',
warn: '#f5a623',
error: '#ee0000'
}
}
}
});