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

Feature: Improved the background color preview #11020

Merged
merged 2 commits into from
Jan 16, 2023
Merged

Feature: Improved the background color preview #11020

merged 2 commits into from
Jan 16, 2023

Conversation

yaira2
Copy link
Member

@yaira2 yaira2 commented Jan 16, 2023

Resolved / Related Issues
Items resolved / related issues by this PR.
image

Validation
How did you test these changes?

  • Built and ran the app
  • Tested the changes for accessibility

Screenshots (optional)
Add screenshots here.

@yaira2 yaira2 changed the title Feature: Update selection of themes Feature: Improved the background color preview Jan 16, 2023
@yaira2 yaira2 merged commit 3a9fc54 into main Jan 16, 2023
if (value is Color)
{
Color color = (Color)value;
return new SolidColorBrush(color);
Copy link
Contributor

Choose a reason for hiding this comment

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

we'd probably want to convert the alpha channel to 255 to preserve behavior?
or is it intentional that we want it to look opaque?

return new SolidColorBrush(Color.FromArgb(255, color.R, color.G, color.B));

Copy link
Member Author

Choose a reason for hiding this comment

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

This is intentional, it's designed this way so that the app still shows the mica background.

@yaira2 yaira2 deleted the ya/Themes branch January 16, 2023 05:51
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