You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The existing Color.darkened arguably is the typical use case for compositing colors - designers sure do like their "5 % black over the background solid on hover". I think generalized Color.compositeOver is the next logical step.
Alternatively, Kobweb might benefit from porting the whole powerful Color system. If Kobweb already provides custom Color, it can as well have all the bells and whistles.
The text was updated successfully, but these errors were encountered:
I should definitely take a closer look at their code. I'll tag this with the 1.1 milestone because technically it isn't blocking anything and I haven't had any explicit requests for this or that color function, but that doesn't mean I wouldn't consider working on it or taking PRs for it before 1.0.
The existing
Color.darkened
arguably is the typical use case for compositing colors - designers sure do like their "5 % black over the background solid on hover". I think generalizedColor.compositeOver
is the next logical step.https://github.com/androidx/androidx/blob/androidx-main/compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/Color.kt#L561
Alternatively, Kobweb might benefit from porting the whole powerful Color system. If Kobweb already provides custom
Color
, it can as well have all the bells and whistles.The text was updated successfully, but these errors were encountered: