-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
75 lines (73 loc) · 1.73 KB
/
tailwind.config.ts
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
import { Config } from 'tailwindcss'
const config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/features/**/*.{js,ts,jsx,tsx,mdx}',
'./src/layout/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}'
],
theme: {
fontWeight: {
// only use 300 and 500 for Poppins(secondary) and 500 for Apex Mk3(main) (see src/styles/fonts.ts)
normal: '300',
bold: '500'
},
fontSize: {
xs: '0.75rem', // 12px
sm: '0.875rem', // 14px
base: '1rem', // 16px
lg: '1.125rem', // 18px
xl: '1.25rem', // 20px
'2xl': '1.5rem', // 24px
'3xl': '2.25rem', // 36px
'4xl': '3rem', // 48px
'5xl': '5rem' // 80px
},
extend: {
screens: {
xs: '480px'
},
colors: {
primary: {
DEFAULT: '#FDC244',
400: '#FCDA7C',
500: '#FDC244',
600: '#E3A736'
},
disabled: {
DEFAULT: '#917539',
500: '#917539'
},
background: {
DEFAULT: '#1F2128',
500: '#1F2128'
},
'background-secondary': {
DEFAULT: '#26282E',
500: '#26282E'
},
success: {
DEFAULT: '#5EE37B',
500: '#5EE37B'
},
error: {
DEFAULT: '#F94C41',
500: '#F94C41'
},
gray: {
DEFAULT: '#8F9093',
300: '#D2D3D4',
400: '#B1B3B5',
500: '#8F9093'
}
},
fontFamily: {
main: 'var(--font-main)',
secondary: 'var(--font-secondary)'
}
}
},
plugins: [require('tailwindcss-animate')]
} satisfies Config
export default config