forked from benawad/dogehouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
80 lines (80 loc) · 1.79 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
78
79
80
module.exports = {
darkMode: "media",
purge: ["./src/**/*.tsx", "./public/index.html"],
theme: {
fontFamily: {
sans: [
"Inter",
"-apple-system",
"BlinkMacSystemFont",
"Segoe UI",
"Roboto",
"Helvetica",
"Arial",
"sans-serif",
],
// mono: ["Menlo", "Monaco", "Courier New", "monospace"],
},
fontSize: {
tiny: "0.625rem",
xs: ".75rem",
sm: ".875rem",
base: "1rem",
lg: "1.125rem",
xl: "1.25rem",
"2xl": "1.5rem",
"3xl": "1.875rem",
"4xl": "2.25rem",
"5xl": "3rem",
"6xl": "4rem",
"7xl": "5rem",
},
colors: {
button: "var(--color-button-text)",
transparent: "transparent",
primary: {
100: "var(--color-primary-100)",
200: "var(--color-primary-200)",
300: "var(--color-primary-300)",
600: "var(--color-primary-600)",
700: "var(--color-primary-700)",
800: "var(--color-primary-800)",
900: "var(--color-primary-900)",
},
secondary: {
DEFAULT: "var(--color-secondary)",
"washed-out": "var(--color-secondary-washed-out)",
},
accent: {
DEFAULT: "var(--color-accent)",
hover: "var(--color-accent-hover)",
disabled: "var(--color-accent-disabled)",
},
},
spacing: {
0: "0px",
1: "5px",
2: "10px",
3: "15px",
4: "20px",
5: "30px",
6: "40px",
7: "60px",
8: "75px",
},
borderWidth: {
DEFAULT: "1px",
},
extend: {
borderRadius: {
5: "5px",
8: "8px",
},
},
},
variants: {
backgroundColor: ({ after }) => after(["disabled"]),
textColor: ({ after }) => after(["disabled"]),
},
plugins: [],
};