-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.cjs
116 lines (115 loc) · 3.19 KB
/
tailwind.config.cjs
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
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
darkMode: ["class", '[data-theme="dark"]'],
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
light: {
whiteBackground: "#FFFFFF",
primaryBackground: "#FFFCFA",
stroke: "#E5E5E5",
theme: "#ff9966",
primaryText: "#333333",
secondaryText: "#999999",
orange: "#FF9966",
lightOrange: "#fff4f4",
grey: "#fff7f0",
status: {
vouching: "#BE75FF",
registered: "#00D9A1",
removed: "#F60C6E",
revocation: "#FF9966",
claim: "#00D1FF",
challenged: "#FFBE66",
withdrawn: "#999999",
expired: "#333333",
transferred: "#3F6212",
transferring: "#ba7264",
rejected: "#D90429",
},
},
dark: {
whiteBackground: "#2D0050",
primaryBackground: "#1B003F",
stroke: "#42498F",
theme: "#1b003f",
primaryText: "#DAF0FF",
secondaryText: "#BECCE5",
orange: "#FFBE66",
lightOrange: "#480c54",
grey: "#666666",
status: {
vouching: "#D09BFF",
registered: "#79FFDC",
removed: "#FF8DBD",
revocation: "#FF9966",
claim: "#8CEAFF",
challenged: "#FFBE66",
withdrawn: "#BECCE5",
expired: "#DAF0FF",
transferred: "#8BC34A",
transferring: "#795548",
rejected: "#F25F5F",
},
},
},
animation: {
flip: "flip 5s linear infinite",
},
keyframes: {
flip: {
"0%, 100%": { transform: "rotateY(0deg)" },
"50%": { transform: "rotateY(360deg)" },
},
// progress: {
// "0%": { transform: "scaleX(1)" },
// "100%": { transform: "scaleX(0)" },
// },
},
fontFamily: {
sans: ["Open Sans", ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [require("@tailwindcss/forms")],
safelist: [
"bg-status-vouching",
"bg-status-registered",
"bg-status-removed",
"bg-status-revocation",
"bg-status-claim",
"bg-status-challenged",
"bg-status-withdrawn",
"bg-status-expired",
"bg-status-transferred",
"bg-status-transferring",
"text-status-vouching",
"text-status-registered",
"text-status-removed",
"text-status-revocation",
"text-status-claim",
"text-status-challenged",
"text-status-withdrawn",
"text-status-expired",
"text-status-transferred",
"text-status-transferring",
"border-status-vouching",
"border-status-registered",
"border-status-removed",
"border-status-revocation",
"border-status-claim",
"border-status-challenged",
"border-status-withdrawn",
"border-status-expired",
"border-status-transferred",
"border-status-transferring",
"bg-status-rejected",
"text-status-rejected",
"border-status-rejected",
],
};