chore: how to use theme switcher

This commit is contained in:
Zack Spear
2024-06-26 16:43:10 -07:00
parent d84a7fb49c
commit ecd02099a1

View File

@@ -1,4 +1,8 @@
<script lang="ts" setup>
/**
* Add to webgui via DefaultPageLayout.php
* Add to footer `echo "<unraid-theme-switcher current='$theme'></unraid-theme-switcher>";`
*/
import { OnClickOutside } from '@vueuse/components';
import { storeToRefs } from 'pinia';