-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
80 lines (80 loc) · 1.81 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
78
79
80
module.exports = {
theme: {
screens: {
'md': 'var(--breakpoint-md)'
},
spacing: {
'0': '0',
'100': 'var(--step--3)',
'200': 'var(--step--2)',
'300': 'var(--step--1)',
'400': 'var(--step-0)',
'500': 'var(--step-1)',
'600': 'var(--step-2)',
'700': 'var(--step-3)',
'800': 'var(--step-4)',
'900': 'var(--step-5)',
'1000': 'calc(var(--step-5) * 2)'
},
margin: (theme, { negative }) => ({ auto: 'auto', ...theme('spacing'), }),
maxWidth: {
'none': 'none',
'measure': 'var(--measure)',
'long': 'var(--measure-long)',
'short': 'var(--measure-short)',
'compact': 'var(--measure-compact)',
},
fontFamily: {
'sans': 'var(--sans-serif)',
'serif': 'var(--serif)',
'mono': 'var(--mono)'
},
fontSize: theme => theme('spacing'),
fontWeight: {
'normal': '400',
'medium': '500',
'semibold': '600',
'bold': '700'
},
lineHeight: {
'none': '1',
'tight': 'var(--line-height-tight)',
'mid': 'var(--line-height-mid)',
'loose': 'var(--line-height-loose)'
},
colors: {
transparent: 'transparent',
black: 'var(--black)',
white: 'var(--white)',
primary: 'var(--primary-color)',
secondary: 'var(--secondary-color)',
tertiary: 'var(--tertiary-color)',
cyan: 'var(--cyan)',
hotpink: 'var(--hotpink)',
},
extend: {},
},
variants: {
fontFamily: [],
fontSize: [],
fontStyle: [],
fontWeight: [],
lineHeight: [],
margin: [],
maxWidth: [],
padding: [],
textColor: [],
},
corePlugins: [
'fontFamily',
'fontSize',
'fontStyle',
'fontWeight',
'lineHeight',
'margin',
'maxWidth',
'padding',
'textColor',
],
plugins: [],
}