-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
85 lines (84 loc) · 1.86 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
const plugin = require('tailwindcss/plugin')
module.exports = {
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
mode: 'jit',
darkMode: false, // or 'media' or 'class'
theme: {
spacing: {
// quarck: '4px', // $2
// nano: '8px', // $4
// xxxs: '16px', // $8
// xxs: '32px', // $10
xs: '8px', // $11
sm: '16px', // $12
md: '24px', // $13
lg: '32px', // $14
xl: '40px', // $15
xxl: '48px', // $16
'1xxl': '56px', // $16
'2xxl': '96px', // $16
// xs: '40px', // $11
// sm: '48px', // $12
// md: '56px', // $13
// lg: '64px', // $14
// xl: '72px', // $15
// xxl: '80px', // $16
},
fontFamily: {
default: [
'"Milliard ExtraLight"',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
],
medium: [
'"Milliard Medium"',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
],
},
extend: {
spacing: {
1: '2px',
2: '4px',
4: '8px',
5: '10px',
6: '12px',
7: '14px',
8: '16px',
9: '24px',
10: '32px',
11: '40px',
12: '48px',
13: '56px',
14: '64px',
15: '72px',
16: '80px',
17: '88px',
18: '96px',
},
},
},
variants: {
extend: {},
},
plugins: [
plugin(function ({ addBase, theme }) {
addBase({
body: { fontFamily: theme('fontFamily.default') },
h1: { fontFamily: theme('fontFamily.medium') },
h2: { fontFamily: theme('fontFamily.medium') },
h3: { fontFamily: theme('fontSize.medium') },
})
}),
],
}