Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
added grey icon for the dark mode
zadam2fcb0c05c04e
diff --git a/db/migrations/0185__migrate_black_theme_to_dark.sql b/db/migrations/0185__migrate_black_theme_to_dark.sqlnew file mode 100644index 0000000000..a785bb039b--- /dev/null+++ b/db/migrations/0185__migrate_black_theme_to_dark.sql@@ -0,0 +1,2 @@+-- black theme has been removed, dark is closest replacement+UPDATE options SET value = 'dark' WHERE name = 'theme' AND value = 'black';diff --git a/images/icon-bw.png b/images/icon-bw.pngdeleted file mode 100644index 545b2492c8..0000000000Binary files a/images/icon-bw.png and /dev/null differdiff --git a/package.json b/package.jsonindex 85f5d87c34..1e33666a5b 100644--- a/package.json+++ b/package.json@@ -90,7 +90,7 @@"jsdoc": "3.6.7","lorem-ipsum": "2.0.3","rcedit": "3.0.1",- "webpack": "5.53.0",+ "webpack": "5.54.0","webpack-cli": "4.8.0"},"optionalDependencies": {diff --git a/src/public/app/widgets/buttons/global_menu.js b/src/public/app/widgets/buttons/global_menu.jsindex 9d41fa924c..a597a54580 100644--- a/src/public/app/widgets/buttons/global_menu.js+++ b/src/public/app/widgets/buttons/global_menu.js@@ -14,7 +14,7 @@ const TPL = `}.global-menu-button {- background-image: url("images/icon-bw.png");+ background-image: url("images/icon-color.png");background-repeat: no-repeat;background-position: 50% 45%;width: 100%;diff --git a/src/public/stylesheets/themes.css b/src/public/stylesheets/themes.cssindex 35c684a7a1..ad96cddf5e 100644--- a/src/public/stylesheets/themes.css+++ b/src/public/stylesheets/themes.css@@ -110,10 +110,10 @@ body.theme-dark {--modal-backdrop-color: #444;--left-pane-background-color: #1f1f1f;- --left-pane-text-color: #ADAAAA;+ --left-pane-text-color: #AAAAAA;--launcher-pane-background-color: #1f1f1f;- --launcher-pane-text-color: #ADAAAA;+ --launcher-pane-text-color: #AAAAAA;--active-tab-background-color: #666;--active-tab-text-color: #ccc;@@ -126,6 +126,10 @@ body.theme-dark {--link-color: lightskyblue;}+body.theme-dark .global-menu-button {+ background-image: url("../images/icon-grey.png");+}+body.theme-dark ::-webkit-calendar-picker-indicator {filter: invert(1);}diff --git a/src/services/app_info.js b/src/services/app_info.jsindex bc41e3e4e6..e5317c018b 100644--- a/src/services/app_info.js+++ b/src/services/app_info.js@@ -4,7 +4,7 @@ const build = require('./build');const packageJson = require('../../package');const {TRILIUM_DATA_DIR} = require('./data_dir');-const APP_DB_VERSION = 184;+const APP_DB_VERSION = 185;const SYNC_VERSION = 21;const CLIPPER_PROTOCOL_VERSION = "1.0";