forked from The-Boring-Education/TBE-Web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
97 lines (96 loc) · 2.21 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
/* eslint-disable @typescript-eslint/no-var-requires */
const { fontFamily } = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
screens: {
sm: '480px',
md: '768px',
lg: '976px',
xl: '1440px',
},
fontFamily: {
primary: ['Inter', ...fontFamily.sans],
},
fontSize: {
'header-1': '4rem',
'header-2': '2.75rem',
'header-3': '2rem',
'header-4': '1.5rem',
'header-5': '1.25rem',
subtitle: '1.25rem',
paragraph: '1rem',
'strong-text': '1rem',
'pre-title': '0.875rem',
'button-text': '0.875rem',
},
fontWeight: {
thin: '100',
extralight: '200',
light: '300',
normal: '400',
medium: '500',
semibold: '600',
bold: '700',
extrabold: '800',
black: '900',
},
letterSpacing: {
tight: '-.025em',
normal: '0',
wide: '.025em',
wider: '.05em',
widest: '.25em',
},
colors: {
primary: '#FF5757',
secondary: '#E0B034',
dark: '#040505',
success: '#31D0AA',
contentLight: '#19191B',
contentDark: '#FDFDFD',
grey: '#B0B0B0',
greyLight: '#e3e3e3',
greyDark: '#848484',
accent: '#ECF1F4',
lightBG: '#F8F8F8',
},
spacing: {
1: '8px',
2: '16px',
3: '24px',
4: '32px',
5: '40px',
6: '48px',
7: '56px',
8: '64px',
},
padding: {
1: '10px',
2: '16px',
4: '32px',
6: '48px',
8: '64px',
10: '80px',
12: '96px',
14: '112px',
16: '128px',
},
borderRadius: {
1: '5px',
2: '10px',
},
borderColor: {
borderColor1: '#F6FFBE',
borderColor2: '#2555FF',
borderColor3: '#FFE259',
borderColor4: '#FF76E1',
borderColor5: '#923CFF',
borderColor6: '#F0F3FF',
},
},
},
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')],
};