mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +08:00
feat(theme): update default theme
This commit is contained in:
parent
53ee2f31b3
commit
be0bc55317
@ -31,7 +31,7 @@ export const themes = [
|
||||
'night',
|
||||
'coffee',
|
||||
'winter',
|
||||
]
|
||||
] as const
|
||||
|
||||
export enum ROUTES {
|
||||
Overview = '/overview',
|
||||
|
@ -10,6 +10,7 @@ import {
|
||||
PROXIES_ORDERING_TYPE,
|
||||
PROXIES_PREVIEW_TYPE,
|
||||
TAILWINDCSS_SIZE,
|
||||
themes,
|
||||
} from '~/constants'
|
||||
import {
|
||||
ConnectionsTableColumnOrder,
|
||||
@ -48,11 +49,11 @@ export const [autoSwitchTheme, setAutoSwitchTheme] = makePersisted(
|
||||
{ name: 'autoSwitchTheme', storage: localStorage },
|
||||
)
|
||||
export const [favDayTheme, setFavDayTheme] = makePersisted(
|
||||
createSignal('light'),
|
||||
createSignal<(typeof themes)[number]>('lofi'),
|
||||
{ name: 'favDayTheme', storage: localStorage },
|
||||
)
|
||||
export const [favNightTheme, setFavNightTheme] = makePersisted(
|
||||
createSignal('night'),
|
||||
createSignal<(typeof themes)[number]>('business'),
|
||||
{ name: 'favNightTheme', storage: localStorage },
|
||||
)
|
||||
export const [connectionsTableSize, setConnectionsTableSize] = makePersisted(
|
||||
|
Loading…
Reference in New Issue
Block a user