-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathtailwind.config.js
More file actions
39 lines (39 loc) · 919 Bytes
/
Copy pathtailwind.config.js
File metadata and controls
39 lines (39 loc) · 919 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
34
35
36
37
38
39
/** @type {import('tailwindcss').Config} */
module.exports = {
important: true,
future: {
// only apply hover: styles on devices with a real pointer, so taps on iOS
// don't leave a sticky :hover highlight on buttons
hoverOnlyWhenSupported: true,
},
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
animation: {
fadein: 'fadein 0.25s',
},
keyframes: {
fadein: {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
},
screens: {
xs: '480px',
xxs: '360px'
},
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/typography'),
],
};