discourse/app/assets/javascripts/admin/addon/lib
Kris 6223cbc4c6
FIX: apply color palette change when preview is unavailable, warn for dark mode (#33827)
Follow-up to 8fea4eaaa5


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. 

<img width="1586" height="964" alt="image"
src="https://github.com/user-attachments/assets/8e004836-69c3-47e0-9c2f-b371a17875ea"
/>
2025-07-28 09:53:46 -04:00
..
color-scheme-manager.js FIX: apply color palette change when preview is unavailable, warn for dark mode (#33827) 2025-07-28 09:53:46 -04:00
color-transformations.js FEATURE: redesigned admin color palette index layout (#33628) 2025-07-22 11:52:39 -04:00
constants.js FEATURE: Enable rich editor for all users (#33699) 2025-07-28 10:08:50 +10:00
hex-to-rgba.js DEV: Convert admin charts to glimmer/gjs (#28271) 2024-08-23 14:59:56 +02:00
setting-object-helper.js DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
site-setting-filter.js DEV: Improve site setting search ranking (#32461) 2025-04-28 16:58:27 +08:00
site-setting-matcher.js DEV: Improve site setting search ranking (#32461) 2025-04-28 16:58:27 +08:00
template-form-fields.js FEATURE: Implement tag group selection in dropdown and multi-select for topic creation and preview when using Form Templates (#32108) 2025-04-17 08:38:03 -05:00