-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
62 lines (55 loc) · 1.48 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
/*
* @Description:
* @Author: didadida262
* @Date: 2024-08-30 11:15:06
* @LastEditors: didadida262
* @LastEditTime: 2024-09-15 13:27:00
*/
/* eslint-disable prettier/prettier */
// eslint-disable-next-line prettier/prettier
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
textColor: {
common: "#303133",
disabled: "#929292"
},
backgroundColor: theme => ({
...theme("colors"),
common: "#166CDD",
themePrimary: "#2A6CB6"
}),
boxShadow: {
card: "0px 4px 12px rgba(163, 174, 191, 0.2)"
},
extend: {
screens: {
xs: "300px",
// => @media (min-width: 400px) { ... }
// smm: '390px',
// // iphone12pro
// // => @media (min-width: 390px) { ... }
sm: "640px",
// => @media (min-width: 640px) { ... }
md: "768px",
// => @media (min-width: 768px) { ... }
lg: "1024px",
// => @media (min-width: 1024px) { ... }
xl: "1280px",
// => @media (min-width: 1280px) { ... }
"1xl": "1380px",
// => @media (min-width: 1380px) { ... }
"2xl": "1440px",
// => @media (min-width: 1440x820px) { ... }
"3xl": "1920px",
// '3xl': '1920x1080'
// => @media (min-width: 1920px) { ... }
"4xl": "2560px",
// => @media (min-width: 2560x1440px) { ... }
"5xl": "3840px"
// => @media (min-width: 3840x2160px) { ... }
}
}
},
plugins: []
};