diff --git a/docs/.vitepress/theme/index.mjs b/docs/.vitepress/theme/index.mjs index 4f63523..d97b734 100644 --- a/docs/.vitepress/theme/index.mjs +++ b/docs/.vitepress/theme/index.mjs @@ -1,4 +1,8 @@ import DefaultTheme from 'vitepress/theme'; +import CustomLayout from './layout/CustomLayout.vue'; import './style/custom.less'; -export default DefaultTheme; +export default { + extends: DefaultTheme, + Layout: CustomLayout, +}; diff --git a/docs/.vitepress/theme/layout/CustomLayout.vue b/docs/.vitepress/theme/layout/CustomLayout.vue new file mode 100644 index 0000000..4df8f93 --- /dev/null +++ b/docs/.vitepress/theme/layout/CustomLayout.vue @@ -0,0 +1,15 @@ + + + diff --git a/docs/.vitepress/theme/layout/DocContentFooter.vue b/docs/.vitepress/theme/layout/DocContentFooter.vue new file mode 100644 index 0000000..7250e89 --- /dev/null +++ b/docs/.vitepress/theme/layout/DocContentFooter.vue @@ -0,0 +1,64 @@ + + + + + diff --git a/docs/.vitepress/theme/style/custom.less b/docs/.vitepress/theme/style/custom.less index d24e048..11077f2 100644 --- a/docs/.vitepress/theme/style/custom.less +++ b/docs/.vitepress/theme/style/custom.less @@ -5,6 +5,14 @@ --vp-c-indigo-soft: rgb(66, 165, 245, 0.14); } +.custom__divider { + border: none; + height: 1px; + width: 100%; + background-color: var(--vp-c-divider); + margin: 0.5em 0; +} + .vp-doc h2 { padding-top: 0; border-top: none;