-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
50 lines (49 loc) · 1.05 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
import { SOCIALS } from "./src/config"
import {
defineConfig,
presetIcons,
presetTypography,
presetUno,
transformerDirectives,
} from "unocss"
export default defineConfig({
transformers: [transformerDirectives()],
presets: [
presetUno(),
presetIcons({
extraProperties: {
display: "inline-block",
"vertical-align": "middle",
},
}),
presetTypography({
cssExtend: {
a: {
color: "#f43f5e",
},
"a:hover": {
color: "#14b8a6",
},
},
}),
],
safelist: [...SOCIALS.map((i) => i.iconName)],
theme: {
colors: {
skin: {
base: "rgb(var(--color-text-base))",
muted: "rgb(var(--color-text-muted))",
fill: "rgb(var(--color-fill))",
accent: {
base: "rgb(var(--color-accent))",
hover: "rgb(var(--color-accent-hover))",
},
line: "rgb(var(--color-border))",
},
font: {
base: '"Open Sans", Helvetica, Arial, sans-serif',
code: "",
},
},
},
})