-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtailwind.config.cjs
64 lines (64 loc) · 1.25 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
colors: {
primary: {
DEFAULT: '#1d3556',
dark: '#0f1b2b',
light: '#457b9d'
},
secondary: '#ff5a5f',
accent: '#a8dadc',
white: '#f1faee',
black: '#232323',
gray: '#B5BAC1',
'dark-gray': '#474747',
success: '#62cc3f',
error: '#e63946'
},
maxWidth: {
'1/4': '1024px'
},
spacing: {
1: '0.25rem',
2: '0.5rem',
3: '0.75rem',
4: '1rem',
5: '1.5rem',
6: '2rem',
7: '4rem'
},
fontSize: {
xs: '0.75rem',
sm: '0.875rem',
base: '1rem',
lg: '1.125rem',
xl: '1.125rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '3rem'
},
fontFamily: {
heading: 'Poppins, system-ui, sans-serif',
body: 'Poppins, system-ui, sans-serif'
},
cubicBezier: {
DEFAULT: 'cubic-bezier(0.4, 0, 0.2, 1)'
},
transitionDuration: {
150: '150ms'
},
transitionProperty: {
all: 'all',
colors: 'background-color, border-color, color, fill, stroke',
opacity: 'opacity',
shadow: 'box-shadow',
transform: 'transform'
}
}
},
plugins: [require('@tailwindcss/typography')]
};