generated from Spenhouet/svelte-gh-pages-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.cjs
66 lines (63 loc) · 1.34 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
const config = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
colors: {
neon: {
yellow: '#D8FF3B', // contrast to dark
blue: '#3BC7FF', // contrast to dark
pink: '#FF3B76', // contrast to light
gray: {
light: '#CBC8CC', // contrast to light
dark: '#52656B' // contrast to dark
},
orange: '#FFA73B', // contrast to ?
green: '#3BFFAD', // contrast to ?
}
},
animation: {
'tilt-1': 'tilt-1 10s infinite linear',
'tilt-4': 'tilt-4 10s infinite linear',
},
keyframes: {
'tilt-1': {
"0%, 50%, 100%": {
transform: "rotate3d(2, 2, 2, 0deg)",
},
"25%": {
transform: "rotate3d(2, 2, 2, 1deg)",
},
"75%": {
transform: "rotate3d(2, 2, 2, -1deg)",
},
},
'tilt-4': {
"0%, 50%, 100%": {
transform: "rotate3d(2, 2, 2, 0deg)",
},
"25%": {
transform: "rotate3d(2, 2, 2, 4deg)",
},
"75%": {
transform: "rotate3d(2, 2, 2, -4deg)",
},
},
},
backgroundSize: {
'size-200': '200% 200%',
},
backgroundPosition: {
'pos-0': '0% 0%',
'pos-100': '100% 100%',
},
}
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require("tailwindcss-scoped-groups")({
groups: ["glow", "column"],
}),
]
};
module.exports = config;