forked from Shurtu-gal/project-raisin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
82 lines (73 loc) · 2.05 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [],
theme: {
container: {
padding: {
default: '1rem',
sm: '2rem',
lg: '4rem',
xl: '5rem',
},
center: true,
},
borderRadius: {
DEFAULT: '4px',
none: '0px',
sm: '2px',
lg: '8px',
xl: '12px',
'2xl': '16px',
'3xl': '24px',
'4xl': '32px',
full: '50%',
},
fontSize: {
xs: ['12px', '16px'],
sm: ['14px', '20px'],
base: ['16px', '20px'],
lg: ['18px', '28px'],
xl: ['20px', '28px'],
'2xl': ['24px', '32px'],
'3xl': ['28px', '36px'],
'4xl': ['32px', '40px'],
'5xl': ['40px', '48px'],
},
extend: {
colors: {
'color-primary': 'var(--text-color-primary)',
'color-secondary': 'var(--text-color-secondary)',
'color-tertiary': 'var(--text-color-tertiary)',
'background-dark': 'var(--background-secondary)',
'background-darker': 'var(--background-primary)',
'btn-primary': 'var(--button-color-primary)',
'btn-secondary': 'var(--button-color-secondary)',
'btn-tertiary': 'var(--button-color-tertiary)',
'btn-confirmed': 'var(--button-color-confirmed)',
},
},
screens: {
'2xl': { max: '1535px' },
// => @media (max-width: 1535px) { ... }
xl: { max: '1279px' },
// => @media (max-width: 1279px) { ... }
mid: { max: '1150px' },
// => @media (max-width: 1150px) { ... }
lg: { max: '1023px' },
// => @media (max-width: 1023px) { ... }
md: { max: '760px' },
// => @media (max-width: 767px) { ... }
sm: { max: '639px' },
// => @media (max-width: 639px) { ... }
sxm: { max: '600px' },
// => @media {max-width: 600px}{...}
'1xsm': { max: '540px' },
// => @media {max-width: 540px}{...}
'2xsm': { max: '500px' },
// => @media {max-width: 500px}{...}
'3xsm': { max: '400px' },
// => @media {max-width: 500px}{...}
},
},
plugins: [],
};