-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
107 lines (106 loc) · 2.89 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
const colors = require('tailwindcss/colors');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
gridTemplateColumns: {
'auto-1fr': 'auto 1fr',
admin: '1fr auto auto',
'media-title': '1fr auto',
'media-content': 'auto 1fr auto auto',
},
minHeight: {
DEFAULT: '256px',
},
},
spacing: {
0: '0',
1: '1px',
2: '2px',
4: '4px',
6: '6px',
8: '8px',
10: '10px',
12: '12px',
14: '14px',
16: '16px',
20: '20px',
24: '24px',
28: '28px',
32: '32px',
40: '40px',
48: '48px',
56: '56px',
64: '64px',
80: '80px',
96: '96px',
128: '128px',
256: '256px',
},
maxWidth: (theme, { breakpoints }) => ({
DEFAULT: '840px',
narrow: '660px',
sm: '480px',
none: 'none',
full: '100%',
min: 'min-content',
max: 'max-content',
128: '128px',
256: '256px',
...breakpoints(theme('screens')),
}),
borderRadius: {
0: '0px',
2: '2px',
4: '4px',
8: '8px',
16: '16px',
full: '9999px',
},
fontSize: {
10: ['10px', '14px'],
12: ['12px', '16px'],
14: ['14px', '18px'],
16: ['16px', '22px'],
18: ['18px', '24px'],
20: ['20px', '26px'],
22: ['22px', '28px'],
28: ['28px', '34px'],
34: ['34px', '42px'],
},
fontWeight: {
normal: 400,
bold: 700,
},
textColor: {
white: colors.white,
slate: colors.slate,
primary: colors.slate['900'],
'primary-dark': colors.slate['50'],
secondary: colors.sky['800'],
'secondary-dark': colors.sky['200'],
neutral: colors.slate['500'],
'neutral-dark': colors.slate['400'],
warn: colors.red['600'],
good: colors.green['300'],
},
backgroundColor: {
white: colors.white,
slate: colors.slate,
light: colors.white,
dark: colors.slate['700'],
'body-light': colors.slate['50'],
'body-dark': colors.slate['800'],
neutral: colors.slate['100'],
'neutral-dark': colors.slate['600'],
},
screens: {
sm: '480px',
md: '768px',
lg: '990px',
},
},
plugins: [],
darkMode: 'class',
};