discourse/spec/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
..
compiler_spec.rb FIX: Support light-dark on older browsers (#34438) 2025-08-20 12:45:54 +01:00
importer_spec.rb FIX: Allow creating new color palettes based on custom palettes (#34351) 2025-08-20 11:58:40 +08:00
manager_spec.rb FIX: Allow creating new color palettes based on custom palettes (#34351) 2025-08-20 11:58:40 +08:00