-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathtailwind.config.js
126 lines (114 loc) · 3.93 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
import tailwindCssAnimate from "tailwindcss-animate";
import defaultTheme from "tailwindcss/defaultTheme";
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{html,js,svelte,ts}"],
darkMode: "class",
theme: {
extend: {
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans]
},
colors: {
// Colors for background in all situations
"background-primary": "#FAFAFF",
"background-secondary": "#ffffff",
"background-tertiary": "#ffffff",
"background-quaternary": "#E5E7EB",
"background-accent": "#F2F2F8",
"background-success": "#acffe5",
"background-error": "#ef434b",
"background-warning": "#fff6e0",
"background-info": "#d8dcff",
// Colors for background in all situations
"background-primary-dark": "#141420",
"background-secondary-dark": "#161622",
"background-tertiary-dark": "#1B1B27",
"background-quaternary-dark": "#2e2e41",
"background-accent-dark": "#272A3A",
"background-success-dark": "#00563b",
"background-error-dark": "#DB1A5B",
"background-warning-dark": "#342e17",
"background-info-dark": "#272A3A",
// Colors for text elements
"body-base": "#616A7B",
"body-secondary": "#616A7B",
"body-subdued": "#616A7B",
"body-accent": "#383C4E",
"body-info": "#FAFAFF",
"body-error": "#DB1A5B",
"body-warning": "#5d5440",
"body-success": "#00C48C",
// Colors for text elements
"body-base-dark": "#C5C8D8",
"body-secondary-dark": "#C5C8D8",
"body-subdued-dark": "#616A7B",
"body-accent-dark": "#F2F2F8",
"body-info-dark": "#FAFAFF",
"body-error-dark": "#DB1A5B",
"body-warning-dark": "#d9d6c9",
"body-success-dark": "#00C48C",
// Colors for text elements when filled
"body-filled-base": "#616A7B",
"body-filled-secondary": "#616A7B",
"body-filled-subdued": "#616A7B",
"body-filled-accent": "#383C4E",
"body-filled-info": "#033f7a",
"body-filled-error": "#ffebf4",
"body-filled-warning": "#5d5440",
"body-filled-success": "#00936b",
// Colors for text elements when filled
"body-filled-base-dark": "#C5C8D8",
"body-filled-secondary-dark": "#C5C8D8",
"body-filled-subdued-dark": "#616A7B",
"body-filled-accent-dark": "#F2F2F8",
"body-filled-info-dark": "#FAFAFF",
"body-filled-error-dark": "#ffebf4",
"body-filled-warning-dark": "#d9d6c9",
"body-filled-success-dark": "#00C48C",
// Colors for borders
"stroke-base": "#F2F2F8",
"stroke-accent": "#d4d4db",
"stroke-info": "#016AD4",
"stroke-error": "#DB1A5B",
"stroke-warning": "#F58801",
"stroke-success": "#00C48C",
// Colors for borders
"stroke-base-dark": "#272A3A",
"stroke-accent-dark": "#383C4E",
"stroke-info-dark": "#016AD4",
"stroke-error-dark": "#960639",
"stroke-warning-dark": "#F58801",
"stroke-success-dark": "#00C48C",
// Colors for buttons
"button-bg-primary": "#1C4ED8",
"button-bg-secondary": "#2C3442",
"button-bg-disabled": "#454C59",
"button-bg-accent": "#ef434b",
"button-bg-destructive": "#DB1A5B",
"button-bg-success": "#00C48C",
"button-bg-primary-dark": "#1C4ED8",
"button-bg-secondary--dark": "#2C3442",
"button-bg-disabled--dark": "#454C59",
"button-bg-accent--dark": "#ef434b",
"button-bg-destructive--dark": "#DB1A5B",
"button-bg-success--dark": "#00C48C",
// Colors for button-icon
"button-icon-primary": "#FFFFFF",
"button-icon-secondary": "#D2D2D2",
"button-icon-disabled": "#858585",
"button-icon-accent": "#FFFFFF",
"button-icon-destructive": "#FFFFFF",
"button-icon-success": "#FFFFFF",
// Colors for button-label
"button-label-primary": "#FAFAFF",
"button-label-secondary": "#FAFAFF",
"button-label-disabled": "#FAFAFF",
"button-label-accent": "#FFFFFF",
"button-label-destructive": "#FFFFFF",
"button-label-success": "#FFFFFF"
}
}
},
plugins: [tailwindCssAnimate]
};