-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
69 lines (68 loc) · 1.62 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
const colors = require('tailwindcss/colors');
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
important: true,
content: [
"./src/**/*.{html,ts}",
],
theme: {
extend: {
animation: {
'fade-in': 'fade-in 0.5s linear forwards',
'pulse': 'pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite',
marquee: 'marquee var(--marquee-duration) linear infinite',
'spin-slow': 'spin 4s linear infinite',
'spin-slower': 'spin 6s linear infinite',
'spin-reverse': 'spin-reverse 1s linear infinite',
'spin-reverse-slow': 'spin-reverse 4s linear infinite',
'spin-reverse-slower': 'spin-reverse 6s linear infinite',
'scroll-slow': 'scroll 50s linear infinite',
},
keyframes: {
'fade-in': {
from: {
opacity: 0,
},
to: {
opacity: 1,
},
},
pulse: {
'0%, 100%': {
opacity: 1
},
"50%": {
opacity: .5
}
},
marquee: {
'100%': {
transform: 'translateY(-50%)',
},
},
'spin-reverse': {
to: {
transform: 'rotate(-360deg)',
},
},
scroll: {
from: {
transform: 'translateY(0)',
},
to: {
transform: 'translateY(-100%)',
}
}
},
colors: {
primary: colors.green,
secondary: colors.yellow,
danger: colors.red
}
},
},
plugins: [
require('@tailwindcss/forms'),
],
}