-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
70 lines (70 loc) · 2.2 KB
/
tailwind.config.js
File metadata and controls
70 lines (70 loc) · 2.2 KB
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
module.exports = {
purge: {
content: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
},
theme: {
backgroundPosition: {
zero: "0px 0px !important",
},
extend: {
animation: {
fadeIn: "fadein 0.4s forwards",
fadeInDelay50ms: "fadein 0.4s .15s forwards",
fadeInLeft: "fadein-left 0.4s forwards",
fadeInRight: "fadein-right 0.4s forwards",
fadeInOut: "fadein 0.3s, fadeout 0.3s 2.5s",
type: `typing 1.5s steps(10, end),
blink-caret .75s step-end infinite`,
},
backgroundImage: {
circle: "radial-gradient(circle closest-side,currentColor 90%,#0000)",
},
backgroundPosition: {},
gridTemplateColumns: {
"auto-fill": "repeat(auto-fill, minmax(200px, 1fr))",
},
colors: {
primaryColor: "var(--primary-color)",
focusedPrimaryColor: "var(--focused-primary-color)",
textColorPrimary: "var(--text-color-primary)",
textColorSecondary: "var(--text-color-secondary)",
bgColor: "var(--bg-color)",
bgColorEl1: "var(--bg-color-el-1)",
focusColor: "var(--focus-color)",
cursorColor: "var(--cursor-color)",
},
keyframes: {
fadein: {
"0%": { transform: "translateY(30px)", opacity: 0 },
"100%": { transform: "translateY(0)", opacity: 1 },
},
fadeout: {
"0%": { transform: "translateY(0)", opacity: 1 },
"100%": { transform: "translateY(30px)", opacity: 0 },
},
"fadein-left": {
"0%": { transform: "translateX(-30px)", opacity: 0 },
"100%": { transform: "translateX(0)", opacity: 1 },
},
"fadein-right": {
"0%": { transform: "translateX(30px)", opacity: 0 },
"100%": { transform: "translateX(0)", opacity: 1 },
},
typing: {
"0%": { width: 0 },
"50%": { width: "100%" },
},
"blink-caret": {
"0%,100%": { "border-color": "transparent" },
"50%": { "border-color": "var(--primary-color)" },
},
},
},
},
variants: {
extend: {
opacity: ["disabled"],
},
},
plugins: [require("@tailwindcss/typography")],
};