init: чистый старт Laravel + Vuexy
This commit is contained in:
22
resources/ts/layouts/components/NavbarThemeSwitcher.vue
Normal file
22
resources/ts/layouts/components/NavbarThemeSwitcher.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<script setup lang="ts">
|
||||
import type { ThemeSwitcherTheme } from '@layouts/types'
|
||||
|
||||
const themes: ThemeSwitcherTheme[] = [
|
||||
{
|
||||
name: 'light',
|
||||
icon: 'tabler-sun-high',
|
||||
},
|
||||
{
|
||||
name: 'dark',
|
||||
icon: 'tabler-moon-stars',
|
||||
},
|
||||
{
|
||||
name: 'system',
|
||||
icon: 'tabler-device-desktop-analytics',
|
||||
},
|
||||
]
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ThemeSwitcher :themes="themes" />
|
||||
</template>
|
||||
Reference in New Issue
Block a user