mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-31 07:04:20 +00:00 
			
		
		
		
	Capping saturation to 50%
This commit is contained in:
		| @@ -59,7 +59,7 @@ Item{ | ||||
|  | ||||
|     property string _background_color: "#000000" | ||||
|     property string _font_color: "#ff8100" | ||||
|     property string saturated_color: mix(strToColor("#FFFFFF"), strToColor(_font_color), saturation_color) | ||||
|     property string saturated_color: mix(strToColor("#FFFFFF"), strToColor(_font_color), saturation_color * 0.5) | ||||
|     property color font_color: mix(strToColor(saturated_color), strToColor(_background_color), 0.7 + (contrast * 0.3)) | ||||
|     property color background_color: mix(strToColor(_background_color), strToColor(saturated_color), 0.7 + (contrast * 0.3)) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user