Files
discourse_theme_ran/scss
Jordan Vidrine b4e451e64b DEV: Experimenting with using built in core color palettes for the color picking component (#71)
This PR is the beginning of converting the color picker to use built in
core color palettes.
The `color_schemes` defined in `about.json` are created in core when the
theme is imported,
and we then show all user-selectable color palettes in this sidebar
footer menu.

An important caveat here is that all of the Horizon themes must be
changed to `user_selectable`
otherwise they will not show up in the color palette selector in the
sidebar.

When choosing a color palette that also has a corresponding dark color
palette,
*both* light mode and dark mode are correctly saved with the color
palette(s) chosen,
using the color palette cookie we already have in core.

Anon users can also set a palette, which will be saved in a cookie.

---------

Co-authored-by: Sérgio Saquetim <saquetim@discourse.org>
Co-authored-by: Martin Brennan <martin@discourse.org>
Co-authored-by: Osama Sayegh <asooomaasoooma90@gmail.com>
2025-03-31 13:28:28 +10:00
..
2025-02-24 15:59:49 -06:00
2025-03-11 17:21:46 -05:00
2025-03-18 19:29:42 -05:00
2025-03-25 10:08:16 -05:00
2025-03-28 08:27:36 -05:00
2025-03-19 10:19:25 -05:00
2025-03-12 13:39:27 -05:00
2025-03-27 16:35:08 -05:00
2025-03-27 16:35:08 -05:00
2025-03-18 17:02:45 +01:00
2025-03-28 16:43:52 -05:00
2025-03-27 16:35:08 -05:00