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

[Shimmer] Invert dark theme colors #525

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Conversation

citelao
Copy link
Contributor

@citelao citelao commented Feb 12, 2024

Currently, the shimmers are difficult to see in dark mode. This change makes them easier to see.

I believe this is because the colors got transposed: for light mode, the more translucent color is used for 2 & 3, whereas currently for light mode, the less translucent color is used for 2 & 3. My hunch is that this intended to account for the inversion in color b/w dark & light mode, but that's already accounted for because the colors themselves are inverted b/w those modes.

In other words, both the colors and the translucencies were transposed, when only one should have been.

Before:

DarkShimmerBefore

After:

DarkShimmerAfter

What changed?

  • Swapped the translucencies in the dark mode colors.

How tested?

Tested using our C++ port of this code.

@niels9001 niels9001 self-requested a review February 13, 2024 11:25
@niels9001
Copy link
Collaborator

@citelao Thanks for the PR, added the before vs after images

Copy link
Collaborator

@niels9001 niels9001 left a comment

Choose a reason for hiding this comment

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

LGTM!

@niels9001 niels9001 merged commit ecf8343 into CommunityToolkit:main Feb 13, 2024
7 checks passed
@citelao
Copy link
Contributor Author

citelao commented Feb 13, 2024

Thanks @niels9001! The screenshots really help sell it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants