-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
77 lines (76 loc) · 1.83 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
fontFamily: {
inter: ["Inter", "sans-serif"],
consolas: ["Consolas", "monospace"],
},
utilities: {
".strong2": {
fontWeight: "bold",
},
},
colors: {
background: "#222",
backgroundLight: "#2b2e31",
textLight: "#E4E4E4",
primary: {
DEFAULT: "#42687D",
200: "#A2BBCB",
300: "#809FB3",
400: "#688AA0",
500: "#42687D",
600: "#42687D",
700: "#335467",
800: "#264252",
900: "#152D3A",
},
success: {
DEFAULT: "#44AA99",
200: "#8ACEC3",
300: "#809FB3",
400: "#44AA99",
500: "#359A88",
600: "#F29F4C",
700: "#2C7D6C",
},
error: {
DEFAULT: "#CC6677",
200: "#D67A8C",
300: "#809FB3",
400: "#CC6677",
500: "#C45A65",
600: "#B45461",
700: "#9E4E5B",
800: "#884955",
900: "#653C48",
},
},
typography: /** @type {any} */ (theme) => ({
DEFAULT: {
css: {
color: theme("colors.textLight"),
a: {
color: theme("colors.primary.DEFAULT"),
"&:hover": {
color: theme("colors.primary.500"),
},
},
h3: {
color: theme("colors.textLight"),
},
strong: {
color: theme("colors.success.DEFAULT"),
},
strong2: {
fontWeight: "bold",
},
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};