mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	added grey icon for the dark mode
This commit is contained in:
		
							
								
								
									
										2
									
								
								db/migrations/0185__migrate_black_theme_to_dark.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								db/migrations/0185__migrate_black_theme_to_dark.sql
									
									
									
									
									
										Normal 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 | 
| @@ -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": { | ||||||
|   | |||||||
| @@ -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%; | ||||||
|   | |||||||
| @@ -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); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -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"; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user