-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
57 lines (54 loc) · 1.43 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
/** @type {import('tailwindcss').Config} */
export const content = ["./index.html", "./src/**/*.{js,jsx}"];
export const mode = "jit";
export const theme = {
extend: {
animation: {
fade: "fadeOut 5s ease-in-out forwards",
},
keyframes: () => ({
fadeOut: {
'0%': { opacity: 1 },
'50%': {opacity: 1},
'100%': { opacity: 0 },
},
}),
colors: {
btnprimary: "#FFC300",
btnsecondary: "#C880B7",
btnhover: "#000814",
primary: "#ffc300",
secondary: "#C880B7",
dimwhite: "rgba(255, 255, 255, 0.7)",
dimyellow: "rgba(255, 195, 0, 0.1)",
errorred: "#AA3939",
erroraccent: "#801515",
warningyellow: "#37331f",
warningaccent: "#afa31e",
successblue: "#1f2937",
successaccent: "#1f41af",
gray800: "#9d9984",
},
fontFamily: {
inter: ["Inter", "sans-serif"],
},
},
screens: {
xs: "480px",
ss: "620px",
sm: "768px",
md: "1060px",
lg: "1200px",
xl: "1700px",
},
};
export const safelist = [
{
pattern:
/bg-(gray800|successblue|successaccent|warningyellow|warningaccent|errorred|erroraccent)/,
},
{
pattern: /animate-fade/,
},
];
export const plugins = [];