-
Notifications
You must be signed in to change notification settings - Fork 19
/
tailwind.config.js
67 lines (67 loc) · 1.66 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
module.exports = {
mode: 'jit',
content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
// darkMode: 'class',
theme: {
extend: {
colors: {
primary: '#7B81FF', //purple
primaryDark: '#05149C',
secondary: '#F2F3FF', //light purple
secondaryDark: '#BABFFF',
complementary: '#05149C', //dark purple
complementaryDark: '#252427',
complementaryLight: '#999999',
},
fontFamily: {
dmSans: ['DM Sans', 'sans-serif'],
fredoka: ['Fredoka', 'sans-serif'],
fredokaOne: ['Fredoka One', 'sans-serif'],
nunito: ['Nunito', 'sans-serif'],
poppins: ['Poppins', 'sans-serif'],
inter: ['Inter', 'sans-serif'],
sans: ['Fredoka', 'Roboto', 'sans-serif'],
},
width: {
'1/8': '12.5%',
'3/8': '37.5%',
'5/8': '62.5%',
'7/8': '87.5%',
'1/7': '14.29%',
'6/7': '85.71%',
},
height: {
'9/10': '90%',
},
minWidth: {
64: '16rem',
56: '14rem',
'160px': '160px',
'3/4': '75%',
'9/10': '90%',
},
minHeight: {
'1/3': '33.33%',
'9/10': '90%',
'1/2': '50%',
'1/4': '25%',
'5/8': '62.5%',
16: '4rem',
},
backgroundColor: (theme) => ({
lightBackground: '#F4F4F4',
aqua: '#D8F8FF',
darkAqua: '#B0F1FF',
}),
backgroundImage: {
'hero-pattern': `url(${'/assets/bg2.jpeg'})`, // !change
},
},
},
variants: {
extend: {
display: ['group-hover'],
},
},
plugins: [require('@tailwindcss/forms')],
};