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
dark theme tweaks
zadam7ed816f1b239
diff --git a/db/TODO.txt b/db/TODO.txtindex 756a86692a..38d56bc547 100644--- a/db/TODO.txt+++ b/db/TODO.txt@@ -5,3 +5,4 @@- rename leftPaneVisible to leftSidebarVisible- pane is now used for side by side notes- "left" should be preserved since custom widgets may create right sidebar+- migrate black theme to dark themediff --git a/src/public/app/widgets/section_widgets/link_map.js b/src/public/app/widgets/section_widgets/link_map.jsindex cf285bb436..6427301e13 100644--- a/src/public/app/widgets/section_widgets/link_map.js+++ b/src/public/app/widgets/section_widgets/link_map.js@@ -172,7 +172,7 @@ export default class LinkMapWidget extends NoteContextAwareWidget {this.graph.d3Force('charge').strength(-30);this.graph.d3Force('charge').distanceMax(400);- this.renderData(await this.loadNotesAndRelations(this.noteId,1));+ this.renderData(await this.loadNotesAndRelations(this.noteId,2));}renderData(data, zoomToFit = true, zoomPadding = 10) {@@ -254,7 +254,7 @@ export default class LinkMapWidget extends NoteContextAwareWidget {}paintLink(link, ctx) {- if (this.zoomLevel < 3) {+ if (this.zoomLevel < 5) {return;}diff --git a/src/public/stylesheets/themes.css b/src/public/stylesheets/themes.cssindex 63cf27cb65..cd0a3db981 100644--- a/src/public/stylesheets/themes.css+++ b/src/public/stylesheets/themes.css@@ -65,7 +65,7 @@ body.theme-dark {--input-text-color: #ccc;--input-background-color: #333;--hover-item-text-color: black;- --hover-item-background-color: #333;+ --hover-item-background-color: #777;--active-item-text-color: black;--active-item-background-color: #777;--menu-text-color: white;