-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
47 lines (47 loc) · 1.19 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
/** @type {import('tailwindcss').Config} */
export default {
darkMode: [
'variant',
['@media (prefers-color-scheme: dark) { &:not(.light *) }', '&:is(.dark *)']
],
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
colors: {
'hearchco-primary': '#9a3e00',
'hearchco-secondary': '#ffb380'
},
animation: {
swing: 'swing 1.5s',
'swing-infinite': 'swing-infinite 1s linear infinite'
},
keyframes: {
swing: {
'20%': { transform: 'rotate3d(0, 0, 1, 15deg)' },
'40%': { transform: 'rotate3d(0, 0, 1, -10deg)' },
'60%': { transform: 'rotate3d(0, 0, 1, 5deg)' },
'80%': { transform: 'rotate3d(0, 0, 1, -5deg)' },
to: { transform: 'rotate3d(0, 0, 1, 0deg)' }
},
'swing-infinite': {
'25%': { transform: 'rotate(10deg)' },
'50%': { transform: 'rotate(0deg)' },
'75%': { transform: 'rotate(-10deg)' },
to: { transform: 'rotate(0deg)' }
}
},
gridTemplateColumns: {
fit: 'repeat(auto-fit, minmax(168px, 1fr))',
'sm-fit': 'repeat(auto-fit, minmax(28dvw, 1fr))'
},
screens: {
xs: '475px',
'2xs': '400px',
'3xs': '320px',
'4xs': '260px',
'5xs': '200px'
}
}
},
plugins: []
};