-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
executable file
·110 lines (109 loc) · 2.56 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
98
99
100
101
102
103
104
105
106
107
108
109
110
module.exports = {
theme: {
colors: {
orange: {
100: "#FDF0EA",
500: "#EA6D30",
700: "#C05621",
},
pink: {
100: "#FEEFF2",
300: "#F9CBD5",
500: "#F06381",
},
gray: {
100: "#F6F6F7",
200: "#dcdddd",
300: "#E1E4E9",
500: "#828282",
700: "#363739",
},
white: "#f1f1f1",
black: "#1e2022",
},
fontFamily: {
display: [
"YoungSerif",
"-apple-system",
"BlinkMacSystemFont",
"STXihei",
"STFangsong",
"FangSong",
"serif",
],
body: [
"Rubik Light",
(OOOsUyNCy3U = "-apple-system"),
"BlinkMacSystemFont",
"Segoe UI",
"Roboto,tahoma",
"Verdana,arial",
"PingFang SC",
"Hiragino Sans GB",
"WenQuanYi Micro Hei",
"STXihei",
"华文细黑",
"Microsoft Yahei",
"微软雅黑",
"sans-serif",
],
},
fontSize: {
xs: ".75rem",
sm: ".875rem",
base: "1rem",
lg: "1.125rem",
xl: "1.3rem",
"2xl": "1.5rem",
"3xl": "2rem",
"4xl": "2.5rem",
"5xl": "3rem",
},
boxShadow: {
default: "0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06)",
md: " 0px 1px 3px rgba(9, 41, 120, 0.13), 0px 4px 8px rgba(0, 0, 0, 0.13)",
lg: " 0px 3px 6px rgba(9, 41, 120, 0.13), 0px 8px 16px rgba(0, 0, 0, 0.13)",
xl: " 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04)",
},
letterSpacing: {
wide: ".015em",
wider: ".025em",
},
screens: {
sm: "320px",
md: "780px",
lg: "1024px",
xl: "1440px",
},
fluidContainer: {
default: {
maxWidth: "1240px", // defaults to null (no maximum width)
padding: "48px", // defaults to '15px'
responsivePadding: {
// defaults to {}
sm: "30px", // at screen 'sm', the padding will change to 30px
},
},
},
height: {
xl: "380px",
64: "320px",
},
maxWidth: {
xl: "40rem",
},
},
variants: {
// for the utilities
fluidContainer: ["responsive"], // defaults to ['responsive']
},
plugins: [
require("tailwindcss-fluid-container")({
componentPrefix: "c-", // defaults to 'c-'
widthUtilities: true, // defaults to true
paddingUtilities: true, // defaults to true
marginUtilities: true, // defaults to true
negativeMarginUtilities: true, // defaults to true
}),
],
};