-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.js
65 lines (65 loc) · 1.65 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
screens: {
xs: '500px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1440px',
'3xl': '1780px',
'4xl': '2160px', // only need to control product grid mode in ultra 4k device
},
extend: {
colors: {
brand: 'rgb(var(--color-brand) / <alpha-value>)',
body: '#fcfcfc',
dark: '#0D1321',
'light-dark': '#171e2e',
'sidebar-body': '#F8FAFC',
},
spacing: {
13: '3.375rem',
},
margin: {
'1/2': '50%',
},
padding: {
full: '100%',
},
width: {
'calc-320': 'calc(100% - 320px)',
'calc-358': 'calc(100% - 358px)',
},
fontFamily: {
body: ['Fira Code', 'monospace'],
},
fontSize: {
'13px': ['13px', '18px'],
},
borderWidth: {
3: '3px',
},
boxShadow: {
main: '0px 6px 18px rgba(0, 0, 0, 0.04)',
light: '0px 4px 4px rgba(0, 0, 0, 0.08)',
large: '0px 8px 16px rgba(17, 24, 39, 0.1)',
card: '0px 2px 6px rgba(0, 0, 0, 0.06)',
transaction: '0px 8px 16px rgba(17, 24, 39, 0.06)',
expand: '0px 0px 50px rgba(17, 24, 39, 0.2)',
button:
'0px 2px 4px rgba(0, 0, 0, 0.06), 0px 4px 6px rgba(0, 0, 0, 0.1)',
},
dropShadow: {
main: '0px 4px 8px rgba(0, 0, 0, 0.08)',
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
},
},
},
plugins: [],
};