Skip to content

Fix support for setting color scheme manually #1561

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

Merged
merged 6 commits into from
Sep 29, 2021
Merged

Conversation

ethanshar
Copy link
Collaborator

Description

Fix support for setting color scheme manually (Fix #1548)

  • Created Scheme class to handle all schemes logic
  • Move relevant logic from Colors class to Scheme class
  • Change appearance change registration in asBaseComponent with scheme change registration
  • Update DarkModeScreen example to showcase a scenario of manual scheme change

Changelog

Fix support for setting color scheme manually

Copy link
Contributor

@lidord-wix lidord-wix left a comment

Choose a reason for hiding this comment

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

Very Cool!
I left few small comments :)

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.

Colors.setScheme works fine for Views but not for Text
2 participants