dark theme tweaks

This commit is contained in:
zadam 2021-06-02 21:39:18 +02:00
parent f8dd8ebf1a
commit 7ed816f1b2
3 changed files with 4 additions and 3 deletions

View File

@ -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 theme

View File

@ -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;
}

View File

@ -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;