mirror of
https://github.com/fmhy/edit.git
synced 2026-01-12 15:01:06 +11:00
Fix theme issues (#4527)
* thr33 * super safe * i dont like addings messages atp * eardrummer * trial and error again * kill everyone * PLEASE BRAH * .
This commit is contained in:
parent
57ef8769a2
commit
908a1d8ce4
3 changed files with 172 additions and 104 deletions
|
|
@ -8,7 +8,7 @@ import type { Theme } from '../themes/types'
|
|||
import Switch from './Switch.vue'
|
||||
|
||||
type ColorNames = keyof typeof colors
|
||||
const selectedColor = useStorage<ColorNames>('preferred-color', 'christmas')
|
||||
const selectedColor = useStorage<ColorNames>('preferred-color', 'swarm')
|
||||
|
||||
// Use the theme system
|
||||
const { amoledEnabled, setAmoledEnabled, setTheme, state, mode, themeName } = useTheme()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue