discourse/lib/stylesheet
David Taylor b12f153a9e
FIX: Support light-dark on older browsers (#34438)
We were already polyfilling `light-dark` for older browsers. However,
that polyfill makes use of native CSS nesting, which is also unsupported
by older browsers. This commit adds the `postcssNesting` transform to
turn that nesting back into flat CSS.

This became a noticable problem since light-dark was added to a critical
core stylesheet in 1ec69c3f2f, which then
caused the whole file to be a syntax error under Safari 16.
2025-08-20 12:45:54 +01:00
..
manager DEV: Compile and serve rtl versions of theme CSS (#32881) 2025-05-23 13:48:57 +01:00
compiler.rb DEV: Resolve mixed-decls misconfiguration (#32858) 2025-05-22 13:52:20 +01:00
importer.rb DEV: Compile 'common' CSS into own assets (#31416) 2025-05-01 10:44:49 +01:00
manager.rb FIX: Support light-dark on older browsers (#34438) 2025-08-20 12:45:54 +01:00
watcher.rb DEV: Add a missing path to the stylesheet watcher (#32579) 2025-05-05 19:31:39 +02:00