{"version":3,"sources":["webpack:///./docs/zh/guide/theme.md"],"names":["makeShortcode","name","MDXDefaultShortcode","props","console","warn","layoutProps","MDXLayout","MDXContent","components","isMDXComponent","hot","module"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;AACA;AACA;AACA;AAEA;;AAGA,IAAMA,aAAa,GAAG,SAAhBA,aAAgB,CAAAC,IAAI;AAAA,SAAI,SAASC,mBAAT,CAA6BC,KAA7B,EAAoC;AAChEC,WAAO,CAACC,IAAR,CAAa,eAAeJ,IAAf,GAAsB,yEAAnC;AACA,WAAO,iEAASE,KAAT,CAAP;AACD,GAHyB;AAAA,CAA1B;;AAKA,IAAMG,WAAW,GAAG,EAApB;AAGA,IAAMC,SAAS,GAAG,SAAlB;AACe,SAASC,UAAT,OAGZ;AAAA,MAFDC,UAEC,QAFDA,UAEC;AAAA,MADEN,KACF;;AACD,SAAO,0DAAC,SAAD,eAAeG,WAAf,EAAgCH,KAAhC;AAAuC,cAAU,EAAEM,UAAnD;AAA+D,WAAO,EAAC;AAAvE,MACL,gEAAQ;AACN,iBAAa,YADP;AAEN,UAAM;AAFA,GAAR,oCAGY;AAAG,cAAU,EAAC;AAAd,KAAuB;AAC/B,YAAQ,gDADuB;AAE/B,mBAAe,IAFgB;AAG/B,iBAAa;AAHkB,GAAvB,OAHZ,CADK,EASL,gEAAQ;AACN,iBAAa,YADP;AAEN,UAAM;AAFA,GAAR,oCAGY;AAAG,cAAU,EAAC;AAAd,KAAuB;AAC/B,YAAQ,gDADuB;AAE/B,mBAAe,IAFgB;AAG/B,iBAAa;AAHkB,GAAvB,OAHZ,CATK,EAiBL,mPAjBK,EAkBL,kLAlBK,EAmBL,iEAAS;AACP,iBAAa,mBADN;AAEP,qBAAiB;AAFV,GAAT,EAGG;AAAK,cAAU,EAAC;AAAhB,KAA0B;AACzB,iBAAa;AADY,GAA1B,GAEE;AAAM,cAAU,EAAC;AAAjB,KAA2B;AAC1B,iBAAa;AADa,GAA3B,i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A3B,qIA3dK,CAAP;AA6dD;AAED;AACAD,UAAU,CAACE,cAAX,GAA4B,IAA5B;AAEAF,UAAU,GAAGG,4DAAG,CAACC,MAAD,CAAH,CAAYJ,UAAZ,CAAb;;;;;;;;;;0BA/eMR,a;0BAKAM,W;0BAGAC,S;0BACkBC,U","file":"zh/guide/theme.md.server-bundle.js","sourcesContent":["\nimport { hot } from 'react-hot-loader'; \nimport '@temp//rhlConfig';\nimport React from 'react';\nimport { mdx } from '@mdx-js/react'; \n\n/* @jsx mdx */\n\n\nconst makeShortcode = name => function MDXDefaultShortcode(props) {\n  console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\")\n  return <div {...props}/>\n};\n\nconst layoutProps = {\n  \n};\nconst MDXLayout = \"wrapper\"\nexport default function MDXContent({\n  components,\n  ...props\n}) {\n  return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n    <h1 {...{\n      \"className\": \"__internal\",\n      \"id\": \"自定义主题\"\n    }}>{`自定义主题`}<a parentName=\"h1\" {...{\n        \"href\": \"#%E8%87%AA%E5%AE%9A%E4%B9%89%E4%B8%BB%E9%A2%98\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h1>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"自定义布局\"\n    }}>{`自定义布局`}<a parentName=\"h2\" {...{\n        \"href\": \"#%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B8%83%E5%B1%80\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <p>{`要开发自定义主题，您需要在 rcpress 目录下创建一个新的主题目录。`}</p>\n    <p>{`您可以通过创建“ Layout.js”来自定义主题。`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"bash\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-bash\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-bash\"\n        }}>{`├── .rcpress\n    ├── theme                 `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# Theme folder for storing custom themes`}</span>{`\n        ├── Layout.js         `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# Customize the entire`}</span></code></pre></div>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"使用依赖项中的主题\"\n    }}>{`使用依赖项中的主题`}<a parentName=\"h2\" {...{\n        \"href\": \"#%E4%BD%BF%E7%94%A8%E4%BE%9D%E8%B5%96%E9%A1%B9%E4%B8%AD%E7%9A%84%E4%B8%BB%E9%A2%98\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"js\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-js\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-js\"\n        }}>{`module`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`.`}</span>{`exports `}<span parentName=\"code\" {...{\n            \"className\": \"token operator\"\n          }}>{`=`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n  theme`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'xxx'`}</span>{`\n`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`;`}</span></code></pre></div>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"获取站点数据和当前页面数据\"\n    }}>{`获取站点数据和当前页面数据`}<a parentName=\"h2\" {...{\n        \"href\": \"#%E8%8E%B7%E5%8F%96%E7%AB%99%E7%82%B9%E6%95%B0%E6%8D%AE%E5%92%8C%E5%BD%93%E5%89%8D%E9%A1%B5%E9%9D%A2%E6%95%B0%E6%8D%AE\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <p>{`页面数据存储在 `}<inlineCode parentName=\"p\">{`SiteContext`}</inlineCode>{` 中。它是从 rcpress 导出的。`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"jsx\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-jsx\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-jsx\"\n        }}><span parentName=\"code\" {...{\n            \"className\": \"token keyword\"\n          }}>{`import`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{` SiteContext `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token keyword\"\n          }}>{`from`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'@rcpress/core'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`;`}</span>{`\n\n`}<span parentName=\"code\" {...{\n            \"className\": \"token tag\"\n          }}><span parentName=\"span\" {...{\n              \"className\": \"token tag\"\n            }}><span parentName=\"span\" {...{\n                \"className\": \"token punctuation\"\n              }}>{`<`}</span><span parentName=\"span\" {...{\n                \"className\": \"token class-name\"\n              }}>{`SiteContext.Provider`}</span></span><span parentName=\"span\" {...{\n              \"className\": \"token punctuation\"\n            }}>{`>`}</span></span><span parentName=\"code\" {...{\n            \"className\": \"token plain-text\"\n          }}>{`\n`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n  `}<span parentName=\"code\" {...{\n            \"className\": \"token parameter\"\n          }}>{`siteContext`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token operator\"\n          }}>{`=>`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n    console`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`.`}</span><span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`log`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`(`}</span>{`siteContext`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`)`}</span>{`\n  `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span>{`\n`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token plain-text\"\n          }}>{`\n`}</span><span parentName=\"code\" {...{\n            \"className\": \"token tag\"\n          }}><span parentName=\"span\" {...{\n              \"className\": \"token tag\"\n            }}><span parentName=\"span\" {...{\n                \"className\": \"token punctuation\"\n              }}>{`</`}</span><span parentName=\"span\" {...{\n                \"className\": \"token class-name\"\n              }}>{`SiteContext.Provier`}</span></span><span parentName=\"span\" {...{\n              \"className\": \"token punctuation\"\n            }}>{`>`}</span></span></code></pre></div>\n    <p>{`也可以通过`}<inlineCode parentName=\"p\">{`react hook`}</inlineCode>{`获取站点数据。`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"js\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-js\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-js\"\n        }}><span parentName=\"code\" {...{\n            \"className\": \"token keyword\"\n          }}>{`import`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{` useSiteContext `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token keyword\"\n          }}>{`from`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'@rcpress/core'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`;`}</span>{`\n\n`}<span parentName=\"code\" {...{\n            \"className\": \"token keyword\"\n          }}>{`const`}</span>{` siteContext `}<span parentName=\"code\" {...{\n            \"className\": \"token operator\"\n          }}>{`=`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`useSiteContext`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`(`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`)`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`;`}</span>{`\nconsole`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`.`}</span><span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`log`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`(`}</span>{`siteContext`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`)`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`;`}</span></code></pre></div>\n    <p><inlineCode parentName=\"p\">{`SiteContext`}</inlineCode>{`是由`}<inlineCode parentName=\"p\">{`React.createContext`}</inlineCode>{` api 创建而成，用法可以参照一下 react 的`}<a parentName=\"p\" {...{\n        \"href\": \"https://reactjs.org/docs/context.html#reactcreatecontext\",\n        \"target\": \"_blank\"\n      }}>{`文档`}</a>{`。`}</p>\n    <p><inlineCode parentName=\"p\">{`SiteContext`}</inlineCode>{`的值为一个`}<inlineCode parentName=\"p\">{`Object`}</inlineCode>{`，其中包含 6 个属性：`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"js\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-js\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-js\"\n        }}><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n  siteData`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n  path`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`''`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n  currentLocaleSiteData`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n  currentPageSidebarItems`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n  allPagesSidebarItems`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n  currentPageInfo`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span></code></pre></div>\n    <p>{`以下逐项进行讲解：`}</p>\n    <h3 {...{\n      \"className\": \"__internal\",\n      \"id\": \"sitedata\"\n    }}>{`siteData`}<a parentName=\"h3\" {...{\n        \"href\": \"#sitedata\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h3>\n    <ul>\n      <li parentName=\"ul\" {...{\n        \"className\": \"__internal\"\n      }}>{`类型: `}<inlineCode parentName=\"li\">{`Object`}</inlineCode></li>\n    </ul>\n    <p>{`也就是你`}<inlineCode parentName=\"p\">{`.rcpress/config.js`}</inlineCode>{`文件里的所有内容。`}</p>\n    <h3 {...{\n      \"className\": \"__internal\",\n      \"id\": \"path\"\n    }}>{`path`}<a parentName=\"h3\" {...{\n        \"href\": \"#path\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h3>\n    <ul>\n      <li parentName=\"ul\" {...{\n        \"className\": \"__internal\"\n      }}>{`类型: `}<inlineCode parentName=\"li\">{`String`}</inlineCode></li>\n    </ul>\n    <p>{`网站当前页面路径`}</p>\n    <h3 {...{\n      \"className\": \"__internal\",\n      \"id\": \"currentlocalesitedata\"\n    }}>{`currentLocaleSiteData`}<a parentName=\"h3\" {...{\n        \"href\": \"#currentlocalesitedata\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h3>\n    <ul>\n      <li parentName=\"ul\" {...{\n        \"className\": \"__internal\"\n      }}>{`类型: `}<inlineCode parentName=\"li\">{`Object`}</inlineCode></li>\n    </ul>\n    <p>{`当前语言下的网站配置，如果没有设置多语言的话那么和`}<inlineCode parentName=\"p\">{`siteData`}</inlineCode>{`一样`}</p>\n    <h3 {...{\n      \"className\": \"__internal\",\n      \"id\": \"currentpagesidebaritems\"\n    }}>{`currentPageSidebarItems`}<a parentName=\"h3\" {...{\n        \"href\": \"#currentpagesidebaritems\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h3>\n    <ul>\n      <li parentName=\"ul\" {...{\n        \"className\": \"__internal\"\n      }}>{`类型: `}<inlineCode parentName=\"li\">{`Object`}</inlineCode></li>\n    </ul>\n    <p>{`当前页面(除了首页)的左侧菜单栏。`}</p>\n    <h3 {...{\n      \"className\": \"__internal\",\n      \"id\": \"allpagessidebaritems\"\n    }}>{`allPagesSidebarItems`}<a parentName=\"h3\" {...{\n        \"href\": \"#allpagessidebaritems\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h3>\n    <ul>\n      <li parentName=\"ul\" {...{\n        \"className\": \"__internal\"\n      }}>{`类型: `}<inlineCode parentName=\"li\">{`Object`}</inlineCode></li>\n    </ul>\n    <p>{`所有页面(除了首页)的左侧菜单栏。`}</p>\n    <h3 {...{\n      \"className\": \"__internal\",\n      \"id\": \"currentpageinfo\"\n    }}>{`currentPageInfo`}<a parentName=\"h3\" {...{\n        \"href\": \"#currentpageinfo\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h3>\n    <ul>\n      <li parentName=\"ul\" {...{\n        \"className\": \"__internal\"\n      }}>{`类型: `}<inlineCode parentName=\"li\">{`Object`}</inlineCode></li>\n    </ul>\n    <p>{`当前页面数据,值为：`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"js\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-js\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-js\"\n        }}><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n  code`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n    body`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`''`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`// 当前页面内容代码。只能用mdx插件的\\`MDXRenderer\\`函数进行渲染。`}</span>{`\n  `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n  fields`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n    avatarList`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`[`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`]`}</span>{`， `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`// 为当前页面贡献过的用户信息列表`}</span>{`\n    modifiedTime`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'1564579847121'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`// 当前页面修改时间戳`}</span>{`\n    path`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'packages/docs/docs/zh/guide/theme.md'`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`// 从当前页面文件到项目根目录的相对路径`}</span>{`\n  `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span>{`，\n  tableOfContents`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n      items`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`[`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`]`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`// 当前页目录`}</span>{`\n  `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n  headings`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`[`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`depth`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span><span parentName=\"code\" {...{\n            \"className\": \"token number\"\n          }}>{`1`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`value`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span><span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'自定义主题'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`]`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`// 当前页标题`}</span>{`\n`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span></code></pre></div>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"修改默认主题\"\n    }}>{`修改默认主题`}<a parentName=\"h2\" {...{\n        \"href\": \"#%E4%BF%AE%E6%94%B9%E9%BB%98%E8%AE%A4%E4%B8%BB%E9%A2%98\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <p>{`在项目根目录下运行下列命令:`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"bash\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-bash\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-bash\"\n        }}>{`rcpress `}<span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`eject`}</span></code></pre></div>\n    <p>{`即可把所有默认主题拷贝到当前工作目录下的`}<inlineCode parentName=\"p\">{`.rcpress/theme`}</inlineCode>{`文件夹下， 然后你就=可以修改整个默认主题了。`}</p>\n    </MDXLayout>;\n}\n\n;\nMDXContent.isMDXComponent = true;\n\nMDXContent = hot(module)(MDXContent);\n"],"sourceRoot":""}