-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
71 lines (71 loc) · 1.28 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
extend: {
colors: {
/** Abbreviations:
* l - light mode
* d - dark mode
* prim - primary
* secnd - secondary
* cont - container
* bg - background
* txt - text
*/
//Light mode;
l: {
prim: {
DEFAULT: "#0070FF",
txt: "#F0F8FF",
variant: "#CED4DA",
errorTxt: "#ee140f",
errorBg: "#ec0000",
cont: {
bg: "#FFFFFF",
variant: "#F5F5F5",
txt: "#000000",
},
},
secnd: {
DEFAULT: "#F2F3F4",
txt: "#000000",
variant: "#B9D9EB",
cont: {
bg: "#FFFFFF",
variant: "#F5F5F5",
txt: "#000000",
},
},
},
//Dark mode;
d: {
prim: {
DEFAULT: "#007FFF",
txt: "#FFFFFF",
variant: "#475569",
errorBg: "#8E2121",
errorTxt: "#ff4747",
cont: {
bg: "#212529",
variant: "#2B3035",
txt: "#FFFFFF",
},
},
secnd: {
DEFAULT: "#212529",
txt: "#FFFFFF",
variant: "#",
cont: {
bg: "#343A40",
variant: "#",
txt: "#FFFFFF",
},
},
},
},
},
},
plugins: [],
};