Hi everyone! I have one proposition for declarative markup language UX. What you think about color functions like in Less? Such as lighten(), darken(), saturate(), desaturate(), fadein(), fadeout(), fade() spin() and mix(). So what if we transfer this functionality to Fuse like this:
Declarate global color constants
<float4 ux:Global="FillColor" ux:Value="rgba(0.5, 0, 0.25, 0.5)"/> <float4 ux:Global="GreenColor" ux:Value="hsla(120, 0.5, 0.5, 1.0)"/>
Assignment global colors via color transformers
<Rectangle Color="Darken(FillColor, 0.2)"/> <Rectangle Color="Lerp(GreenColor, FillColor, 0.5)"/>