-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
105 lines (101 loc) · 2.08 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,ts}', './projects/**/*.{html,ts}'],
plugins: [],
darkMode: 'class',
content: ['./src/**/*.{html,scss,ts}'],
important: true,
theme: {
fontSize: {
'xs': '0.625rem',
'sm': '0.75rem',
'md': '0.8125rem',
'base': '0.875rem',
'lg': '1rem',
'xl': '1.125rem',
'2xl': '1.25rem',
'3xl': '1.5rem',
'4xl': '2rem',
'5xl': '2.25rem',
'6xl': '2.5rem',
'7xl': '3rem',
'8xl': '4rem',
'9xl': '6rem',
'10xl': '8rem'
},
screens: {
sm: '600px',
md: '960px',
lg: '1280px',
xl: '1440px'
},
extend: {
animation: {
'spin-slow': 'spin 3s linear infinite'
},
flex: {
'0': '0 0 auto'
},
opacity: {
12: '0.12',
38: '0.38',
87: '0.87'
},
rotate: {
'-270': '270deg',
'15': '15deg',
'30': '30deg',
'60': '60deg',
'270': '270deg'
},
scale: {
'-1': '-1'
},
zIndex: {
'-1': -1,
'49': 49,
'60': 60,
'70': 70,
'80': 80,
'90': 90,
'99': 99,
'999': 999,
'9999': 9999,
'99999': 99999
},
spacing: {
'13': '3.25rem',
'15': '3.75rem',
'18': '4.5rem',
'22': '5.5rem',
'26': '6.5rem',
'30': '7.5rem',
'50': '12.5rem',
'90': '22.5rem',
// Bigger values
'100': '25rem',
'120': '30rem',
'128': '32rem',
'140': '35rem',
'160': '40rem',
'180': '45rem',
'192': '48rem',
'200': '50rem',
'240': '60rem',
'256': '64rem',
'280': '70rem',
'320': '80rem',
'360': '90rem',
'400': '100rem',
'480': '120rem',
// Fractional values
'1/2': '50%',
'1/3': '33.333333%',
'2/3': '66.666667%',
'1/4': '25%',
'2/4': '50%',
'3/4': '75%'
},
}
},
};