-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
183 lines (172 loc) · 4.54 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
const { transform } = require("typescript");
const colors = require("tailwindcss/colors");
/** @type {import('tailwindcss').Config} */
module.exports = {
// darkMode: "class",
content: [
"./app/**/*.{js,ts,jsx,tsx}", // Note the addition of the `app` directory.
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
colors: {
...colors,
sacbeBrandColor: "#FF932F",
recommendedGreen: "#D2FEB0",
darkGreen: "#21b844",
pinkContainer: "#FEE6EA",
transparent: "transparent",
//primary
primary: "#8f4e00",
onPrimary: "#ffffff",
primaryContainer: "#ffdcc2",
onPrimaryContainer: "#2e1500",
//secondary
secondary: "#745b00",
onSecondary: "#ffffff",
secondaryContainer: "#FFF5E5",
onSecondaryContainer: "#241a00",
//teriary
tertiary: "#855300",
onTertiary: "#ffffff",
tertiaryContainer: "#FFF5E5",
onTertiaryContainer: "#2a1700",
//error
error: "#ba1a1a",
onError: "#ffffff",
errorContainer: "#ffdad6",
onErrorContainer: "#410002",
//background
background: "#f3dfd1",
onBackground: "#3e0021",
surface: "#fffbff",
onSurface: "#3e0021",
surfaceVarient: "#f3dfd1",
onSurfaceVarient: "#51443b",
//outline
outline: "#847469",
// standards
black: "#000000",
},
fontFamily: {
display: "var(--display-font)",
body: "var(--body-font)",
},
extend: {
keyframes: {
slide_in_left: {
"0%": {
transform: "translateX(-20em);",
opacity: 0,
},
"100%": {
transform: "translateX(0em);",
opacity: 1,
},
},
slide_in_left_blur: {
"0%": {
transform: "translateX(-5em);",
opacity: 0,
filter: "blur(1px)",
},
"100%": {
transform: "translateX(0em);",
opacity: 1,
filter: "blur(0px)",
},
},
slide_in_right_fade: {
"0%": {
transform: "translateX(10em);",
opacity: 0,
filter: "blur(1px)",
},
"100%": {
transform: "translateX(0em);",
opacity: 1,
filter: "blur(0px)",
},
},
zoom_in_fade: {
"0%": { transform: "scale(0.8)", opacity: 0 },
"100%": { transform: "scale(1)", opacity: 1 },
},
zoom_in: {
"0%": { transform: "scale(0.5)" },
"100%": { transform: "scale(1)" },
},
float: {
"0%": {
transform: "translateX(1em);",
},
"0%": {
transform: "rotate(0deg)",
},
"25%": {
transform: "translateX(-3em);",
},
"25%": {
transform: "rotate(15deg)",
},
"50%": {
transform: "translateX(-3em);",
},
"50%": {
transform: "rotate(-15deg)",
},
"100%": {
transform: "translateX(1em);",
},
"100%": {
transform: "rotate(0deg)",
},
},
scale_shadow: {
"0%": {
transform: " scaleX(.7);",
},
"25%": {
transform: "scaleX(0.8);",
},
"40%": {
transform: "scaleX(0.7);",
},
"50%": {
transform: "scaleX(0.8);",
},
"100%": {
transform: "scaleX(0.7);",
},
},
pulse_scale: {
"0%": {
transform: "scale(1);",
},
"50%": {
transform: "scale(0.97);",
},
"100%": {
transform: "scale(1);",
},
},
},
animation: {
slide_in_left_fade: "slide_in_left 1s ease-in-out",
slide_in_left_blur: " slide_in_left_blur 500ms ease-in-out",
slide_in_left_blur_delay: " slide_in_left 1000ms ease-in-out",
slide_in_right_fade: "slide_in_right_fade 1s ease-in-out",
slide_out_left_fade: "slide_in_left 1s ease-in-out reverse",
zoom_in_fade: "zoom_in_fade 400ms ease-in-out",
zoom_in: "zoom_in 1s ease-in-out",
float: "float 3s ease-in-out infinite",
scale_shadow: "scale_shadow 3s ease-in-out infinite",
pulse_scale: "pulse_scale 3s ease-in-out infinite",
},
scale: {
"-100": "-1",
},
},
},
plugins: [],
};