forked from lumen-notes/lumen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
60 lines (60 loc) · 1.93 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
future: {
hoverOnlyWhenSupported: true,
},
theme: {
extend: {
screens: {
coarse: { raw: "(pointer: coarse)" },
fine: { raw: "(pointer: fine)" },
},
fontWeight: {
semibold: "550",
bold: "650",
},
},
fontFamily: {
body: ['"iA Writer Quattro"', "system-ui", "sans-serif"],
mono: ['"iA Writer Mono"', "monospace"],
},
fontSize: {
sm: "var(--font-size-sm)",
base: "var(--font-size-base)",
lg: "var(--font-size-lg)",
xl: "var(--font-size-xl)",
},
colors: {
transparent: "transparent",
"current-color": "currentColor",
text: "var(--color-text)",
"text-secondary": "var(--color-text-secondary)",
"text-tertiary": "var(--color-text-tertiary)",
"text-highlight": "var(--color-text-highlight)",
"text-danger": "var(--color-text-danger)",
bg: "var(--color-bg)",
"bg-inset": "var(--color-bg-inset)",
"bg-overlay": "var(--color-bg-overlay)",
"bg-backdrop": "var(--color-bg-backdrop)",
"bg-secondary": "var(--color-bg-secondary)",
"bg-tertiary": "var(--color-bg-tertiary)",
"bg-code-block": "var(--color-bg-code-block)",
"bg-highlight": "var(--color-bg-highlight)",
"bg-selection": "var(--color-bg-selection)",
border: "var(--color-border)",
"border-secondary": "var(--color-border-secondary)",
"border-table": "var(--color-border-table)",
"border-focus": "var(--color-border-focus)",
},
borderRadius: {
none: "0",
xs: "0.1875rem", // 3px (base / 2)
sm: "0.375rem", // 6px (base)
md: "0.625rem", // 10px (base + 4px)
lg: "0.875rem", // 14px (base + 8px)
full: "9999px",
},
},
plugins: [require("@tailwindcss/container-queries"), require("tailwindcss-animate")],
}