Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix green colors becoming darker in various examples #12328

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

rparrett
Copy link
Contributor

@rparrett rparrett commented Mar 5, 2024

Objective

Fixes #12225

Prior to the bevy_color port, GREEN used to mean "full green." But it is now a much darker color matching the css1 spec.

Solution

Change usages of basic::GREEN or css::GREEN to LIME to restore the examples to their former colors.

This also removes the duplicate definition of GREEN from css. (it was already re-exported from basic)

Note

A lot of these examples could use nicer colors. I'm not trying to do that here.

"Dark Grey" will be tackled separately and has its own tracking issue.

@alice-i-cecile alice-i-cecile added the C-Examples An addition or correction to our examples label Mar 5, 2024
Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :)

Copy link
Contributor

@pablo-lua pablo-lua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple changes, all good

@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Mar 5, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Mar 5, 2024
Merged via the queue into bevyengine:main with commit 0746b8e Mar 5, 2024
28 checks passed
spectria-limina pushed a commit to spectria-limina/bevy that referenced this pull request Mar 9, 2024
# Objective

Fixes bevyengine#12225

Prior to the `bevy_color` port, `GREEN` used to mean "full green." But
it is now a much darker color matching the css1 spec.

## Solution

Change usages of `basic::GREEN` or `css::GREEN` to `LIME` to restore the
examples to their former colors.

This also removes the duplicate definition of `GREEN` from `css`. (it
was already re-exported from `basic`)

## Note

A lot of these examples could use nicer colors. I'm not trying to do
that here.

"Dark Grey" will be tackled separately and has its own tracking issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Examples An addition or correction to our examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Various examples are incorrectly using GREEN
3 participants