docs: update layout file
This commit is contained in:
@@ -1,10 +1,16 @@
|
|||||||
import type { Theme } from 'vitepress'
|
import type { Theme } from 'vitepress'
|
||||||
import VueAnimXyz from '@animxyz/vue3'
|
import VueAnimXyz from '@animxyz/vue3'
|
||||||
import DefaultTheme from 'vitepress/theme'
|
import DefaultTheme from 'vitepress/theme'
|
||||||
import '../../assets/index.css'
|
import Layout from './layouts/default.vue'
|
||||||
|
import 'virtual:windi.css'
|
||||||
|
import '@animxyz/core'
|
||||||
|
import '@braks/vue-flow/dist/style.css'
|
||||||
|
import '@braks/vue-flow/dist/theme-default.css'
|
||||||
|
import './../../assets/index.css'
|
||||||
|
|
||||||
const CustomTheme = {
|
const CustomTheme = {
|
||||||
...DefaultTheme,
|
...DefaultTheme,
|
||||||
|
Layout,
|
||||||
enhanceApp: ({ app }) => {
|
enhanceApp: ({ app }) => {
|
||||||
app.use(VueAnimXyz)
|
app.use(VueAnimXyz)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,11 +1,3 @@
|
|||||||
<script>
|
|
||||||
import 'virtual:windi.css'
|
|
||||||
import '@animxyz/core'
|
|
||||||
import '@braks/vue-flow/dist/style.css'
|
|
||||||
import '@braks/vue-flow/dist/theme-default.css'
|
|
||||||
import '../../assets/index.css'
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import DefaultTheme from 'vitepress/theme'
|
import DefaultTheme from 'vitepress/theme'
|
||||||
import ReactIcon from '~icons/logos/react'
|
import ReactIcon from '~icons/logos/react'
|
||||||
@@ -76,8 +68,6 @@ const { Layout: ParentLayout } = DefaultTheme
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
.page-footer {
|
.page-footer {
|
||||||
@apply dark:(text-white bg-black) pt-[2rem] text-center;
|
@apply py-4 text-center;
|
||||||
border-top: 1px solid var(--c-border);
|
|
||||||
transition: border-color var(--t-color);
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user