mirror of
https://github.com/fmhy/edit.git
synced 2025-11-28 08:51:08 +11:00
revert halloween theme
This commit is contained in:
parent
baacd94d8c
commit
19d177ed07
3 changed files with 8 additions and 194 deletions
|
|
@ -40,7 +40,7 @@ const colorScales = [
|
|||
] as const
|
||||
|
||||
type ColorNames = keyof typeof extendedColors
|
||||
const selectedColor = useStorage<ColorNames>('preferred-color', 'halloween')
|
||||
const selectedColor = useStorage<ColorNames>('preferred-color', 'swarm')
|
||||
const isAmoledMode = useStorage('amoled-mode', false)
|
||||
|
||||
const colorOptions = Object.keys(extendedColors).filter(
|
||||
|
|
@ -202,12 +202,6 @@ const normalizeColorName = (colorName: string) =>
|
|||
@click="selectedColor = color"
|
||||
:title="normalizeColorName(color)"
|
||||
>
|
||||
<span
|
||||
v-if="color === 'halloween'"
|
||||
class="inline-block w-6 h-6 flex items-center justify-center text-xl"
|
||||
>
|
||||
🎃
|
||||
</span>
|
||||
<span
|
||||
v-else
|
||||
class="inline-block w-6 h-6 rounded-full"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue