color mode
This commit is contained in:
24
app/pages/settings/theme.vue
Normal file
24
app/pages/settings/theme.vue
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
definePageMeta({
|
||||||
|
layout: "dashboard"
|
||||||
|
})
|
||||||
|
|
||||||
|
const color_choose = ref(["Cyan","Red","Green","Blue","Purple"])
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<DashboardHeader title="Customization" />
|
||||||
|
|
||||||
|
<UContainer class="mt-4 max-w-full">
|
||||||
|
<UFormField
|
||||||
|
label="Color"
|
||||||
|
orientation="horizontal"
|
||||||
|
description="Select your color theme"
|
||||||
|
class=""
|
||||||
|
>
|
||||||
|
<UColorModeSelect class="" />
|
||||||
|
</UFormField>
|
||||||
|
</UContainer>
|
||||||
|
</template>
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
<script setup lang="ts">
|
|
||||||
definePageMeta({
|
|
||||||
layout: "dashboard"
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<DashboardHeader title="Customization" />
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
|
|
||||||
</style>
|
|
||||||
Reference in New Issue
Block a user