-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
39 lines (38 loc) · 1.02 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
const { keyframes } = require('tailwindcss/defaultTheme')
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
mode: 'jit',
darkMode: 'media',
content: [
'./app/root.tsx',
'./app/{**/*.js,**/*.jsx,**/*.ts,**/*.tsx}',
'./components/{**/*.js,**/*.jsx,**/*.ts,**/*.tsx}',
'./styles/**/*.css',
],
theme: {
extend: {
fontFamily: {
sans: ['Jost', ...defaultTheme.fontFamily.sans],
},
animation: {
'blur-in': 'blur-in linear 400ms',
orbit: 'orbit linear 40s infinite',
'counter-orbit': 'counter-orbit linear 40s infinite',
},
keyframes: {
'blur-in': {
'0%': { filter: 'blur(10px)' },
'100%': { blur: 'blur(0)' },
},
orbit: {
'0%': { transform: 'rotate(0)' },
'100%': { transform: 'rotate(360deg)' },
},
'counter-orbit': {
'0%': { transform: 'rotate(0)' },
'100%': { transform: 'rotate(-360deg)' },
},
},
},
},
}