-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
59 lines (58 loc) · 1.73 KB
/
tailwind.config.js
File metadata and controls
59 lines (58 loc) · 1.73 KB
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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
animation: {
'growUp-medium': 'growUp 1.2s linear 1',
'bounceLong-slow': 'bounceLong 2s linear infinite',
},
colors: {
body: {
100: 'hsl(var(--clr-body-color) / <alpha-value> )',
200: 'hsl(var(--clr-body-two-color) / <alpha-value> )',
},
primary: 'hsl(var(--clr-primary-color) / <alpha-value> )',
secondary: 'hsl(var(--clr-secondary-color) / <alpha-value> )',
tertiary: 'hsl(var(--clr-tertiary-color) / <alpha-value> )',
borderLine: 'hsl(var(--clr-border-color) / <alpha-value> )',
dark: 'hsl(var(--clr-dark-color) / <alpha-value> )',
grey: {
100: 'hsl(var(--clr-grey-100) / <alpha-value> )',
200: 'hsl(var(--clr-grey-200) / <alpha-value> )',
300: 'hsl(var(--clr-grey-300) / <alpha-value> )',
400: 'hsl(var(--clr-grey-400) / <alpha-value> )'
}
},
borderRadius: {
'2mxl': '1.25rem'
},
fontFamily: {
'outfit': ['Outfit', 'system-ui', 'mono', 'sans'],
'league': ['League', 'system-ui', 'mono', 'sans']
},
fontSize: {
'sm': '0.938rem',
'6xl': '3.375rem'
},
keyframes: {
growUp: {
'0%': { transform: 'scale(1)' },
'50%': { transform: 'scale(1.5)' },
'100%': { transform: 'scale(2)' },
},
bounceLong: {
'0%, 100%': { transform: 'translateY(-150%)' },
'50%': { transform: 'translateY(0)' },
},
},
lineHeight: {
'normal': '1.4'
},
},
},
plugins: [],
}