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
What problem does this solve or what need does it fill?
Bevy UI's visual components like BackgroundColor, BorderColor, TextColor and ImageNode only take a flat Color and there is nowhere to add support for other color effects.
What problem does this solve or what need does it fill?
Bevy UI's visual components like
BackgroundColor
,BorderColor
,TextColor
andImageNode
only take a flatColor
and there is nowhere to add support for other color effects.Related #18139
What solution would you like?
Replace the UI
Color
fields with aUiColor
enum:UiColor
would implement theColor
conversion traits so that code like:would remain unchanged. And to draw a node with gradient you'd use:
What alternative(s) have you considered?
I don't see any viable alternatives.
Additional context
The text was updated successfully, but these errors were encountered: