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 caution visual bug for dark theme #2418

Merged

Conversation

Notenlish
Copy link
Contributor

Old:
image
New:
image

reported by @yunline

@Notenlish Notenlish requested a review from a team as a code owner August 23, 2023 16:22
@Notenlish
Copy link
Contributor Author

#2417

Copy link
Contributor

@yunline yunline left a comment

Choose a reason for hiding this comment

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

Thanks for your fix.
However, there are 2 bugs mentioned in the issue, and you just fixed one of them.
The another one is in https://pyga.me/docs/tutorials/en/move-it.html
image
image

@yunline yunline linked an issue Aug 24, 2023 that may be closed by this pull request
@Starbuck5
Copy link
Member

@yunline It's fine for this PR to only fix one of the problems, as long as the original issue doesn't get closed.

Copy link
Contributor

@yunline yunline left a comment

Choose a reason for hiding this comment

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

LGTM

@rethanon
Copy link
Contributor

rethanon commented Aug 26, 2023

Just wanted to point out that we already have a color we use for a warning in the _sdl2 docs, should we try to be consistent and use the same color? IMO the red background color used in this PR seems a little dark to me?

image

@rethanon
Copy link
Contributor

Which I guess does lead to the question, rather than just apply changes to the dark mode, could we apply the background color/text color universally like we have for the above warning in sdl2_video?

@MyreMylar
Copy link
Member

I think it is fine for us to have different colours for Warning and Caution boxes.

I applied the suggestions from the earlier comments so we can get this merged.

Caution boxes in the dark theme now look like this:

image

Copy link
Member

@MyreMylar MyreMylar left a comment

Choose a reason for hiding this comment

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

LGTM now.

@MyreMylar MyreMylar merged commit 84539e3 into pygame-community:main Oct 8, 2023
1 check was pending
@ankith26 ankith26 added this to the 2.4.0 milestone Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some colors in dark theme make text invisible
7 participants