Closed gck-ableton closed 9 years ago
As we talked about, we would also like to have a hsb
and hsba
function, similar to https://github.com/AbletonAppDev/appearance/blob/master/sass/Live/_color_functions.sass#L35
I'm closing this PR for now, because I'll reorganize the approach completely!
@rof-ableton @sbs-ableton
... like
color: hsla(320, 100% 75%, 0.3);
in CSS. This is probably not the final version. Color functions like this can easily be resolved inside of the StyleMatchTree builder (as it is done here), but expressions likeurl('')
wouldn't have enough context. Those can only be resolved probably in the StyleSet (at lookup time?), but for this we would need to change the PropertyMap representation (which already works in terms of QVariant). But maybe this is a second step? What do you think?