mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 15:18:34 +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. |
||
|---|---|---|
| .. | ||
| assets | ||
| common | ||
| desktop | ||
| javascripts | ||
| locales | ||
| migrations/settings | ||
| screenshots | ||
| scss | ||
| spec/system | ||
| test | ||
| about.json | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| settings.yml | ||
| tsconfig.json | ||
Horizon is a simple, beautiful theme that improves the out-of-the-box experience for Discourse sites.