-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-ExamplesAn addition or correction to our examplesAn addition or correction to our examplesD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy
Description
Bevy version
main, after #12163
What went wrong
Notably, overflow and probably a few other UI examples.
Prior to 12163, DARK_GRAY was a dark gray. However, our css palette now conforms to the css4 spec. In the css4 spec, dark gray is lighter than gray.
This is causing very low contrast in some of these examples.
We should search for usages of DARK_GR[EA]Y and replace them with a darker gray.
This is the old one:
pub const DARK_GRAY: LegacyColor = LegacyColor::rgb(0.25, 0.25, 0.25);
There is no good replacement gray in the palette, so I recommend using Color::rgb(0.25, 0.25, 0.25).
janhohenheim
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-ExamplesAn addition or correction to our examplesAn addition or correction to our examplesD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy