themekit-js 1.1.21 → 1.1.22

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.
@@ -31,10 +31,10 @@ const styles=computed(()=>{
31
31
 
32
32
  let _styles:string=""
33
33
  if(frontmatter.value["header-background"]!=null){
34
- _styles+="background:"+frontmatter.value["header-background"]+" !important;"
34
+ _styles+="background:"+frontmatter.value["header-background"]
35
35
  }
36
36
  if(frontmatter.value["header-color"]!=null){
37
- _styles+="color:"+frontmatter.value["header-color"]+" !important;"
37
+ _styles+="color:"+frontmatter.value["header-color"]
38
38
  }
39
39
  return _styles
40
40
 
@@ -95,6 +95,7 @@ watchPostEffect(() => {
95
95
  transition: background-color 0.5s;
96
96
  }
97
97
 
98
+ .dark .VPNavBar{ background-color: var(--vp-c-bg) !important;}
98
99
  .VPNavBar:not(.home) {
99
100
  background-color: var(--vp-nav-bg-color);
100
101
  }
package/dist/node/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as getDefaultExportFromCjs, q as c, t as clearCache, n as init, b as build, o as serve, v as version, p as createServer } from './serve-BL40pKQQ.js';
1
+ import { a as getDefaultExportFromCjs, q as c, t as clearCache, n as init, b as build, o as serve, v as version, p as createServer } from './serve-B2ZqpcxS.js';
2
2
  import { createLogger } from 'vite';
3
3
  import 'path';
4
4
  import 'shiki';
@@ -1,7 +1,7 @@
1
1
  import { normalizePath } from 'vite';
2
2
  export { loadEnv } from 'vite';
3
- import { g as glob, c as createMarkdownRenderer, f as fs, m as matter, a as getDefaultExportFromCjs } from './serve-BL40pKQQ.js';
4
- export { S as ScaffoldThemeType, b as build, p as createServer, e as defineConfig, h as defineConfigWithTheme, d as defineLoader, n as init, j as mergeConfig, r as resolveConfig, l as resolvePages, k as resolveSiteData, i as resolveUserConfig, s as scaffold, o as serve } from './serve-BL40pKQQ.js';
3
+ import { g as glob, c as createMarkdownRenderer, f as fs, m as matter, a as getDefaultExportFromCjs } from './serve-B2ZqpcxS.js';
4
+ export { S as ScaffoldThemeType, b as build, p as createServer, e as defineConfig, h as defineConfigWithTheme, d as defineLoader, n as init, j as mergeConfig, r as resolveConfig, l as resolvePages, k as resolveSiteData, i as resolveUserConfig, s as scaffold, o as serve } from './serve-B2ZqpcxS.js';
5
5
  import path from 'path';
6
6
  import 'crypto';
7
7
  import 'module';
@@ -46733,7 +46733,7 @@ function escapeHtml(string) {
46733
46733
 
46734
46734
  var escape$1 = /*@__PURE__*/getDefaultExportFromCjs(escapeHtml_1);
46735
46735
 
46736
- var version = "1.1.21";
46736
+ var version = "1.1.22";
46737
46737
 
46738
46738
  async function renderPage(render, config, page, result, appChunk, cssChunk, assets, pageToHashMap, metadataScript, additionalHeadTags) {
46739
46739
  const routePath = `/${page.replace(/\.md$/, "")}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "themekit-js",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "基于VitePress开发的Markdown静态网站生成器",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@8.15.6",