-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
64 lines (63 loc) · 1.61 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
primary: "var(--primary-color)",
secondary: "var(--secondary-color)",
textPrimary: "var(--primary-text)",
textSecondary: "var(--secondary-text)",
theme: {
bg: {
black: "#141414",
white: "#FFFFFF",
},
text: {
white: {
DEFAULT: "#EBEBEB",
muted: "#7A7A7A",
},
},
},
},
transitionProperty: {
height: "height",
width: "width",
},
keyframes: {
"over-bounce": {
"0%, 80%": {
transform: "translateY(0%)",
"animation-timing-function": "ease-in-out",
},
"100%": {
transform: "translateY(100%)",
"animation-timing-function": "ease-in-out",
},
},
"over-bounce-reverse": {
"0%, 80%": {
transform: "translateY(0%)",
"animation-timing-function": "ease-in-out",
},
"100%": {
transform: "translateY(-100%)",
"animation-timing-function": "ease-in-out",
},
},
},
animation: {
"over-bounce": "over-bounce 1s infinite alternate",
"over-bounce-reverse": "over-bounce-reverse 1s infinite alternate",
},
},
},
plugins: [
require("tailwind-scrollbar-hide"),
require("@tailwindcss/typography"),
],
};