mirror of
https://github.com/fmhy/edit.git
synced 2025-11-28 08:51:08 +11:00
Change default amoled mode to true
This commit is contained in:
parent
2f42f28fab
commit
365a49425b
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ const colorScales = [
|
||||||
|
|
||||||
type ColorNames = keyof typeof extendedColors
|
type ColorNames = keyof typeof extendedColors
|
||||||
const selectedColor = useStorage<ColorNames>('preferred-color', 'halloween')
|
const selectedColor = useStorage<ColorNames>('preferred-color', 'halloween')
|
||||||
const isAmoledMode = useStorage('amoled-mode', false)
|
const isAmoledMode = useStorage('amoled-mode', true)
|
||||||
|
|
||||||
const colorOptions = Object.keys(extendedColors).filter(
|
const colorOptions = Object.keys(extendedColors).filter(
|
||||||
(key) => typeof extendedColors[key as keyof typeof extendedColors] === 'object'
|
(key) => typeof extendedColors[key as keyof typeof extendedColors] === 'object'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue