dumi-theme-lobehub 2.0.0 → 2.0.1

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/README.md CHANGED
@@ -45,9 +45,6 @@ dumi-theme-lobehub is a documentation site theme package designed for `Dumi 2`.
45
45
 
46
46
  </details>
47
47
 
48
- > \[!WARNING]
49
- > Not Support Dumi >= 2.3 yet
50
-
51
48
  ## ✨ Features
52
49
 
53
50
  - [x] 🤯 **Modern Theme Style:** This theme package adopts modern design techniques such as gradient colors, frosted glass, lighting effects, and natural animations to present the interface in a more concise and visually appealing way, making the documents more intuitive, readable, and user-friendly.
@@ -55,7 +55,7 @@ export declare const siteSelectors: {
55
55
  } | undefined;
56
56
  siteDesc: (s: SiteStore) => string | undefined;
57
57
  siteTitle: (s: SiteStore) => string | undefined;
58
- themeConfig: (s: SiteStore) => import("dumi/dist/client/theme-api/types").IThemeConfig & import("../../types").SiteThemeConfig & Partial<import("../../types").SiteThemeConfig>;
58
+ themeConfig: (s: SiteStore) => Partial<import("../../types").SiteThemeConfig> & import("dumi/dist/client/theme-api/types").IThemeConfig & import("../../types").SiteThemeConfig;
59
59
  tocAnchorItem: (s: SiteStore) => AnchorItem[];
60
60
  token: (s: SiteStore) => any;
61
61
  };
@@ -7,7 +7,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
7
7
  import { merge } from 'lodash-es';
8
8
  import { initialThemeConfig } from "../initialState";
9
9
  var themeConfig = function themeConfig(s) {
10
- return merge(s.siteData.themeConfig, initialThemeConfig);
10
+ return merge(initialThemeConfig, s.siteData.themeConfig);
11
11
  };
12
12
  var siteTitle = function siteTitle(s) {
13
13
  return themeConfig(s).title;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dumi-theme-lobehub",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
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",