mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
UIDefaultsLoader: added systemColor() color function that can be used to change accent color (preparation for getting accent color from operating system)
This commit is contained in:
@@ -49,6 +49,9 @@ Prop.ifColor = lighten(if(#000,#0f0,#dfd), 10%)
|
||||
Prop.ifColorVar = lighten(if(@varTrue,@varTrueValue,@varFalseValue), 10%)
|
||||
Prop.lazy = lazy(Prop.string)
|
||||
|
||||
Prop.systemColor1 = systemColor(accent,null)
|
||||
Prop.systemColor2 = systemColor(accent,#f00)
|
||||
|
||||
Prop.colorFunc1 = rgb(12,34,56)
|
||||
Prop.colorFunc2 = rgba(12,34,56,78)
|
||||
Prop.colorFunc3 = hsl(12,34%,56%)
|
||||
|
||||
Reference in New Issue
Block a user