mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:39:01 +01:00 
			
		
		
		
	dark theme tweaks
This commit is contained in:
		
							parent
							
								
									f8dd8ebf1a
								
							
						
					
					
						commit
						7ed816f1b2
					
				| @ -5,3 +5,4 @@ | |||||||
| - rename leftPaneVisible to leftSidebarVisible | - rename leftPaneVisible to leftSidebarVisible | ||||||
|   - pane is now used for side by side notes |   - pane is now used for side by side notes | ||||||
|   - "left" should be preserved since custom widgets may create right sidebar |   - "left" should be preserved since custom widgets may create right sidebar | ||||||
|  | - migrate black theme to dark theme | ||||||
|  | |||||||
| @ -172,7 +172,7 @@ export default class LinkMapWidget extends NoteContextAwareWidget { | |||||||
|         this.graph.d3Force('charge').strength(-30); |         this.graph.d3Force('charge').strength(-30); | ||||||
|         this.graph.d3Force('charge').distanceMax(400); |         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) { |     renderData(data, zoomToFit = true, zoomPadding = 10) { | ||||||
| @ -254,7 +254,7 @@ export default class LinkMapWidget extends NoteContextAwareWidget { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     paintLink(link, ctx) { |     paintLink(link, ctx) { | ||||||
|         if (this.zoomLevel < 3) { |         if (this.zoomLevel < 5) { | ||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -65,7 +65,7 @@ body.theme-dark { | |||||||
|     --input-text-color: #ccc; |     --input-text-color: #ccc; | ||||||
|     --input-background-color: #333; |     --input-background-color: #333; | ||||||
|     --hover-item-text-color: black; |     --hover-item-text-color: black; | ||||||
|     --hover-item-background-color: #333; |     --hover-item-background-color: #777; | ||||||
|     --active-item-text-color: black; |     --active-item-text-color: black; | ||||||
|     --active-item-background-color: #777; |     --active-item-background-color: #777; | ||||||
|     --menu-text-color: white; |     --menu-text-color: white; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam