-
Notifications
You must be signed in to change notification settings - Fork 70
/
tailwind.config.ts
93 lines (92 loc) · 2.46 KB
/
tailwind.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
import typography from "@tailwindcss/typography";
import type { Config } from "tailwindcss";
export default {
content: ["./src/**/*.astro"],
darkMode: "class",
plugins: [typography],
theme: {
extend: {
borderWidth: {
1.5: "1.5px",
2.5: "2.5px",
},
colors: {
// Variables defined in src/assets/css/variables.css
pale: "var(--pale)",
dark: "var(--dark)",
"pale-yellow": "var(--pale-yellow)",
"middle-yellow": "var(--middle-yellow)",
yellow: "var(--yellow)",
"dark-yellow": "var(--dark-yellow)",
"soft-gray": "var(--soft-gray)",
"light-gray": "var(--light-gray)",
gray: "var(--gray)",
"dark-gray": "var(--dark-gray)",
"darker-gray": "var(--darker-gray)",
"pale-blue": "var(--pale-blue)",
"light-blue": "var(--light-blue)",
"middle-blue": "var(--middle-blue)",
blue: "var(--blue)",
"pale-green": "var(--pale-green)",
"middle-green": "var(--middle-green)",
green: "var(--green)",
"pale-red": "var(--pale-red)",
"middle-red": "var(--middle-red)",
red: "var(--red)",
cerulean: "var(--cerulean)",
lilac: "var(--lilac)",
rose: "var(--rose)",
orange: "var(--orange)",
"light-orange": "var(--light-orange)",
primary: "var(--primary)",
"nix-dark-blue": "var(--nix-dark-blue)",
"nix-light-blue": "var(--nix-light-blue)",
},
transitionDuration: {
hover: "200ms",
},
fontFamily: {
sans: [
"-apple-system",
"ui-sans-serif",
"system-ui",
"BlinkMacSystemFont",
'"Segoe UI"',
"Roboto",
'"Helvetica Neue"',
"Arial",
'"Noto Sans"',
"sans-serif",
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
serif: [
"ui-serif",
"Georgia",
"Cambria",
'"Times New Roman"',
"Times",
"serif",
],
mono: [
"ui-monospace",
"Menlo",
"Consolas",
"SFMono-Regular",
"Monaco",
'"Liberation Mono"',
'"Courier New"',
"monospace",
],
},
maxWidth: {
"8xl": "90rem",
},
screens: {
print: { raw: "print" },
},
},
},
} satisfies Config;