Skip to content

Commit

Permalink
feat(theme): update default theme
Browse files Browse the repository at this point in the history
  • Loading branch information
kunish committed Sep 23, 2023
1 parent 53ee2f3 commit be0bc55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const themes = [
'night',
'coffee',
'winter',
]
] as const

export enum ROUTES {
Overview = '/overview',
Expand Down
5 changes: 3 additions & 2 deletions src/signals/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
PROXIES_ORDERING_TYPE,
PROXIES_PREVIEW_TYPE,
TAILWINDCSS_SIZE,
themes,
} from '~/constants'
import {
ConnectionsTableColumnOrder,
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit be0bc55

Please sign in to comment.