-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
tailwind.config.js
77 lines (76 loc) · 1.83 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import formsPlugin from '@tailwindcss/forms';
module.exports = {
content: ['./index.html', './src/**/*.{js,ts,vue}'],
theme: {
extend: {
colors: {
snapshot: '#F2994A',
boost: '#F2994A',
'skin-primary': 'var(--primary-color)',
'skin-border': 'var(--border-color)',
'skin-text': 'var(--text-color)',
'skin-link': 'var(--link-color)',
'skin-bg': 'var(--bg-color)',
'skin-block-bg': 'var(--block-bg)',
'skin-header-bg': 'var(--header-bg)',
'skin-heading': 'var(--heading-color)',
green: '#21b66f',
red: '#ff3856',
'skin-success': '#57B375'
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
}
},
animation: {
'fade-in': 'fadeIn 1s',
'pulse-fast': 'pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite'
}
},
spacing: {
0: '0px',
1: '4px',
2: '8px',
3: '16px',
4: '24px',
5: '32px',
6: '40px'
},
screens: {
xs: '420px',
sm: '544px',
md: '768px',
lg: '1012px',
xl: '1280px',
'2xl': '1536px'
},
fontFamily: {
sans: [
'Calibre, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji'
],
mono: ['monospace'],
space: ['SpaceMono']
},
fontSize: {
'2xl': ['36px', '50px'],
xl: ['28px', '44px'],
lg: ['24px', '32px'],
md: ['20px', '28px'],
base: ['18px', '24px'],
sm: ['16px'],
xs: ['14px']
},
boxShadow: {
lg: '2px 4px 9px var(--shadow-color)',
xl: '7px 10.5px 28px 0px var(--shadow-color)'
}
},
plugins: [
'prettier-plugin-tailwindcss',
formsPlugin({
strategy: 'class'
})
]
};