mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-02-20 20:09:14 +00:00
Capping saturation to 50%
This commit is contained in:
parent
40d34c2cca
commit
307f640327
@ -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))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user