Osama Sayegh
284e708e67
FEATURE: Dark/light mode selector ( #31086 )
...
This commit makes the
[color-scheme-toggle](https://github.com/discourse/discourse-color-scheme-toggle )
theme component a core feature with improvements and bug fixes. The
theme component will be updated to become a no-op if the core feature is
enabled.
Noteworthy changes:
* the color mode selector has a new "Auto" option that makes the site
render in the same color mode as the user's system preference
* the splash screen respects the color mode selected by the user
* dark/light variants of category logos and background images are now
picked correctly based on the selected color mode
* a new `interface_color_selector` site setting to disable the selector
or choose its location between the sidebar footer or header
Internal topic: t/139465.
---------
Co-authored-by: Ella <ella.estigoy@gmail.com >
2025-02-07 03:28:34 +03:00
..
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-01-21 15:55:30 +01:00
2025-02-07 03:28:34 +03:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-01-31 10:48:44 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2025-02-04 15:18:03 +01:00
2024-07-11 07:54:45 -07:00
2024-07-29 15:44:52 +02:00
2025-02-04 15:18:03 +01:00
2025-01-31 10:48:44 +01:00
2025-01-03 14:01:32 +01:00
2025-01-03 14:01:32 +01:00
2025-01-31 10:48:44 +01:00
2025-02-03 16:37:54 +01:00
2025-01-31 10:48:44 +01:00
2025-02-03 16:37:54 +01:00
2025-01-31 10:48:44 +01:00
2024-12-18 15:19:37 +01:00
2025-02-07 03:28:34 +03:00
2025-02-04 15:18:03 +01:00
2025-01-03 14:01:32 +01:00
2025-01-03 14:01:32 +01:00
2025-01-31 10:48:44 +01:00
2025-02-04 15:18:03 +01:00
2025-01-31 10:48:44 +01:00
2025-01-31 10:48:44 +01:00
2025-01-31 10:48:44 +01:00
2025-01-31 10:48:44 +01:00
2025-01-31 10:48:44 +01:00
2025-01-03 14:01:32 +01:00
2025-01-31 10:48:44 +01:00
2025-01-31 10:48:44 +01:00
2025-01-31 10:48:44 +01:00
2025-01-31 10:48:44 +01:00
2025-01-03 14:01:32 +01:00
2025-01-31 10:48:44 +01:00
2025-02-03 16:37:54 +01:00
2025-01-31 10:48:44 +01:00
2025-02-04 15:18:03 +01:00
2025-01-03 14:01:32 +01:00
2025-01-31 10:48:44 +01:00
2025-02-04 15:18:03 +01:00
2025-02-03 16:37:54 +01:00
2025-01-03 14:01:32 +01:00
2025-02-03 16:37:54 +01:00
2025-01-03 14:01:32 +01:00
2025-01-31 10:48:44 +01:00
2025-01-31 10:48:44 +01:00
2025-01-31 10:48:44 +01:00
2025-01-03 14:01:32 +01:00
2025-02-04 15:18:03 +01:00
2025-01-31 10:48:44 +01:00
2025-02-03 16:37:54 +01:00
2025-01-31 10:48:44 +01:00
2025-01-31 10:48:44 +01:00
2025-02-03 16:37:54 +01:00
2025-01-31 10:48:44 +01:00
2018-07-31 14:41:49 +10:00
2018-05-29 21:07:17 +02:00
2015-02-27 23:53:58 +01:00
2019-04-25 22:49:21 +02:00
2015-02-27 23:53:58 +01:00
2015-02-27 23:53:58 +01:00
2024-05-27 09:58:18 +02:00
2017-02-24 11:35:33 +01:00