generated from Borodutch/frontend-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
144 lines (144 loc) · 3.3 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/** @type {import("@types/tailwindcss/tailwind-config").TailwindConfig } */
module.exports = {
content: ['./public/index.html', './src/**/!(tailwind).{ts,tsx}'],
theme: {
fontFamily: {
primary: ['"Space Grotesk"', 'sans-serif'],
},
extend: {
animation: {
float: 'float 18s ease-in-out infinite',
},
keyframes: {
float: {
'0%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(15px)' },
'100%': { transform: 'translateY(0px)' },
},
},
transitionProperty: {
letters: 'transform 0.32s ease, box-shadow 0.32s ease',
},
space: {
'-2': '-0.5rem',
'-11': '-2.75rem',
'-48': '-12rem',
},
height: {
'tiny-menu': '3.656rem',
'large-menu': '7.735rem',
15: '4.688rem',
70: '17.5rem',
88: '22.19rem',
'screen-80': '80vh',
},
width: {
114: '28.5rem',
},
maxWidth: {
270: '16.875rem',
400: '25rem',
},
minWidth: {
xs: '18.75rem',
},
fontSize: {
'2.5xl': '1.625rem',
'3xl': '2rem',
'4xl': '2.5rem',
'5xl': '2.875rem',
'6xl': '3.5rem',
'7xl': '4.75rem',
'8xl': '5.625rem',
},
letterSpacing: {
extra: '0.21em',
},
lineHeight: {
6: '1.313rem',
8: '1.938rem',
10: '2.688rem',
11: '3.188rem',
12: '5.938rem',
15: '10.438rem',
},
screens: {
tiny: '22.75rem',
se: '23.75rem',
s: '27.5rem',
tablet: '31.25rem',
md: '37.5rem',
sm: '42.1875rem',
lg: '64rem',
xl: '80rem',
},
colors: {
accent: 'var(--accent)',
'accent-hover': 'var(--accent-hover)',
primary: 'var(--primary)',
secondary: 'var(--secondary)',
'primary-dark': 'var(--primary-dark)',
'primary-background': 'var(--primary-background)',
navbar: 'var(--navbar)',
},
boxShadow: {
lg: '0 0 1rem 0 rgb(0 0 0 / 0.25)',
button: '0px 0px 2.25rem 0px rgba(191, 254, 143, 0.50)',
},
borderRadius: {
'4xl': '2.5rem',
'22xl': '11rem',
},
strokeWidth: {
1.5: 1.5,
2.5: 2.5,
4: 4,
},
margin: {
136: '34rem',
116: '29rem',
84: '21rem',
'-4': '-1rem',
'-10': '-2.5rem',
'-12': '-3rem',
'-16': '-4rem',
'-18': '-4.5rem',
'-24': '-6rem',
'-80': '-20rem',
'-96': '-24rem',
},
padding: {
25: '6.125rem',
},
inset: {
'-2': '-0.5rem',
'-6': '-1.5rem',
'-9': '-2.25rem',
'-11': '-2.75rem',
'-20': '-5rem',
'-28': '-7rem',
'-36': '-9rem',
'-44': '-11rem',
'-60': '-15rem',
'-96': '-24rem',
'-full-125': '-125%',
'-full-180': '-180%',
'-1/5': '-20%',
'1/5': '20%',
58.5: '3.66rem',
76: '4.75rem',
},
zIndex: {
'-10': '-10',
},
translate: {
'-0.5': '-0.25rem',
'-3': '-0.75rem',
'-7': '-1.75rem',
},
willChange: {
opacity: 'opacity',
},
},
},
}