forked from dscnitrourkela/project-raisin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
97 lines (85 loc) · 2.55 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.html', './src/**/*.{js,jsx,ts,tsx,vue}'],
theme: {
fontFamily: {
Inter: ['Inter', 'sans-serif'],
Roslindale: ['Roslindale', 'serif'],
},
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', '26px'],
lg: ['18px', '28px'],
xl: ['20px', '28px'],
'2xl': ['24px', '32px'],
'3xl': ['24px', '36px'],
'4xl': ['32px', '40px'],
'5xl': ['48px', '64px'],
'6xl': ['64px', '96px'],
},
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)',
'accent-primary': 'var(--accent-color-primary)',
'accent-secondary': 'var(--accent-color-secondary)',
'accent-tertiary': 'var(--accent-color-tertiary)',
'accent-success': 'var(--accent-success)',
'btn-primary': 'var(--button-color-primary)',
'btn-secondary': 'var(--button-color-secondary)',
'btn-tertiary': 'var(--button-color-tertiary)',
'btn-confirmed': 'var(--button-color-confirmed)',
},
backgroundImage: () => ({
'gradient-primary': 'var(--brand-gradient)',
}),
},
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: [],
};