deploy: ebd4cc0010
This commit is contained in:
33
node_modules/vitepress/dist/client/theme-default/components/VPNavScreenAppearance.vue
generated
vendored
33
node_modules/vitepress/dist/client/theme-default/components/VPNavScreenAppearance.vue
generated
vendored
@@ -1,33 +0,0 @@
|
||||
<script lang="ts" setup>
|
||||
import { useData } from '../composables/data'
|
||||
import VPSwitchAppearance from './VPSwitchAppearance.vue'
|
||||
|
||||
const { site, theme } = useData()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div v-if="site.appearance" class="VPNavScreenAppearance">
|
||||
<p class="text">
|
||||
{{ theme.darkModeSwitchLabel || 'Appearance' }}
|
||||
</p>
|
||||
<VPSwitchAppearance />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.VPNavScreenAppearance {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
border-radius: 8px;
|
||||
padding: 12px 14px 12px 16px;
|
||||
background-color: var(--vp-c-bg-soft);
|
||||
}
|
||||
|
||||
.text {
|
||||
line-height: 24px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: var(--vp-c-text-2);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user