0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-04 10:39:43 +08:00
discourse/stylelint-rules
David Taylor ce04edc1ae
DEV: Enforce :where() for .uc-* upcoming-change classes via stylelint (#41917)
Upcoming changes with `body_class: true` add a `uc-*` class to `<body>`.
This class is temporary, so we do not want core/theme/plugin CSS to
become dependent on it. Therefore we must not allow it to contribute
specificity to selectors.

This commit adds a `discourse/uc-classes-in-where` which reports any
misuse of `.uc-*` classes, fixes up some existing cases, and documents
the pattern in the upcoming-changes skill.
2026-07-22 15:26:59 +01:00
..
no-core-variables.mjs DEV: Exploring a token system (#38700) 2026-04-23 13:47:45 -05:00
require-design-tokens.mjs DEV: Exploring a token system (#38700) 2026-04-23 13:47:45 -05:00
uc-classes-in-where.mjs DEV: Enforce :where() for .uc-* upcoming-change classes via stylelint (#41917) 2026-07-22 15:26:59 +01:00