-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
executable file
·76 lines (75 loc) · 1.5 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
const colors = require('tailwindcss/colors');
module.exports = {
content: [
'./public/**/*.{html,js}',
],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.gray,
purple: colors.purple,
red: colors.red,
blue: colors.blue,
},
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
},
container: {
padding: {
DEFAULT: '1rem',
sm: '2rem',
lg: '4rem',
},
},
fontFamily: {
'sans': [
'SofiaPro',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
],
'sans-secondary': [
'Heebo',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
],
},
extend: {
spacing: {
'70': '4.375rem',
'100': '6.25rem',
'310': '19.375rem',
},
fontSize: {
xs: '0.75rem', //12px
sm: '0.875rem', //14px
base: '1rem', //16px
lg: '1.125rem', //18px
xl: '1.25rem', //20px
'2xl': '1.375rem', //22px
'3xl': '1.875rem', //30px
'4xl': '2.25rem', //36px
'5xl': '2.625rem', //42px
},
},
},
plugins: [],
}