-
-
Notifications
You must be signed in to change notification settings - Fork 140
/
tailwind.config.js
51 lines (50 loc) · 1.36 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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: ['src/app/**/*.{js,ts,jsx,tsx,mdx,json}', 'src/components/**/*.{js,ts,jsx,tsx,mdx,json}'],
safelist: ['sh__line'],
theme: {
darkMode: 'selector',
screens: {
xs: '390px',
sm: '435px',
md: '768px',
lg: '1024px',
xl: '1280px'
},
extend: {
animation: {
reveal: 'reveal 0.7s ease-in-out'
},
fontFamily: {
sans: ['var(--font-geist-sans)', ...defaultTheme.fontFamily.sans],
mono: ['var(--font-geist-mono)', ...defaultTheme.fontFamily.mono]
},
keyframes: {
reveal: {
'0%': { opacity: 0, filter: 'brightness(1) blur(15px)', scale: '1.0125' },
'10%': { opacity: 1, filter: 'brightness(1.25) blur(10px)' },
'100%': { opacity: 1, filter: 'brightness(1) blur(0)', scale: '1' }
}
},
lineHeight: {
slacker: '1.75'
},
gridTemplateRows: {
'max-1': 'repeat(1, minmax(0, max-content))'
},
height: {
'dynamic-screen': '100dvh'
},
minHeight: {
'dynamic-screen': '100dvh'
},
maxHeight: {
'dynamic-screen': '100dvh'
}
}
},
plugins: [require('@tailwindcss/container-queries'), require('tailwindcss-animate')],
future: {
hoverOnlyWhenSupported: true
}
}