mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
chore: Tidy up the code
This commit is contained in:
@@ -44,24 +44,16 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { accessKey, apperance, isShowTopbar } from '~/logic/storage'
|
||||
import { useToggle, useDark } from '@vueuse/core'
|
||||
import { apperance, isShowTopbar } from '~/logic/storage'
|
||||
import 'virtual:windi.css'
|
||||
import '~/styles/index.ts'
|
||||
import Home from './Home/index.vue'
|
||||
import { getUserID, grantAccessKey } from '~/utils'
|
||||
|
||||
const [showSettings, toggle] = useToggle(false)
|
||||
|
||||
// auto dark mode
|
||||
// const style = document.createElement('style')
|
||||
|
||||
const isDark = useDark()
|
||||
const toggleDark = useToggle(isDark)
|
||||
|
||||
// if (getUserID())
|
||||
// grantAccessKey()
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user