mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	client/note tree item tinting: tweak colors for the light theme
This commit is contained in:
		| @@ -78,7 +78,7 @@ function adjustColorLightness(color: ColorInstance, lightThemeMaxLightness: numb | |||||||
|  |  | ||||||
|     if (color.saturationl() > 0) { |     if (color.saturationl() > 0) { | ||||||
|         darkThemeBackgroundColor = Color({h: hue, s: 20, l: 33, alpha: .4}).hexa(); |         darkThemeBackgroundColor = Color({h: hue, s: 20, l: 33, alpha: .4}).hexa(); | ||||||
|         lightThemeBackgroundColor = Color({h: hue, s: 100, l: 25, alpha: .1}).hexa(); |         lightThemeBackgroundColor = Color({h: hue, s: 37, l: 89, alpha: 1}).hexa(); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     return {lightThemeColor, lightThemeBackgroundColor, darkThemeColor, darkThemeBackgroundColor}; |     return {lightThemeColor, lightThemeBackgroundColor, darkThemeColor, darkThemeBackgroundColor}; | ||||||
|   | |||||||
| @@ -95,7 +95,7 @@ | |||||||
|     --tree-item-light-theme-max-color-lightness: 60; |     --tree-item-light-theme-max-color-lightness: 60; | ||||||
|      |      | ||||||
|     /* The minimum perceptual lightness for the custom color in the dark theme (%): */ |     /* The minimum perceptual lightness for the custom color in the dark theme (%): */ | ||||||
|     --tree-item-dark-theme-min-color-lightness: 60; |     --tree-item-dark-theme-min-color-lightness: 65; | ||||||
| } | } | ||||||
|  |  | ||||||
| body.backdrop-effects-disabled { | body.backdrop-effects-disabled { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user