mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
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. |
||
|---|---|---|
| .. | ||
| no-core-variables.mjs | ||
| require-design-tokens.mjs | ||
| uc-classes-in-where.mjs | ||