refactor: theming

This commit is contained in:
Anthony Fu 2022-11-23 10:16:31 +08:00
parent 9a77c7da2a
commit a4d235b6fe
22 changed files with 351 additions and 39 deletions

2
composables/dark.ts Normal file
View file

@ -0,0 +1,2 @@
export const isDark = useDark()
export const toggleDark = useToggle(isDark)