create-comate-pagebuilder 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-comate-pagebuilder",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Create a modern, minimalist React + Vite + Tailwind CSS project",
5
5
  "type": "commonjs",
6
6
  "bin": {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pagebuilder-react-template",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pagebuilder-react-template",
9
- "version": "1.0.11",
9
+ "version": "1.0.12",
10
10
  "dependencies": {
11
11
  "clsx": "^2.1.0",
12
12
  "framer-motion": "^12.23.24",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pagebuilder-react-template",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -5,26 +5,59 @@ export default {
5
5
  "./src/**/*.{js,ts,jsx,tsx}",
6
6
  ],
7
7
  theme: {
8
+ // 必须使用extend属性,不要删除extend,避免直接覆盖默认配置
8
9
  extend: {
9
10
  colors: {
10
- // TODO: 请根据项目需求定义配色方案(只需填写单个颜色值即可)
11
+ // TODO: 请根据项目需求定义配色方案,如下所示,primary、secondary、accent各定义10个颜色,其它的为单色值
11
12
 
12
13
  // 使用场景说明:
13
- // - primary: 主色,用于主要按钮背景 (bg-primary)
14
- // - secondary: 次要色,用于次要按钮背景 (bg-secondary)
15
- // - accent: 强调色,用于高亮、提示等(可选)
16
- // - foreground: 深色,用于主要文本 (text-foreground)
17
- // - muted-foreground: 中等色,用于次要文本 (text-muted-foreground)
18
- // - border: 用于边框 (border-border)
19
- // - muted: 浅色,用于背景 (bg-muted)
20
-
21
- // primary: '',
22
- // secondary: '',
23
- // accent: '',
24
- // foreground: '',
25
- // 'muted-foreground': '',
26
- // border: '',
27
- // muted: '',
14
+ // - primary: 主色,用于主要按钮背景 (bg-primary-100)
15
+ // - secondary: 次要色,用于次要按钮背景 (bg-secondary-100)
16
+ // - accent: 强调色,用于高亮、提示等(可选,如:text-accent-500)
17
+ // - foreground: 深色,用于主要文本 (text-foreground)
18
+ // - muted-foreground: 中等色,用于次要文本 (text-muted-foreground)
19
+ // - border: 用于边框 (border-border)
20
+ // - muted: 浅色,用于背景 (bg-muted)
21
+ primary: {
22
+ 50: '',
23
+ 100: '',
24
+ 200: '',
25
+ 300: '',
26
+ 400: '',
27
+ 500: '',
28
+ 600: '',
29
+ 700: '',
30
+ 800: '',
31
+ 900: '',
32
+ },
33
+ secondary: {
34
+ 50: '',
35
+ 100: '',
36
+ 200: '',
37
+ 300: '',
38
+ 400: '',
39
+ 500: '',
40
+ 600: '',
41
+ 700: '',
42
+ 800: '',
43
+ 900: '',
44
+ },
45
+ accent: {
46
+ 50: '',
47
+ 100: '',
48
+ 200: '',
49
+ 300: '',
50
+ 400: '',
51
+ 500: '',
52
+ 600: '',
53
+ 700: '',
54
+ 800: '',
55
+ 900: '',
56
+ },
57
+ foreground: '',
58
+ 'muted-foreground': '',
59
+ border: '',
60
+ muted: '',
28
61
  },
29
62
  fontFamily: {
30
63
  sans: ['Inter', 'system-ui', 'sans-serif'],