mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-25 23:36:01 +00:00
change editor theme
This commit is contained in:
@@ -56,6 +56,9 @@ export const commands = writable({});
|
||||
export const currentTheme = getElectron()
|
||||
? writableSettingsValue('theme-light', 'currentTheme')
|
||||
: writableWithStorage('theme-light', 'currentTheme');
|
||||
export const currentEditorTheme = getElectron()
|
||||
? writableSettingsValue(null, 'currentEditorTheme')
|
||||
: writableWithStorage(null, 'currentEditorTheme');
|
||||
export const activeTabId = derived([openedTabs], ([$openedTabs]) => $openedTabs.find(x => x.selected)?.tabid);
|
||||
export const activeTab = derived([openedTabs], ([$openedTabs]) => $openedTabs.find(x => x.selected));
|
||||
export const recentDatabases = writableWithStorage([], 'recentDatabases');
|
||||
|
||||
Reference in New Issue
Block a user