mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-11 10:00:08 +08:00
27 lines
431 B
Vue
27 lines
431 B
Vue
<script setup lang="ts">
|
|
import type { ThemeSwitcherTheme } from '@layouts/types'
|
|
|
|
const themes: ThemeSwitcherTheme[] = [
|
|
{
|
|
name: 'light',
|
|
icon: 'mdi-weather-sunny',
|
|
},
|
|
{
|
|
name: 'dark',
|
|
icon: 'mdi-weather-night',
|
|
},
|
|
{
|
|
name: 'purple',
|
|
icon: 'mdi-brightness-4',
|
|
},
|
|
{
|
|
name: 'auto',
|
|
icon: 'mdi-brightness-auto',
|
|
},
|
|
]
|
|
</script>
|
|
|
|
<template>
|
|
<ThemeSwitcher :themes="themes" />
|
|
</template>
|