dumi-theme-lobehub 3.0.2 → 4.0.0
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.
|
@@ -1,41 +1,46 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { ConfigProvider as LobehubConfigProvider } from '@lobehub/ui';
|
|
3
4
|
import { ConfigProvider } from 'antd';
|
|
4
5
|
import { useTheme } from 'antd-style';
|
|
6
|
+
import * as motion from 'motion/react-m';
|
|
5
7
|
import { memo } from 'react';
|
|
6
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
9
|
var Config = /*#__PURE__*/memo(function (_ref) {
|
|
8
10
|
var children = _ref.children;
|
|
9
11
|
var theme = useTheme();
|
|
10
|
-
return /*#__PURE__*/_jsx(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
12
|
+
return /*#__PURE__*/_jsx(LobehubConfigProvider, {
|
|
13
|
+
motion: motion,
|
|
14
|
+
children: /*#__PURE__*/_jsx(ConfigProvider, {
|
|
15
|
+
theme: {
|
|
16
|
+
components: {
|
|
17
|
+
Button: {
|
|
18
|
+
contentFontSizeSM: 12
|
|
19
|
+
},
|
|
20
|
+
DatePicker: {
|
|
21
|
+
activeBorderColor: theme.colorBorder,
|
|
22
|
+
hoverBorderColor: theme.colorBorder
|
|
23
|
+
},
|
|
24
|
+
Input: {
|
|
25
|
+
activeBorderColor: theme.colorBorder,
|
|
26
|
+
hoverBorderColor: theme.colorBorder
|
|
27
|
+
},
|
|
28
|
+
InputNumber: {
|
|
29
|
+
activeBorderColor: theme.colorBorder,
|
|
30
|
+
hoverBorderColor: theme.colorBorder
|
|
31
|
+
},
|
|
32
|
+
Mentions: {
|
|
33
|
+
activeBorderColor: theme.colorBorder,
|
|
34
|
+
hoverBorderColor: theme.colorBorder
|
|
35
|
+
},
|
|
36
|
+
Select: {
|
|
37
|
+
activeBorderColor: theme.colorBorder,
|
|
38
|
+
hoverBorderColor: theme.colorBorder
|
|
39
|
+
}
|
|
35
40
|
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
},
|
|
42
|
+
children: children
|
|
43
|
+
})
|
|
39
44
|
});
|
|
40
45
|
});
|
|
41
46
|
export default Config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dumi-theme-lobehub",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "dumi-theme-lobehub is a documentation site theme package designed for dumi2. It provides a more beautiful and user-friendly development and reading experience based on @lobehub/ui",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lobehub",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@floating-ui/react": "^0.27.16",
|
|
29
29
|
"@giscus/react": "^3.1.0",
|
|
30
|
-
"@lobehub/ui": "^
|
|
30
|
+
"@lobehub/ui": "^4.1.1",
|
|
31
31
|
"ahooks": "^3.9.6",
|
|
32
32
|
"animated-scroll-to": "^2.3.2",
|
|
33
33
|
"antd-style": "^4.0.0",
|