1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-19 07:19:58 +00:00
elk/app.vue

39 lines
518 B
Vue
Raw Normal View History

2022-11-13 05:34:43 +00:00
<script setup>
2022-11-23 13:06:27 +00:00
import { APP_NAME } from './constants'
2022-11-13 05:34:43 +00:00
useHead({
2022-11-23 13:06:27 +00:00
title: APP_NAME,
2022-11-13 05:34:43 +00:00
link: [
{
2022-11-24 04:48:59 +00:00
rel: 'icon', type: 'image/svg+png', href: '/favicon.png',
2022-11-13 05:34:43 +00:00
},
],
})
2022-11-23 02:16:31 +00:00
// eslint-disable-next-line no-unused-expressions
isDark.value
2022-11-13 05:34:43 +00:00
</script>
<template>
2022-11-22 22:47:25 +00:00
<NuxtLoadingIndicator />
2022-11-13 05:34:43 +00:00
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</template>
<style>
html, body , #__nuxt{
height: 100vh;
margin: 0;
padding: 0;
}
html.dark {
2022-11-23 02:16:31 +00:00
color-scheme: dark;
}
html {
--at-apply: bg-base text-base;
2022-11-13 05:34:43 +00:00
}
</style>