@fe-free/core 3.0.1 → 3.0.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @fe-free/core
2
2
 
3
+ ## 3.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: theme
8
+ - @fe-free/tool@3.0.2
9
+
3
10
  ## 3.0.1
4
11
 
5
12
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fe-free/core",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -41,7 +41,7 @@
41
41
  "safe-stable-stringify": "^2.5.0",
42
42
  "vanilla-jsoneditor": "^0.23.1",
43
43
  "zustand": "^4.5.4",
44
- "@fe-free/tool": "3.0.1"
44
+ "@fe-free/tool": "3.0.2"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@ant-design/pro-components": "2.8.9",
@@ -85,7 +85,7 @@ function RecordArray(props: RecordArrayProps) {
85
85
 
86
86
  return (
87
87
  <ProFormListHelper
88
- className={classNames('rounded bg-005 p-2', className)}
88
+ className={classNames('rounded bg-01 p-2', className)}
89
89
  value={value}
90
90
  onChange={onChange}
91
91
  getAdd={() => ({
@@ -10,7 +10,6 @@ export const Default = () => {
10
10
  <h1>tailwindcss</h1>
11
11
  <h2>textColor</h2>
12
12
  <div>
13
- <div className="bg-black px-2 text-00">text-00</div>
14
13
  <div className="text-01">text-01</div>
15
14
  <div className="text-02">text-02</div>
16
15
  <div className="text-03">text-03</div>
@@ -24,11 +23,10 @@ export const Default = () => {
24
23
  </div>
25
24
  <h2>backgroundColor</h2>
26
25
  <div>
27
- <div className="bg-00">bg-00</div>
28
- <div className="bg-005">bg-005</div>
29
26
  <div className="bg-01">bg-01</div>
30
27
  <div className="bg-02">bg-02</div>
31
28
  <div className="bg-03">bg-03</div>
29
+ <div className="bg-04">bg-04</div>
32
30
  </div>
33
31
  <h2>colors</h2>
34
32
  <div>
package/src/theme.ts CHANGED
@@ -25,7 +25,6 @@ const themeVariables = {
25
25
  yellow03: '#f6e7cd',
26
26
  },
27
27
  textColor: {
28
- '00': '#ffffff',
29
28
  '01': '#15191e',
30
29
  '02': '#444444',
31
30
  '03': '#777777',
@@ -37,11 +36,10 @@ const themeVariables = {
37
36
  '03': '#c0c7d2',
38
37
  },
39
38
  backgroundColor: {
40
- '00': '#ffffff',
41
- '005': '#f1f3f5',
42
- '01': '#ececec',
43
- '02': '#d9d9d9',
44
- '03': '#c0c0c0',
39
+ '01': '#f1f3f5',
40
+ '02': '#ececec',
41
+ '03': '#d9d9d9',
42
+ '04': '#c0c0c0',
45
43
  },
46
44
  } as const;
47
45