-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindi.config.ts
39 lines (38 loc) · 1.19 KB
/
windi.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
import { defineConfig } from "windicss/helpers"
import typography from "windicss/plugin/typography"
export default defineConfig({
extract: {
include: ["index.html", "pages/**/*.md", "src/**/*.{vue,ts}"],
},
darkMode: "class",
plugins: [typography()],
theme: {
extend: {
fontFamily: {
sans: '"Inter", Inter var,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji',
},
typography: {
DEFAULT: {
css: [
{
color: "var(--fg)",
a: {
color: "var(--fg-deeper)",
textDecoration: "none",
},
b: { color: "var(--fg-deep)" },
code: { color: "var(--fg-deep)" },
strong: { color: "var(--fg-deep)" },
em: { color: "inherit" },
h1: { color: "var(--fg-deeper)" },
h2: { color: "var(--fg-deep)" },
h3: { color: "inherit" },
h4: { color: "inherit" },
blockquote: { color: "inherit" },
},
],
},
},
},
},
})