-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
58 lines (57 loc) · 1.41 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
52
53
54
55
56
57
58
const colors = require('./colors.js');
module.exports = {
content: ['./app/**/*.{ts,tsx,jsx,js}'],
darkMode: 'class',
theme: {
extend: {
boxShadow: {
light: '0 4px 6px -1px rgba(0, 0, 0, 0.4)',
dark: '0 10px 15px -3px rgba(0, 0, 0, 0.8)',
},
spacing: {
'header-height': '50px',
},
maxWidth: {
page: '580px',
},
keyframes: {
typing: {
'0%': { width: 0 },
'100%': { width: '100%' },
},
blinkCaret: {
'0%': { borderColor: 'transparent' },
'50%': { borderColor: 'rgb(var(--color-orange-dark) / var(--tw-bg-opacity))' },
'100%': { borderColor: 'transparent' },
},
dotLoading: {
'0%': {
boxShadow: '0 2em 0 -1.3em',
},
'80%': {
boxShadow: '0 2em 0 -1.3em',
},
'100%': {
boxShadow: '0 2em 0 -1.3em',
},
'40%': {
boxShadow: '0 2em 0 0',
},
},
},
animation: {
typing: 'typing 3s steps(44) 1 normal both, blinkCaret 0.75s steps(44) infinite normal',
dotLoading: 'dotLoading 1.8s both ease-in-out infinite',
vibrating: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1)',
},
},
screens: {
sm: '480px',
md: '768px',
lg: '976px',
xl: '1440px',
},
colors,
},
plugins: [],
};