-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
123 lines (121 loc) · 2.66 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
111
112
113
114
115
116
117
118
119
120
121
122
123
// tailwind.config.js
import { tailwindConfig } from "@storefront-ui/vue/tailwind-config";
/** @type {import('tailwindcss').Config} */
export default {
presets: [tailwindConfig],
content: ["./index.html", "./**/*.vue", "./node_modules/@storefront-ui/vue/**/*.{js,mjs}"],
theme: {
extend: {
screens: {
xxl: "1620px",
},
fontSize: {
"text-xs": ["12px", "16px"],
sm: ["14px", "18px"],
base: ["16px", "24px"],
lg: ["18px", "24px"],
xl: ["20px", "28px"],
"2xl": ["24px", "32px"],
32: ["2rem", "2.625rem"],
48: ["3rem", "4rem"],
},
maxWidth: {
1620: "1620px",
},
margin: {
4.5: "18px",
7.5: "30px",
15: "60px",
30: "1.875rem",
"30px": "1.875rem",
"34px": "2.125rem",
"72px": "4.5rem",
120: "7.5rem",
},
padding: {
4.5: "1.125rem",
7.5: "30px",
15: "60px",
30: "1.875rem",
"30px": "1.875rem",
"34px": "2.125rem",
"72px": "4.5rem",
120: "7.5rem",
},
borderRadius: {
10: "10px",
20: "20px",
large: "1.875rem", //30px
100: "6.25rem",
},
colors: {
bold: {
100: "#1A1A1A",
},
red: {
500: "#F93B3B",
},
neutral: {
100: "#f5f5f5",
},
gray: {
100: "#E6E6E6",
e6e: "#E6E6E6",
200: "#666666",
666: "#666666",
400: "#999999",
},
primary: {
50: "#fefce8",
100: "#fef9c3",
200: "#fef08a",
300: "#fde047",
400: "#facc15",
500: "#eab308",
600: "#ca8a04",
700: "#FCA500", //主色调
800: "#854d0e",
900: "#713f12",
950: "#FA800E", //#首页buy button
},
},
},
fontFamily: {
body: [
"Lato",
"ui-sans-serif",
"system-ui",
"-apple-system",
"system-ui",
"Segoe UI",
"Roboto",
"Helvetica Neue",
"Arial",
"Noto Sans",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji",
],
sans: [
"Lato",
"ui-sans-serif",
"system-ui",
"-apple-system",
"system-ui",
"Segoe UI",
"Roboto",
"Helvetica Neue",
"Arial",
"Noto Sans",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji",
],
},
},
plugins: [],
};