-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathuno.config.ts
More file actions
61 lines (51 loc) · 1.2 KB
/
uno.config.ts
File metadata and controls
61 lines (51 loc) · 1.2 KB
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
import {
defineConfig,
presetWind3,
presetIcons,
transformerDirectives,
// presetTypography,
} from "unocss";
import hazeuiPreset from "@haze-ui/preset";
export default defineConfig({
presets: [
presetIcons({ scale: 1.2 }),
presetWind3(),
// presetTypography(),
hazeuiPreset(),
],
transformers: [transformerDirectives()],
theme: {
colors: {
fg: "var(--fg)",
bg: "var(--bg)",
primary: { DEFAULT: "var(--primary)", fg: "var(--primary-fg)" },
secondary: { DEFAULT: "var(--secondary)", fg: "var(--secondary-fg)" },
border: "var(--border)",
input: "var(--input)",
ring: "var(--ring)",
muted: {
DEFAULT: "var(--muted)",
fg: "var(--muted-fg)",
},
success: {
DEFAULT: "var(--success)",
subtle: "var(--success-subtle)",
},
warning: {
DEFAULT: "var(--warning)",
subtle: "var(--warning-subtle)",
},
danger: {
DEFAULT: "var(--danger)",
subtle: "var(--danger-subtle)",
},
info: {
DEFAULT: "var(--info)",
subtle: "var(--info-subtle)",
},
},
},
shortcuts: {
frow: "flex items-center gap3",
},
});