-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
33 lines (33 loc) · 873 Bytes
/
tailwind.config.js
File metadata and controls
33 lines (33 loc) · 873 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
31
32
33
module.exports = {
purge: ['./components/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}'],
darkMode: 'media', // 'media' or 'class'
theme: {
extend: {
fontFamily: {
sans: ['Nunito', 'system-ui', 'sans-serif'],
},
keyframes: {
loader: {
'0%': { width: '0' },
'100%': { width: '100%' },
},
},
animation: {
loader: 'loader 10s linear infinite',
},
screens: {
standalone: { raw: '(display-mode: standalone)' },
},
spacing: {
'safe-top': 'env(safe-area-inset-top)',
'safe-bottom': 'env(safe-area-inset-bottom)',
'safe-left': 'env(safe-area-inset-left)',
'safe-right': 'env(safe-area-inset-right)',
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
],
}