-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
39 lines (39 loc) · 1.09 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
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
darkMode: "class",
theme: {
extend: {
colors: {
"primary-color": "var(--primary-color)",
"secondary-color": "var(--secondary-color)",
"light-theme-bg": "var(--light-theme-bg)",
"accent-color-light": "var(--accent-color-light)",
"accent-color-dark": "var(--accent-color-dark)",
"text-color-dark": "var(--text-color-dark)",
"text-color-light": "var(--text-color-light)",
},
animation: {
"loop-scroll": "loop-scroll 50s linear infinite",
},
keyframes: {
"loop-scroll": {
from: { transform: "translateX(0)" },
to: { transform: "translateX(-100%)" },
},
},
},
},
plugins: [
function ({ addUtilities }) {
const extendUnderline = {
".underline": {
textDecoration: "underline",
"text-decoration-color": "#fff",
"text-decoration-thickness": "2.5px",
},
};
addUtilities(extendUnderline);
},
require("tailwind-scrollbar-hide"),
],
};