mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 15:16:01 +00:00
theme - statusbar, icons
This commit is contained in:
@@ -2,7 +2,7 @@ import fillTheme from './fillTheme';
|
||||
|
||||
const theme = {
|
||||
main_type: 'dark',
|
||||
main_background: '#fff',
|
||||
main_background: '#444',
|
||||
|
||||
fontWhite1: '#ddd',
|
||||
|
||||
@@ -26,8 +26,7 @@ const theme = {
|
||||
modal_background: '#222',
|
||||
modalheader_background: '#555',
|
||||
button_background: '#337ab7',
|
||||
|
||||
statusBarBackground: '#00c',
|
||||
statusbar_background: '#00c',
|
||||
};
|
||||
|
||||
export default fillTheme(theme);
|
||||
|
||||
@@ -74,6 +74,10 @@ function fillThemeCore(theme) {
|
||||
fillOne(theme, name, type, add, background, 'fontWhite', 'fontBlack', lightenByTenth, presetDarkPalettes);
|
||||
}
|
||||
}
|
||||
|
||||
if (add.main_type == 'dark') add.main_palettes = presetDarkPalettes;
|
||||
else add.main_palettes = presetPalettes;
|
||||
|
||||
return {
|
||||
...add,
|
||||
...theme,
|
||||
|
||||
@@ -25,8 +25,7 @@ const theme = {
|
||||
modal_background: '#fff',
|
||||
modalheader_background: '#eff',
|
||||
button_background: '#337ab7',
|
||||
|
||||
statusBarBackground: '#00c',
|
||||
statusbar_background: '#00c',
|
||||
};
|
||||
|
||||
export default fillTheme(theme);
|
||||
|
||||
Reference in New Issue
Block a user