-
Notifications
You must be signed in to change notification settings - Fork 4
/
uno.config.ts
50 lines (49 loc) · 1.1 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 } from 'unocss';
export default defineConfig({
shortcuts: [
{
'pc-secondary-title':
'text-[18px] font-bold text-text-secondary-light dark:text-text-secondary-dark',
},
{
'pc-compare-icon-true':
'block text-[22px] text-primary-light dark:text-primary-dark',
},
{
'pc-compare-icon-false':
'block text-[22px] text-text-quaternary-light dark:text-text-quaternary-dark opacity-50',
},
],
theme: {
colors: {
primary: {
light: '#18A058',
dark: '#63E2B7',
},
text: {
primary: {
light: '#181818',
dark: '#FFFFFFF0',
},
secondary: {
light: '#303133',
dark: '#FFFFFFD0',
},
tertiary: {
light: '#606266',
dark: '#FFFFFFB0',
},
quaternary: {
light: '#909399',
dark: '#FFFFFF90',
},
},
divider: {
light: '#0001',
dark: '#fff1',
},
},
},
presets: [presetUno(), presetIcons()],
});