mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-24 09:45: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',
|
'night',
|
||||||
'coffee',
|
'coffee',
|
||||||
'winter',
|
'winter',
|
||||||
]
|
] as const
|
||||||
|
|
||||||
export enum ROUTES {
|
export enum ROUTES {
|
||||||
Overview = '/overview',
|
Overview = '/overview',
|
||||||
|
@ -10,6 +10,7 @@ import {
|
|||||||
PROXIES_ORDERING_TYPE,
|
PROXIES_ORDERING_TYPE,
|
||||||
PROXIES_PREVIEW_TYPE,
|
PROXIES_PREVIEW_TYPE,
|
||||||
TAILWINDCSS_SIZE,
|
TAILWINDCSS_SIZE,
|
||||||
|
themes,
|
||||||
} from '~/constants'
|
} from '~/constants'
|
||||||
import {
|
import {
|
||||||
ConnectionsTableColumnOrder,
|
ConnectionsTableColumnOrder,
|
||||||
@ -48,11 +49,11 @@ export const [autoSwitchTheme, setAutoSwitchTheme] = makePersisted(
|
|||||||
{ name: 'autoSwitchTheme', storage: localStorage },
|
{ name: 'autoSwitchTheme', storage: localStorage },
|
||||||
)
|
)
|
||||||
export const [favDayTheme, setFavDayTheme] = makePersisted(
|
export const [favDayTheme, setFavDayTheme] = makePersisted(
|
||||||
createSignal('light'),
|
createSignal<(typeof themes)[number]>('lofi'),
|
||||||
{ name: 'favDayTheme', storage: localStorage },
|
{ name: 'favDayTheme', storage: localStorage },
|
||||||
)
|
)
|
||||||
export const [favNightTheme, setFavNightTheme] = makePersisted(
|
export const [favNightTheme, setFavNightTheme] = makePersisted(
|
||||||
createSignal('night'),
|
createSignal<(typeof themes)[number]>('business'),
|
||||||
{ name: 'favNightTheme', storage: localStorage },
|
{ name: 'favNightTheme', storage: localStorage },
|
||||||
)
|
)
|
||||||
export const [connectionsTableSize, setConnectionsTableSize] = makePersisted(
|
export const [connectionsTableSize, setConnectionsTableSize] = makePersisted(
|
||||||
|
Loading…
Reference in New Issue
Block a user