Skip to content

FIX: apply color palette change when preview is unavailable, warn for dark mode #33827

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

awesomerobot
Copy link
Member

@awesomerobot awesomerobot commented Jul 24, 2025

Follow-up to 8fea4ea

This fixes an issue where if a live preview wasn't being shown (due to preferences), the color palette wasn't being changed in the theme settings. It's now being applied correctly.

I've also simplified the color-scheme-manager so the logic for handling the default fallback palette is handled in the controller (and determines preview mode in the manager)

This also adds a warning for another case where live previewing isn't available: when the admin is in dark mode.

This will hopefully be temporary while we simplify how dark mode works.

image

@github-actions github-actions bot added the i18n PRs which update English locale files or i18n related code label Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n PRs which update English locale files or i18n related code
Development

Successfully merging this pull request may close these issues.

1 participant