mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 09:41:17 +11:00
less ugly appearance switch
This commit is contained in:
parent
23878e3f3e
commit
34c1f13d8b
5 changed files with 87 additions and 7 deletions
|
|
@ -2,16 +2,14 @@ import { h } from "vue";
|
|||
import { type Theme, inBrowser } from "vitepress";
|
||||
import DefaultTheme from "vitepress/theme";
|
||||
import Sidebar from "./components/SidebarCard.vue";
|
||||
import Layout from "./Layout.vue";
|
||||
import "./style.css";
|
||||
import "uno.css";
|
||||
|
||||
// if (inBrowser) import("./pwa");
|
||||
|
||||
export default {
|
||||
Layout: () => {
|
||||
return h(DefaultTheme.Layout, null, {
|
||||
"sidebar-nav-after": () => h(Sidebar),
|
||||
});
|
||||
},
|
||||
extends: DefaultTheme,
|
||||
Layout: Layout,
|
||||
enhanceApp({ app, router, siteData }) {},
|
||||
} satisfies Theme;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue