feat: add initial application structure with configuration, UI components, and state management
This commit is contained in:
parent
fadf94002c
commit
0af6b17792
56 changed files with 6137 additions and 129 deletions
|
|
@ -1,17 +0,0 @@
|
|||
<template>
|
||||
<UButton color="gray" variant="ghost" @click="toggle">
|
||||
<UIcon :name="icon" class="w-5 h-5" />
|
||||
</UButton>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const colorMode = useColorMode();
|
||||
const icon = computed(() =>
|
||||
colorMode.value === "dark"
|
||||
? "i-heroicons-moon-20-solid"
|
||||
: "i-heroicons-sun-20-solid"
|
||||
);
|
||||
const toggle = () => {
|
||||
colorMode.preference = colorMode.value === "dark" ? "light" : "dark";
|
||||
};
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue