-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
40 lines (40 loc) · 1.01 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
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
extend: {
fontFamily: {
lora: ["Lora", "serif"],
nunito: ["Nunito", "sans-serif"],
},
animation: {
flow: "flow 10s linear infinite",
},
keyframes: {
flow: {
"100%": { backgroundPosition: "200px 0" },
},
},
backgroundImage: (theme) => ({
"stripes-light": `repeating-linear-gradient(
-55deg,
${theme("colors.pink.100")},
${theme("colors.pink.100")} 10px,
${theme("colors.pink.200")} 10px,
${theme("colors.pink.200")} 20px
)`,
"stripes-dark": `repeating-linear-gradient(
-55deg,
${theme("colors.purple.800")},
${theme("colors.purple.800")} 10px,
${theme("colors.purple.900")} 10px,
${theme("colors.purple.900")} 20px
)`,
}),
},
},
variants: {
extend: {},
},
plugins: [],
};