forked from snapshot-labs/snapshot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
65 lines (64 loc) · 1.48 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
module.exports = {
mode: 'jit',
purge: ['./index.html', './src/**/*.{js,ts,vue}'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
snapshot: '#f3b04e',
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)',
blue: '#384aff',
green: '#21b66f',
red: '#ff3856'
},
animation: {
'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'
},
fontFamily: {
serif: [
'Calibre, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji'
]
},
fontWeight: {
'font-normal': 500,
bold: 600
},
fontSize: {
'2xl': ['36px', '50px'],
xl: ['28px', '44px'],
lg: ['24px', '32px'],
md: ['20px', '28px'],
base: ['18px', '24px'],
sm: ['16px', '22px'],
xs: ['14px', '20px']
}
},
variants: {
extend: {}
},
plugins: []
};