discourse/lib/stylesheet
Osama Sayegh 10f34ddf86
DEV: Backend support for light/dark mode in color palettes (#30893)
We're embarking on a project for overhauling the color palette and theme
systems in Discourse. As part of this project, we're making each color
palette include light and dark modes instead of the status quo of
requiring 2 separate color palettes to implement light and dark modes.

This commit is a first step towards that goal; it adds a code path for
generating and serving `color_definitions` stylesheets using the
built-in dark variant of a color palette. All of this code path is
behind a default-off site setting `use_overhauled_theme_color_palette`,
so there's no change in behavior unless the setting is enabled.

Internal topic: t/141467.
2025-01-23 15:54:49 +03:00
..
manager DEV: Backend support for light/dark mode in color palettes (#30893) 2025-01-23 15:54:49 +03:00
compiler.rb SECURITY: Generate more category CSS on client 2024-03-15 14:24:11 +08:00
importer.rb DEV: Backend support for light/dark mode in color palettes (#30893) 2025-01-23 15:54:49 +03:00
manager.rb DEV: Backend support for light/dark mode in color palettes (#30893) 2025-01-23 15:54:49 +03:00
watcher.rb DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00