added grey icon for the dark mode

This commit is contained in:
zadam 2021-09-25 21:58:15 +02:00
parent fdb7b7721d
commit 2fcb0c05c0
6 changed files with 11 additions and 5 deletions

View File

@ -0,0 +1,2 @@
-- black theme has been removed, dark is closest replacement
UPDATE options SET value = 'dark' WHERE name = 'theme' AND value = 'black';

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -90,7 +90,7 @@
"jsdoc": "3.6.7", "jsdoc": "3.6.7",
"lorem-ipsum": "2.0.3", "lorem-ipsum": "2.0.3",
"rcedit": "3.0.1", "rcedit": "3.0.1",
"webpack": "5.53.0", "webpack": "5.54.0",
"webpack-cli": "4.8.0" "webpack-cli": "4.8.0"
}, },
"optionalDependencies": { "optionalDependencies": {

View File

@ -14,7 +14,7 @@ const TPL = `
} }
.global-menu-button { .global-menu-button {
background-image: url("images/icon-bw.png"); background-image: url("images/icon-color.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 50% 45%; background-position: 50% 45%;
width: 100%; width: 100%;

View File

@ -110,10 +110,10 @@ body.theme-dark {
--modal-backdrop-color: #444; --modal-backdrop-color: #444;
--left-pane-background-color: #1f1f1f; --left-pane-background-color: #1f1f1f;
--left-pane-text-color: #ADAAAA; --left-pane-text-color: #AAAAAA;
--launcher-pane-background-color: #1f1f1f; --launcher-pane-background-color: #1f1f1f;
--launcher-pane-text-color: #ADAAAA; --launcher-pane-text-color: #AAAAAA;
--active-tab-background-color: #666; --active-tab-background-color: #666;
--active-tab-text-color: #ccc; --active-tab-text-color: #ccc;
@ -126,6 +126,10 @@ body.theme-dark {
--link-color: lightskyblue; --link-color: lightskyblue;
} }
body.theme-dark .global-menu-button {
background-image: url("../images/icon-grey.png");
}
body.theme-dark ::-webkit-calendar-picker-indicator { body.theme-dark ::-webkit-calendar-picker-indicator {
filter: invert(1); filter: invert(1);
} }

View File

@ -4,7 +4,7 @@ const build = require('./build');
const packageJson = require('../../package'); const packageJson = require('../../package');
const {TRILIUM_DATA_DIR} = require('./data_dir'); const {TRILIUM_DATA_DIR} = require('./data_dir');
const APP_DB_VERSION = 184; const APP_DB_VERSION = 185;
const SYNC_VERSION = 21; const SYNC_VERSION = 21;
const CLIPPER_PROTOCOL_VERSION = "1.0"; const CLIPPER_PROTOCOL_VERSION = "1.0";