-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
36 lines (35 loc) · 937 Bytes
/
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
const withAnimations = require('animated-tailwindcss');
module.exports =withAnimations( {
purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
fontFamily: {
'press-start': ['"Press Start 2P"', 'cursive']
},
animation: {
'spin-slow': 'spin 1s linear 1s',
'wiggle': 'wiggle 1s ease-in-out infinite',
},
colors: {
'primary': '#262c3a',
'primary-light': '#515661',
'secondary': '#4aa28f',
'secondary-light': '#80BDB0',
'complimentary': '#eced6b',
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-3deg)' },
'50%': { transform: 'rotate(3deg)' },
}
}
},
},
variants: {
extend: {
animation: ['responsive', 'motion-safe', 'motion-reduce','hover', 'focus']
},
},
plugins: [],
})