UIDefaultsLoader: added over() color function to convert a translucent color into a solid color based on any background color

This commit is contained in:
Karl Tauber
2022-05-09 23:28:40 +02:00
parent 96d4bda6c8
commit 96f2a02cfa
4 changed files with 44 additions and 1 deletions

View File

@@ -118,6 +118,12 @@ Prop.6.selectionForeground = contrast($Prop.6.selectionBackground,#000,#fff)
Prop.7.selectionBackground = #FF9500
Prop.7.selectionForeground = contrast($Prop.7.selectionBackground,#000,#fff)
Prop.colorFunc60 = over(#fff8,#f00)
Prop.colorFunc61 = over(#fff8,#0f0)
Prop.colorFunc62 = over(#f000,#0f0)
Prop.colorFunc63 = over(#f00,#0f0)
Prop.colorFunc64 = over(#f008,null)
@varStyle1 = #f0f