This repository was archived by the owner on Dec 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.cjs
66 lines (66 loc) · 1.98 KB
/
tailwind.config.cjs
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
module.exports = {
mode: "jit",
purge: [
"./src/**/*.{ts,tsx,svg}"
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
"lightbulb-green": "rgb(108, 171, 133)",
"lightbulb-dim": "rgba(224, 185, 88, 0.5)",
"lightbulb-yellow": "rgb(224, 185, 88)",
"leaderboard-green": "rgb(37, 86, 80)",
"background-green": "rgb(18, 38, 32)"
},
maxWidth: {
"kodekalender": "80rem"
},
width: {
"kodekalender": "80rem",
"avatar": "4.5rem"
},
margin: {
"avatar": "4.5rem",
},
space: {
"door-elements": "4rem"
},
gap: {
"door-elements": "4rem"
},
fontSize: {
"lightbulb": ["4.125rem", { lineHeight: "1" }]
},
keyframes: {
stars: {
// The background images are exactly 1000px tall, must use exact
// transform to avoid tearing when the animation repeats. Setting 100%
// will transform based on the size of the containing element which is
// scaled to 200% screen height to always show the background image.
to: { transform: "translateY(-1000px)" }
}
},
animation: {
"stars-background": "60s linear 0s infinite normal both running stars",
"stars-midground": "40s linear 0s infinite normal both running stars",
"stars-foreground": "20s linear 0s infinite normal both running stars"
},
backgroundImage: (theme) => ({
"stars-background": "url('/assets/svg/background.svg')",
"stars-midground": "url('/assets/svg/midground.svg')",
"stars-foreground": "url('/assets/svg/foreground.svg')"
})
}
},
variants: {
extend: {}
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/line-clamp"),
require("tailwindcss-children"),
require("@whiterussianstudio/tailwind-easing"),
require("@tailwindcss/forms")({ strategy: 'class' })
]
}