themekit-js 1.1.13 → 1.1.14
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/dist/client/theme-default/components/blocks/Doc.vue +4 -1
- package/dist/client/theme-default/components/blocks/Features.vue +4 -1
- package/dist/client/theme-default/components/blocks/Hero.vue +3 -0
- package/dist/client/theme-default/styles/components/vp-doc.css +3 -1
- package/dist/node/cli.js +1 -1
- package/dist/node/index.js +2 -2
- package/dist/node/{serve-CFnipkLI.js → serve-x4H7fq36.js} +1 -1
- package/package.json +1 -1
|
@@ -10,10 +10,13 @@ const docStyles= computed(() => {
|
|
|
10
10
|
|
|
11
11
|
let styles:any=[ vw ? { '--vp-offset': "calc(50% - "+vw.value/2+"px)"} : {}];
|
|
12
12
|
if(block['background-color']){
|
|
13
|
-
|
|
13
|
+
styles.push({ 'background-color':block['background-color']})
|
|
14
14
|
}
|
|
15
15
|
if(block['background-image']){
|
|
16
16
|
styles.push({ 'background-image':"url("+block['background-image']+")"})
|
|
17
|
+
}
|
|
18
|
+
if(block['color']){
|
|
19
|
+
styles.push({ 'color':block['color']})
|
|
17
20
|
}
|
|
18
21
|
return styles
|
|
19
22
|
})
|
|
@@ -24,7 +24,10 @@ if(props.block['background-color']){
|
|
|
24
24
|
}
|
|
25
25
|
if(props.block['background-image']){
|
|
26
26
|
styles.push({'background-image':"url("+props.block['background-image']+")"})
|
|
27
|
-
}
|
|
27
|
+
}
|
|
28
|
+
if(props.block['color']){
|
|
29
|
+
styles.push({ 'color':props.block['color']})
|
|
30
|
+
}
|
|
28
31
|
return styles
|
|
29
32
|
})
|
|
30
33
|
|
|
@@ -63,6 +63,9 @@ const styles= computed(() => {
|
|
|
63
63
|
if(props.block['background-image']){
|
|
64
64
|
styles.push({'background-image':"url("+props.block['background-image']+")"})
|
|
65
65
|
}
|
|
66
|
+
if(props.block['color']){
|
|
67
|
+
styles.push({ 'color':props.block['color']})
|
|
68
|
+
}
|
|
66
69
|
return styles
|
|
67
70
|
})
|
|
68
71
|
</script>
|
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-
|
|
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-x4H7fq36.js';
|
|
2
2
|
import { createLogger } from 'vite';
|
|
3
3
|
import 'path';
|
|
4
4
|
import 'shiki';
|
package/dist/node/index.js
CHANGED
|
@@ -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-
|
|
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-
|
|
3
|
+
import { g as glob, c as createMarkdownRenderer, f as fs, m as matter, a as getDefaultExportFromCjs } from './serve-x4H7fq36.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-x4H7fq36.js';
|
|
5
5
|
import path from 'path';
|
|
6
6
|
import 'crypto';
|
|
7
7
|
import 'module';
|
|
@@ -46715,7 +46715,7 @@ function escapeHtml(string) {
|
|
|
46715
46715
|
|
|
46716
46716
|
var escape$1 = /*@__PURE__*/getDefaultExportFromCjs(escapeHtml_1);
|
|
46717
46717
|
|
|
46718
|
-
var version = "1.1.
|
|
46718
|
+
var version = "1.1.14";
|
|
46719
46719
|
|
|
46720
46720
|
async function renderPage(render, config, page, result, appChunk, cssChunk, assets, pageToHashMap, metadataScript, additionalHeadTags) {
|
|
46721
46721
|
const routePath = `/${page.replace(/\.md$/, "")}`;
|