-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtailwind.config.js
More file actions
31 lines (28 loc) · 884 Bytes
/
tailwind.config.js
File metadata and controls
31 lines (28 loc) · 884 Bytes
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
// "./src/*.elm", // exclude src/Main.elm because there should not be any tailwind classes inside generated js
"./index.html"
],
theme: {
extend: {
// that is animation class
animation: {
yellowFade: 'yellowFadeOut 500ms ease-out', // sync with animateFadeDuration
fadeOut: 'fadeOut 500ms ease-out', // sync with animateFadeDuration
},
// that is actual animation
keyframes: theme => ({
yellowFadeOut: {
'0%': { backgroundColor: theme('colors.yellow.200') },
'100%': { backgroundColor: theme('colors.transparent') },
},
fadeOut: {
'0%': { },
'100%': { opacity: theme('opacity.0'), backgroundColor: theme('colors.yellow.200') },
},
}),
},
},
plugins: [],
}