vuepress-theme-plume/assets/intro-B0ewhtg4.js

104 lines
82 KiB
JavaScript

import{$ as e,B as t,P as ee,_ as n,f as te,g as r,h as i,l as a}from"./runtime-core.esm-bundler-CZvn3YaB.js";import{t as ne}from"./plugin-vue_export-helper-CxTVcLa7.js";var o=JSON.parse(`{"path":"/en/config/intro/","title":"Configuration Guide | Config","lang":"en-US","frontmatter":{"title":"Configuration Guide","createTime":"2025/10/09 10:48:14","permalink":"/en/config/intro/","description":"Overview vuepress-theme-plume is a theme developed based on VuePress, and its configuration fully adheres to VuePress's configuration specifications. VuePress provides three con...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Configuration Guide\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2025-10-09T07:46:05.000Z\\",\\"author\\":[]}"],["meta",{"property":"og:url","content":"https://theme-plume.vuejs.press/en/config/intro/"}],["meta",{"property":"og:site_name","content":"Plume Theme"}],["meta",{"property":"og:title","content":"Configuration Guide"}],["meta",{"property":"og:description","content":"Overview vuepress-theme-plume is a theme developed based on VuePress, and its configuration fully adheres to VuePress's configuration specifications. VuePress provides three con..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2025-10-09T07:46:05.000Z"}],["meta",{"property":"article:modified_time","content":"2025-10-09T07:46:05.000Z"}],["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://theme-plume.vuejs.press/config/intro/"}]]},"readingTime":{"minutes":2.24,"words":673},"git":{"createdTime":1709915848000,"updatedTime":1759995965000,"contributors":[{"name":"pengzhanbo","username":"pengzhanbo","email":"volodymyr@foxmail.com","commits":4,"avatar":"https://avatars.githubusercontent.com/pengzhanbo?v=4","url":"https://github.com/pengzhanbo"}],"changelog":[{"hash":"385059f214cb07fc9a098859e889432fb81f998b","time":1759995965000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: update en docs (#708)"},{"hash":"4d2361a7046214fe0f4e4af01831107fd00e38ad","time":1759849989000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(theme)!: add collections support (#704)"},{"hash":"0fd6cac57412002f4d72dc10378789b529adc357","time":1742063370000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"refactor(theme): improve types and flat config (#524)"},{"hash":"c56bae8d58941db05a5cb1faad45be2178331db3","time":1709915848000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat: 全新的文档!"}]},"autoDesc":true,"filePathRelative":"en/config/intro.md","headers":[],"bulletin":false}`),re={name:`intro.md`},ie={class:`code-block-title`,"data-title":`.vuepress/config.ts`},s={class:`code-block-title-bar`},c={class:`title`},l={class:`language-ts`,"data-highlighter":`shiki`,"data-ext":`ts`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},u={class:`shiki shiki-themes vitesse-light vitesse-dark has-diff has-highlighted vp-code twoslash lsp`},d={class:`language-ts`},f={class:`line`},p={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},m={class:`line`},h={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},g={class:`line`},_={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},v={class:`line`},y={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},b={class:`line highlighted`},x={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},S={class:`line highlighted`},C={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},w={class:`line highlighted`},T={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},E={class:`line`},D={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},O={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},k={class:`line diff add`},A={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},j={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},M={class:`code-block-title`,"data-title":`.vuepress/config.ts`},N={class:`code-block-title-bar`},P={class:`title`},F={class:`language-ts`,"data-highlighter":`shiki`,"data-ext":`ts`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},I={class:`shiki shiki-themes vitesse-light vitesse-dark vp-code twoslash lsp`},L={class:`language-ts`},R={class:`line`},z={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},B={class:`line`},V={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},H={class:`line`},U={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},W={class:`line`},G={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},K={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},q={class:`vp-file-tree`},J={class:`code-block-title`,"data-title":`plume.config.ts`},Y={class:`code-block-title-bar`},ae={class:`title`},oe={class:`language-ts`,"data-highlighter":`shiki`,"data-ext":`ts`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},se={class:`shiki shiki-themes vitesse-light vitesse-dark vp-code twoslash lsp`},ce={class:`language-ts`},le={class:`line`},ue={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},de={class:`line`},fe={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},pe={class:`line`},me={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},he={class:`line`},ge={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},_e={class:`line`},ve={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},ye={class:`line`},be={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},xe={class:`code-block-title`,"data-title":`.vuepress/config.ts`},Se={class:`code-block-title-bar`},Ce={class:`title`},we={class:`language-ts`,"data-highlighter":`shiki`,"data-ext":`ts`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},Te={class:`shiki shiki-themes vitesse-light vitesse-dark has-diff vp-code twoslash lsp`},Ee={class:`language-ts`},De={class:`line`},Oe={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},ke={class:`line`},Ae={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},je={class:`line`},Me={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Ne={class:`line`},Pe={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},Fe={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},Ie={class:`line diff add`},Le={style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},Re={style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},ze={style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},Be={class:`code-block-title`,"data-title":`article.md`},Ve={class:`code-block-title-bar`},He={class:`title`},Ue={class:`hint-container tip`},We={class:`hint-container-title`};function X(ne,o,re,X,Ge,Ke){let qe=t(`Badge`),Z=t(`VPIcon`),Q=t(`v-menu`),Je=t(`VPCopyButton`),$=t(`FileTreeNode`),Ye=t(`VPLink`);return ee(),te(`div`,null,[o[214]||=i(`<h2 id="overview" tabindex="-1"><a class="header-anchor" href="#overview"><span>Overview</span></a></h2><p><mark>vuepress-theme-plume</mark> is a theme developed based on <a href="https://v2.vuepress.vuejs.org/" target="_blank" rel="noopener noreferrer">VuePress</a>, and its configuration fully adheres to VuePress&#39;s configuration specifications.</p><p><strong>VuePress provides three configuration types:</strong></p><ul><li><strong>Site Configuration</strong>: The object directly exported from the configuration file (e.g., <code>.vuepress/config.ts</code>)</li><li><strong>Theme Configuration</strong>: The parameter object passed to the <code>plumeTheme()</code> function</li><li><strong>Page Configuration</strong>: Defined in the page Frontmatter using YAML syntax</li></ul><h2 id="vuepress-configuration-file" tabindex="-1"><a class="header-anchor" href="#vuepress-configuration-file"><span>VuePress Configuration File</span></a></h2><p>The base configuration file for VuePress is typically <code>.vuepress/config.js</code>, while TypeScript configuration files are also supported. Using <code>.vuepress/config.ts</code> provides more comprehensive type hints.</p><p>VuePress resolves configuration files in the following priority order:</p><p><strong>In the current working directory (cwd):</strong></p><ul><li><code>vuepress.config.ts</code></li><li><code>vuepress.config.js</code></li><li><code>vuepress.config.mjs</code></li></ul><p><strong>In the source directory (sourceDir):</strong></p>`,10),a(`ul`,null,[a(`li`,null,[o[0]||=a(`code`,null,`.vuepress/config.ts`,-1),o[1]||=r(),n(qe,{type:`tip`,text:`Recommended`})]),o[2]||=a(`li`,null,[a(`code`,null,`.vuepress/config.js`)],-1),o[3]||=a(`li`,null,[a(`code`,null,`.vuepress/config.mjs`)],-1)]),o[215]||=a(`p`,null,[a(`strong`,null,`Basic Configuration Example:`)],-1),a(`div`,ie,[a(`div`,s,[a(`span`,c,[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-typescript`}),o[4]||=r(`.vuepress/config.ts`,-1)])]),a(`div`,l,[a(`pre`,u,[a(`code`,d,[a(`span`,f,[o[7]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),o[8]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),o[9]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,p,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[5]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`viteBundler`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: (`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`options`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ViteBundlerOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`) => `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`Bundler`)])],-1)]]),default:e(()=>[o[6]||=a(`span`,null,`viteBundler`,-1)]),_:1})]),o[10]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">@vuepress/bundler-vite</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),o[55]||=r(`
`,-1),a(`span`,m,[o[13]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),o[14]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),o[15]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,h,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[11]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: (`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`config`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`) => `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`)])],-1)]]),default:e(()=>[o[12]||=a(`span`,null,`defineUserConfig`,-1)]),_:1})]),o[16]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),o[56]||=r(`
`,-1),a(`span`,g,[o[19]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),o[20]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),o[21]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,_,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[17]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`options`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Theme`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`VuePress Theme Plume`),r(`
`),a(`p`,null,`VuePress 主题 Plume`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`code`,null,`options`),r(` Theme options / 主题配置`)])]),a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@example`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`div`,{class:`language-ts`,"data-ext":`ts`,"data-title":`ts`,"data-highlighter":`shiki`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},[a(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`},[a(`code`,null,[a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress-theme-plume`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
`),a(`span`,{class:`line`}),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` theme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // ...options`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` })`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)])])])])])])])],-1)]]),default:e(()=>[o[18]||=a(`span`,null,`plumeTheme`,-1)]),_:1})]),o[22]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress-theme-plume</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),o[57]||=r(`
`,-1),o[58]||=a(`span`,{class:`line`},null,-1),o[59]||=r(`
`,-1),a(`span`,v,[o[25]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`,-1),o[26]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`,-1),o[27]||=a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),a(`span`,y,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[23]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`config`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UserConfig`)])],-1)]]),default:e(()=>[o[24]||=a(`span`,null,`defineUserConfig`,-1)]),_:1})]),o[28]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`,-1)]),o[60]||=r(`
`,-1),o[61]||=a(`span`,{class:`line highlighted`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // VuePress Base Configuration`)],-1),o[62]||=r(`
`,-1),a(`span`,b,[o[31]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,x,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[29]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`lang`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Language for the site`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@default`),a(`span`,{class:`twoslash-popup-docs-tag-value`},`'en-US'`)])])],-1)]]),default:e(()=>[o[30]||=a(`span`,null,`lang`,-1)]),_:1})]),o[32]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">zh-CN</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),o[63]||=r(`
`,-1),a(`span`,S,[o[35]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,C,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[33]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`title`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Title for the site`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@default`),a(`span`,{class:`twoslash-popup-docs-tag-value`},`''`)])])],-1)]]),default:e(()=>[o[34]||=a(`span`,null,`title`,-1)]),_:1})]),o[36]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">Hello, VuePress!</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),o[64]||=r(`
`,-1),a(`span`,w,[o[39]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,T,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[37]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`description`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Description for the site`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@default`),a(`span`,{class:`twoslash-popup-docs-tag-value`},`''`)])])],-1)]]),default:e(()=>[o[38]||=a(`span`,null,`description`,-1)]),_:1})]),o[40]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">This is my first VuePress site</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),o[65]||=i(`
<span class="line highlighted"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // ...</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // Use Vite as the bundler</span></span>
`,7),a(`span`,E,[o[45]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,D,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[41]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`bundler`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` Bundler`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Vuepress bundler`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@required`)])])],-1)]]),default:e(()=>[o[42]||=a(`span`,null,`bundler`,-1)]),_:1})]),o[46]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),a(`span`,O,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[43]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` viteBundler`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`options`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ViteBundlerOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Bundler`)])],-1)]]),default:e(()=>[o[44]||=a(`span`,null,`viteBundler`,-1)]),_:1})]),o[47]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(),`,-1)]),o[66]||=r(`
`,-1),o[67]||=a(`span`,{class:`line`},null,-1),o[68]||=r(`
`,-1),o[69]||=a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // Enable the Plume theme`)],-1),o[70]||=r(`
`,-1),a(`span`,k,[o[52]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,A,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[48]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`theme`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` Theme`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Vuepress theme`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@required`)])])],-1)]]),default:e(()=>[o[49]||=a(`span`,null,`theme`,-1)]),_:1})]),o[53]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),a(`span`,j,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[50]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`options`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Theme`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`VuePress Theme Plume`),r(`
`),a(`p`,null,`VuePress 主题 Plume`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`code`,null,`options`),r(` Theme options / 主题配置`)])]),a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@example`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`div`,{class:`language-ts`,"data-ext":`ts`,"data-title":`ts`,"data-highlighter":`shiki`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},[a(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`},[a(`code`,null,[a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress-theme-plume`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
`),a(`span`,{class:`line`}),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` theme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // ...options`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` })`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)])])])])])])])],-1)]]),default:e(()=>[o[51]||=a(`span`,null,`plumeTheme`,-1)]),_:1})]),o[54]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({ `,-1)]),o[71]||=i(`
<span class="line diff add"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // Theme configuration options</span></span>
<span class="line diff add"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // ...</span></span>
<span class="line diff add"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> }),</span></span>
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">})</span></span>`,8)])])])]),o[216]||=a(`h2`,{id:`theme-configuration-file`,tabindex:`-1`},[a(`a`,{class:`header-anchor`,href:`#theme-configuration-file`},[a(`span`,null,`Theme Configuration File`)])],-1),o[217]||=a(`p`,null,[r(`Typically, we configure the theme in `),a(`code`,null,`.vuepress/config.ts`),r(`:`)],-1),a(`div`,M,[a(`div`,N,[a(`span`,P,[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-typescript`}),o[72]||=r(`.vuepress/config.ts`,-1)])]),a(`div`,F,[a(`pre`,I,[a(`code`,L,[a(`span`,R,[o[75]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),o[76]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),o[77]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,z,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[73]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: (`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`config`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`) => `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`)])],-1)]]),default:e(()=>[o[74]||=a(`span`,null,`defineUserConfig`,-1)]),_:1})]),o[78]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),o[98]||=r(`
`,-1),a(`span`,B,[o[81]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),o[82]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),o[83]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,V,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[79]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`options`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Theme`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`VuePress Theme Plume`),r(`
`),a(`p`,null,`VuePress 主题 Plume`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`code`,null,`options`),r(` Theme options / 主题配置`)])]),a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@example`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`div`,{class:`language-ts`,"data-ext":`ts`,"data-title":`ts`,"data-highlighter":`shiki`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},[a(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`},[a(`code`,null,[a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress-theme-plume`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
`),a(`span`,{class:`line`}),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` theme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // ...options`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` })`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)])])])])])])])],-1)]]),default:e(()=>[o[80]||=a(`span`,null,`plumeTheme`,-1)]),_:1})]),o[84]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress-theme-plume</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),o[99]||=r(`
`,-1),o[100]||=a(`span`,{class:`line`},null,-1),o[101]||=r(`
`,-1),a(`span`,H,[o[87]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`,-1),o[88]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`,-1),o[89]||=a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),a(`span`,U,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[85]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`config`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UserConfig`)])],-1)]]),default:e(()=>[o[86]||=a(`span`,null,`defineUserConfig`,-1)]),_:1})]),o[90]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`,-1)]),o[102]||=r(`
`,-1),a(`span`,W,[o[95]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,G,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[91]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`theme`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` Theme`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Vuepress theme`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@required`)])])],-1)]]),default:e(()=>[o[92]||=a(`span`,null,`theme`,-1)]),_:1})]),o[96]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),a(`span`,K,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[93]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`options`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Theme`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`VuePress Theme Plume`),r(`
`),a(`p`,null,`VuePress 主题 Plume`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`code`,null,`options`),r(` Theme options / 主题配置`)])]),a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@example`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`div`,{class:`language-ts`,"data-ext":`ts`,"data-title":`ts`,"data-highlighter":`shiki`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},[a(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`},[a(`code`,null,[a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress-theme-plume`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
`),a(`span`,{class:`line`}),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` theme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // ...options`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` })`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)])])])])])])])],-1)]]),default:e(()=>[o[94]||=a(`span`,null,`plumeTheme`,-1)]),_:1})]),o[97]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`,-1)]),o[103]||=i(`
<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // Theme configuration</span></span>
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;"> }),</span></span>
<span class="line"><span style="--shiki-light:#A0ADA0;--shiki-dark:#758575DD;"> // ...</span></span>
<span class="line"><span style="--shiki-light:#999999;--shiki-dark:#666666;">})</span></span>`,8)])])])]),o[218]||=a(`p`,null,`However, modifying this file causes the VuePress service to restart and perform a full refresh. For small sites, this process is quick; but for sites with substantial content, each restart requires considerable time.`,-1),a(`p`,null,[o[104]||=r(`Frequent configuration file modifications can also easily lead to VuePress `,-1),o[105]||=a(`mark`,{class:`caution`},`service crashes`,-1),n(Z,{provider:`iconify`,name:`twemoji:angry-face`}),o[106]||=r(`, requiring manual service restarts and severely impacting content writing efficiency.`,-1)]),o[219]||=a(`p`,null,[a(`strong`,null,`Solution: Theme Hot-Reload Configuration:`)],-1),a(`p`,null,[o[107]||=r(`The theme provides a `,-1),o[108]||=a(`code`,null,`plume.config.ts`,-1),o[109]||=r(` configuration file. `,-1),o[110]||=a(`mark`,{class:`tip`},`Modifications to this file support hot-reload and do not require restarting the service`,-1),o[111]||=r(),n(Z,{provider:`iconify`,name:`twemoji:confetti-ball`}),o[112]||=r(`.`,-1)]),o[220]||=i(`<p>You can configure hot-reload supported fields within it, such as <code>navbar</code>, <code>profile</code>, etc.</p><div class="hint-container tip"><p class="hint-container-title">Tips</p><p>These fields can still be configured within the <code>theme</code> section of the VuePress configuration file, but the settings from the theme configuration file will ultimately be merged into the main configuration.</p><p>To avoid data duplication, please do not configure the same field in both locations.</p></div><details class="hint-container details"><summary>What is Hot-Reload?</summary><p><strong>Hot-Reload</strong> is a development technique that, in the context of VuePress, manifests as:</p><ul><li>Configuration changes take effect immediately without restarting the service; the browser does not refresh the page</li><li>Page modifications take effect immediately; the browser updates content without a full refresh</li></ul></details><h3 id="configuration-method" tabindex="-1"><a class="header-anchor" href="#configuration-method"><span>Configuration Method</span></a></h3><p>Create the <code>plume.config.ts</code> file in the same directory as the VuePress configuration file:</p>`,5),a(`div`,q,[n(Je,{text:`eJzT43o0ZcqjKQ1ApJCSn1zMpQAECCG9stLUgqLUYog4RG4OVC45Py8tM12vBFkOpq8gpzQ3VQ+uAgCrwyny`,encode:``,"aria-label":`Copy`,"data-copied":`Copied`}),n($,{expanded:``,type:`folder`,filename:`docs`,level:0},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:folder-type-docs`})]),default:e(()=>[n($,{expanded:``,type:`folder`,filename:`.vuepress`,level:1},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:default-folder`})]),default:e(()=>[n($,{type:`file`,filename:`config.ts`,level:2},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-typescript`})]),_:1}),n($,{focus:``,type:`file`,filename:`plume.config.ts`,level:2},{icon:e(()=>[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-typescript`})]),_:1})]),_:1})]),_:1})]),a(`div`,J,[a(`div`,Y,[a(`span`,ae,[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-typescript`}),o[113]||=r(`plume.config.ts`,-1)])]),a(`div`,oe,[a(`pre`,se,[a(`code`,ce,[a(`span`,le,[o[116]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),o[117]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),o[118]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,ue,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[114]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineThemeConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`config`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` ThemeConfig`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,[r(`Theme configuration helper function, used in separate `),a(`code`,null,`plume.config.ts`)]),r(`
`),a(`p`,null,[r(`主题配置,在单独的 `),a(`code`,null,`plume.config.ts`),r(` 中使用的类型帮助函数`)])])],-1)]]),default:e(()=>[o[115]||=a(`span`,null,`defineThemeConfig`,-1)]),_:1})]),o[119]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress-theme-plume</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),o[146]||=r(`
`,-1),a(`span`,de,[o[122]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),o[123]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,fe,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[120]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` navbar`)])],-1)]]),default:e(()=>[o[121]||=a(`span`,null,`navbar`,-1)]),_:1})]),o[124]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`,-1),o[125]||=a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`,-1),o[126]||=a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`./navbar`,-1),o[127]||=a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`,-1)]),o[147]||=r(`
`,-1),o[148]||=a(`span`,{class:`line`},null,-1),o[149]||=r(`
`,-1),a(`span`,pe,[o[130]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`,-1),o[131]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`,-1),o[132]||=a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),a(`span`,me,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[128]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineThemeConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`config`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` ThemeConfig`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,[r(`Theme configuration helper function, used in separate `),a(`code`,null,`plume.config.ts`)]),r(`
`),a(`p`,null,[r(`主题配置,在单独的 `),a(`code`,null,`plume.config.ts`),r(` 中使用的类型帮助函数`)])])],-1)]]),default:e(()=>[o[129]||=a(`span`,null,`defineThemeConfig`,-1)]),_:1})]),o[133]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`,-1)]),o[150]||=r(`
`,-1),o[151]||=a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // Theme configuration`)],-1),o[152]||=r(`
`,-1),a(`span`,he,[o[136]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,ge,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[134]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeLocale`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`profile`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ProfileOptions`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`配置博主拥有者 个人资料`),r(`
`),a(`p`,null,`显示在博客右侧侧边栏`)])],-1)]]),default:e(()=>[o[135]||=a(`span`,null,`profile`,-1)]),_:1})]),o[137]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: {`,-1)]),o[153]||=r(`
`,-1),a(`span`,_e,[o[140]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,ve,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[138]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ProfileOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`name`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`名称`)])],-1)]]),default:e(()=>[o[139]||=a(`span`,null,`name`,-1)]),_:1})]),o[141]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">: </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">Your name</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">,</span>`,5)]),o[154]||=r(`
`,-1),o[155]||=a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` },`)],-1),o[156]||=r(`
`,-1),a(`span`,ye,[o[144]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,be,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[142]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeLocale`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`navbar`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` false`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` ThemeNavItem`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`[]`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`导航栏配置`),r(`
`),a(`p`,null,[r(`设置为 `),a(`code`,null,`false`),r(` 将会禁用导航栏`)])])],-1)]]),default:e(()=>[o[143]||=a(`span`,null,`navbar`,-1)]),_:1})]),o[145]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`,`,-1)]),o[157]||=r(`
`,-1),o[158]||=a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)],-1)])])])]),o[221]||=i(`<p>The <code>defineThemeConfig(config)</code> function provides full type hints. Except for <code>plugins</code>, most configurations can be defined in this file.</p><div class="hint-container warning"><p class="hint-container-title">Notes</p><ul><li>The theme configuration file only supports hot-reload for specific fields.</li><li>Avoid reconfiguring fields in the VuePress configuration file that have already been set in the theme configuration file.</li></ul></div><h3 id="custom-configuration-file-path" tabindex="-1"><a class="header-anchor" href="#custom-configuration-file-path"><span>Custom Configuration File Path</span></a></h3><p>If a non-default path is required, it can be specified in the VuePress configuration:</p>`,4),a(`div`,xe,[a(`div`,Se,[a(`span`,Ce,[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-typescript`}),o[159]||=r(`.vuepress/config.ts`,-1)])]),a(`div`,we,[a(`pre`,Te,[a(`code`,Ee,[o[197]||=i(`<span class="line"><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;">import</span><span style="--shiki-light:#B07D48;--shiki-dark:#BD976A;"> </span><span style="--shiki-light:#B07D48;--shiki-dark:#BD976A;">path</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">node:path</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span></span>
`,2),a(`span`,De,[o[162]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),o[163]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),o[164]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,Oe,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[160]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`const `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: (`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`config`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`) => `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`)])],-1)]]),default:e(()=>[o[161]||=a(`span`,null,`defineUserConfig`,-1)]),_:1})]),o[165]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),o[198]||=r(`
`,-1),a(`span`,ke,[o[168]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`,-1),o[169]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`,-1),o[170]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` `,-1),a(`span`,Ae,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[166]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`options`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Theme`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`VuePress Theme Plume`),r(`
`),a(`p`,null,`VuePress 主题 Plume`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`code`,null,`options`),r(` Theme options / 主题配置`)])]),a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@example`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`div`,{class:`language-ts`,"data-ext":`ts`,"data-title":`ts`,"data-highlighter":`shiki`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},[a(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`},[a(`code`,null,[a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress-theme-plume`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
`),a(`span`,{class:`line`}),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` theme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // ...options`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` })`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)])])])])])])])],-1)]]),default:e(()=>[o[167]||=a(`span`,null,`plumeTheme`,-1)]),_:1})]),o[171]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;"> }</span><span style="--shiki-light:#1E754F;--shiki-dark:#4D9375;"> from</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;"> &#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">vuepress-theme-plume</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span>`,5)]),o[199]||=r(`
`,-1),o[200]||=a(`span`,{class:`line`},null,-1),o[201]||=r(`
`,-1),a(`span`,je,[o[174]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`,-1),o[175]||=a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`,-1),o[176]||=a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` `,-1),a(`span`,Me,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[172]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`config`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`UserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` UserConfig`)])],-1)]]),default:e(()=>[o[173]||=a(`span`,null,`defineUserConfig`,-1)]),_:1})]),o[177]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`,-1)]),o[202]||=r(`
`,-1),a(`span`,Ne,[o[182]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,Pe,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[178]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`theme`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` Theme`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Vuepress theme`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@required`)])])],-1)]]),default:e(()=>[o[179]||=a(`span`,null,`theme`,-1)]),_:1})]),o[183]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),a(`span`,Fe,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[180]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`options`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`ThemeOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` Theme`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`VuePress Theme Plume`),r(`
`),a(`p`,null,`VuePress 主题 Plume`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`code`,null,`options`),r(` Theme options / 主题配置`)])]),a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@example`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`div`,{class:`language-ts`,"data-ext":`ts`,"data-title":`ts`,"data-highlighter":`shiki`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`}},[a(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"--shiki-light":`#393a34`,"--shiki-dark":`#dbd7caee`,"--shiki-light-bg":`#ffffff`,"--shiki-dark-bg":`#121212`},tabindex:`0`},[a(`code`,null,[a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` {`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),a(`span`,{style:{"--shiki-light":`#B56959`,"--shiki-dark":`#C98A7D`}},`vuepress-theme-plume`),a(`span`,{style:{"--shiki-light":`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),r(`
`),a(`span`,{class:`line`}),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},`export`),a(`span`,{style:{"--shiki-light":`#1E754F`,"--shiki-dark":`#4D9375`}},` default`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` defineUserConfig`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` theme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`plumeTheme`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // ...options`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` })`)]),r(`
`),a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)])])])])])])])],-1)]]),default:e(()=>[o[181]||=a(`span`,null,`plumeTheme`,-1)]),_:1})]),o[184]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`({`,-1)]),o[203]||=r(`
`,-1),o[204]||=a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // Custom configuration file path`)],-1),o[205]||=r(`
`,-1),a(`span`,Ie,[o[191]||=a(`span`,{style:{"--shiki-light":`#998418`,"--shiki-dark":`#B8A965`}},` `,-1),a(`span`,Le,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[185]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`ThemeFeatureOptions`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`configFile`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`?:`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},` string`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` |`),a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},` undefined`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Custom theme configuration file path
自定义主题配置文件路径`)])],-1)]]),default:e(()=>[o[186]||=a(`span`,null,`configFile`,-1)]),_:1})]),o[192]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `,-1),o[193]||=a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`path`,-1),o[194]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`.`,-1),a(`span`,Re,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[187]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`function`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},` path`),a(`span`,{style:{"--shiki-light":`#393A34`,"--shiki-dark":`#DBD7CAEE`}},`.`),a(`span`,{style:{"--shiki-light":`#59873A`,"--shiki-dark":`#80A665`}},`join`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(...`),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`paths`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`string`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`[]):`),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},` string`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,`Join all arguments together and normalize the resulting path.`)]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@param`),a(`span`,{class:`twoslash-popup-docs-tag-value`},[a(`code`,null,`paths`),r(` paths to join.`)])]),a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@throws`),a(`span`,{class:`twoslash-popup-docs-tag-value`},`{TypeError} if any of the path segments is not a string.`)])])],-1)]]),default:e(()=>[o[188]||=a(`span`,null,`join`,-1)]),_:1})]),o[195]||=a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`(`,-1),a(`span`,ze,[n(Q,{class:`twoslash-hover`,"popper-class":`shiki twoslash-floating vp-copy-ignore vp-code`,theme:`twoslash`},{popper:e(({})=>[...o[189]||=[a(`span`,{class:`twoslash-popup-container vp-copy-ignore`},[a(`code`,{class:`twoslash-popup-code`},[a(`span`,{style:{"--shiki-light":`#AB5959`,"--shiki-dark":`#CB7676`}},`var `),a(`span`,{style:{"--shiki-light":`#B07D48`,"--shiki-dark":`#BD976A`}},`__dirname`),a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`: `),a(`span`,{style:{"--shiki-light":`#2E8F82`,"--shiki-dark":`#5DA994`}},`string`)]),a(`div`,{class:`twoslash-popup-docs vp-doc`,"vp-content":``},[a(`p`,null,[r(`The directory name of the current module. This is the same as the
`),a(`code`,null,`path.dirname()`),r(` of the `),a(`code`,null,`__filename`),r(`.`)])]),a(`div`,{class:`twoslash-popup-docs twoslash-popup-docs-tags vp-doc`,"vp-content":``},[a(`span`,{class:`twoslash-popup-docs-tag`},[a(`span`,{class:`twoslash-popup-docs-tag-name`},`@since`),a(`span`,{class:`twoslash-popup-docs-tag-value`},`v0.1.27`)])])],-1)]]),default:e(()=>[o[190]||=a(`span`,null,`__dirname`,-1)]),_:1})]),o[196]||=i(`<span style="--shiki-light:#999999;--shiki-dark:#666666;">, </span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;">custom/config.ts</span><span style="--shiki-light:#B5695977;--shiki-dark:#C98A7D77;">&#39;</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">), </span>`,5)]),o[206]||=r(`
`,-1),o[207]||=a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},` }),`)],-1),o[208]||=r(`
`,-1),o[209]||=a(`span`,{class:`line`},[a(`span`,{style:{"--shiki-light":`#999999`,"--shiki-dark":`#666666`}},`})`)],-1)])])])]),o[222]||=a(`div`,{class:`hint-container warning`},[a(`p`,{class:`hint-container-title`},`Not recommended for beginners; custom paths might cause unexpected issues.`)],-1),o[223]||=a(`h2`,{id:`page-configuration`,tabindex:`-1`},[a(`a`,{class:`header-anchor`,href:`#page-configuration`},[a(`span`,null,`Page Configuration`)])],-1),o[224]||=a(`p`,null,`Using the YAML Frontmatter at the top of the page, the theme can be configured individually for each page:`,-1),a(`div`,Be,[a(`div`,Ve,[a(`span`,He,[n(Z,{provider:`iconify`,name:`vscode-icons:file-type-markdown`}),o[210]||=r(`article.md`,-1)])]),o[211]||=i(`<div class="language-md" data-highlighter="shiki" data-ext="md" style="--shiki-light:#393a34;--shiki-dark:#dbd7caee;--shiki-light-bg:#ffffff;--shiki-dark-bg:#121212;"><pre class="shiki shiki-themes vitesse-light vitesse-dark vp-code"><code class="language-md"><span class="line highlighted"><span style="--shiki-light:#999999;--shiki-dark:#666666;">---</span></span>
<span class="line"><span style="--shiki-light:#998418;--shiki-dark:#B8A965;">title</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">:</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;"> Article Title</span></span>
<span class="line"><span style="--shiki-light:#998418;--shiki-dark:#B8A965;">createTime</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">:</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;"> 2024/09/08 22:53:34</span></span>
<span class="line"><span style="--shiki-light:#998418;--shiki-dark:#B8A965;">permalink</span><span style="--shiki-light:#999999;--shiki-dark:#666666;">:</span><span style="--shiki-light:#B56959;--shiki-dark:#C98A7D;"> /article/xxx/</span></span>
<span class="line highlighted"><span style="--shiki-light:#999999;--shiki-dark:#666666;">---</span></span></code></pre></div>`,1)]),o[225]||=a(`p`,null,[r(`The section wrapped by the `),a(`code`,null,`---`),r(` delimiters at the top of a Markdown file is the Frontmatter, which uses YAML syntax for configuration.`)],-1),a(`div`,Ue,[a(`p`,We,[o[213]||=r(`For an introduction to basic YAML syntax, please refer to `,-1),n(Ye,{href:`/article/ecxnxxd0/`},{default:e(()=>[...o[212]||=[r(`this blog post`,-1)]]),_:1})])])])}var Ge=ne(re,[[`render`,X]]);export{o as _pageData,Ge as default};