forked from snapshot-labs/sx-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
60 lines (60 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
52
53
54
55
56
57
58
59
60
module.exports = {
plugins: [require('@tailwindcss/line-clamp')],
content: ['./index.html', './src/**/*.{js,ts,vue}'],
darkMode: 'class',
theme: {
extend: {
borderColor: {
DEFAULT: 'var(--border-color)',
red: '#ff3856'
},
colors: {
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-active': 'var(--active-bg)',
'skin-hover': 'var(--hover-bg)',
'skin-heading': 'var(--heading-color)',
blue: '#384aff',
green: '#21b66f',
red: '#ff3856'
},
animation: {
'pulse-fast': 'pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite'
}
},
screens: {
xs: '420px',
sm: '544px',
md: '768px',
lg: '1012px',
xl: '1280px'
},
spacing: {
0: '0px',
1: '4px',
2: '8px',
3: '16px',
4: '24px',
5: '32px',
6: '40px',
7: '48px',
8: '64px'
},
fontFamily: {
serif: ['"Calibre", Helvetica, Arial, sans-serif']
},
fontSize: {
'2xl': ['34px'],
xl: ['28px'],
lg: ['22px'],
md: ['20px'],
base: ['18px'],
sm: ['17px'],
xs: ['13px']
}
}
};