Skip to content

feat(themes/prettylights): opt in to color-scheme property #20

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 2 commits into from
Apr 7, 2025

Conversation

andreruffert
Copy link
Owner

@andreruffert andreruffert commented Apr 7, 2025

What changed (additional context)

  • Adopt theme colors based on the color-scheme property. Default is still the user's color scheme preference with the possibility to overwrite via the color-scheme property.
  • Refactoring to use the light-dark color function

Related: https://issues.chromium.org/issues/398554956
https://developer.mozilla.org/en-

Adopt theme colors based on the `color-scheme` property. Default is still the user's color scheme preference with the possibility to overwrite via the `color-scheme` property.

https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
@andreruffert andreruffert added the enhancement New feature or request label Apr 7, 2025
@andreruffert andreruffert merged commit 8f07f4e into main Apr 7, 2025
1 check passed
@andreruffert andreruffert deleted the theme-prettylights-opt-in-color-scheme-prop branch April 7, 2025 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant