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

set color-scheme based on current theme #1360

Merged
merged 8 commits into from
Jun 16, 2023
Merged

set color-scheme based on current theme #1360

merged 8 commits into from
Jun 16, 2023

Conversation

mayank99
Copy link
Contributor

Changes

Added color-scheme property to match the current theme. Default value of this property is light, so it will have a real impact only on dark theme. Also added adaptive light dark as a fallback when no theme is set.

Testing

A bit hard to really test because our components are already themed, but can be noticed in native UI elements, like this autofill background:

Docs

added changeset.

@mayank99 mayank99 requested review from a team as code owners June 15, 2023 19:10
@mayank99 mayank99 self-assigned this Jun 15, 2023
@mayank99 mayank99 requested review from gretanausedaite, adamhock and FlyersPh9 and removed request for a team June 15, 2023 19:10
Base automatically changed from mayank/theming to dev June 16, 2023 13:05
@mayank99 mayank99 merged commit 30f5b28 into dev Jun 16, 2023
@mayank99 mayank99 deleted the mayank/color-scheme branch June 16, 2023 14:04
@imodeljs-admin imodeljs-admin mentioned this pull request Oct 23, 2023
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.

3 participants