forked from OpenQDev/OpenQ-Frontend
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
executable file
·76 lines (70 loc) · 1.55 KB
/
tailwind.config.js
File metadata and controls
executable file
·76 lines (70 loc) · 1.55 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// const colors = require('tailwindcss/colors');
/*CHECK DOC ABOUT extensio parameters vs theem*/
module.exports = {
mode: 'jit',
purge: ['./components/**/*.js', './pages/**/*.js'],
darkMode: false, // or 'media' or 'class'
theme: {
borderRadius: {
none: '0',
sm: '0.125rem',
DEFAULT: '4px',
md: '0.375rem',
lg: '1.7rem',
xl: '2.5rem',
full: '9999px',
large: '12px',
},
borderColor: (theme) => ({
...theme('colors'),
DEFAULT: theme('colors.gray.300', 'currentColor'),
menu: '#4c4c4c',
primary: '#3490dc',
secondary: '#ffed4a',
danger: '#e3342f',
}),
extend: {
boxShadow: {
inner: 'inset 0 -2px 3px 0 rgba(0, 0, 0, 0.06)',
},
colors: {
'dark-mode': '#121212',
'button-pink': '#FF006A',
'web-gray': '#585858',
'bg-input-color': '#C45454',
},
fontFamily: {
mont: '\'Montserrat\', sans-serif;',
},
width: {
'1/7': '14.2857143%',
'2/7': '28.5714286%',
'3/7': '42.8571429%',
'4/7': '57.1428571%',
'5/7': '71.4285714%',
'6/7': '85.7142857%',
},
screens: {
xs: { max: '639' },
// => @media (min-width: 380px) { ... }
sm: '640px',
// => @media (min-width: 640px) { ... }
md: '768px',
// => @media (min-width: 768px) { ... }
lg: '1024px',
// => @media (min-width: 1024px) { ... }
xl: '1280px',
// => @media (min-width: 1280px) { ... }
'2xl': '1536px',
// => @media (min-width: 1536px) { ... }
},
},
gridTemplateColumns: {
'wide': '1fr 2fr 1fr',
}
},
variants: {
extend: {},
},
plugins: [],
};