mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-28 07:19:11 +08:00
This reduces some duplicate color assignment to tags and rolls them up
under a common css var
```css
:root {
--tag-text-color: var(--primary-high);
}
.extra-info-wrapper {
--tag-text-color: var(--header_primary-high);
}
```
This also makes the tag separator color consistent with the tag color,
by setting it to `--tag-text-color`
Ultimately we have 3 tag text color states (this appeared to be
consistent across all tag styles):
* Default: primary-high
* Header: header__primary-high
* Visited topic in the topic list: primary-medium
|
||
|---|---|---|
| .. | ||
| _index.scss | ||
| categories-admin-dropdown.scss | ||
| category-chooser.scss | ||
| category-drop.scss | ||
| category-row.scss | ||
| category-selector.scss | ||
| color-palettes.scss | ||
| combo-box.scss | ||
| composer-actions.scss | ||
| dropdown-select-box.scss | ||
| email-group-user-chooser.scss | ||
| flair-row.scss | ||
| future-date-input-selector.scss | ||
| icon-picker.scss | ||
| list-setting.scss | ||
| mini-tag-chooser.scss | ||
| multi-select.scss | ||
| notifications-button.scss | ||
| notifications-filter.scss | ||
| period-chooser.scss | ||
| pinned-button.scss | ||
| select-kit.scss | ||
| single-select.scss | ||
| tag-chooser.scss | ||
| tag-drop.scss | ||
| toolbar-popup-menu-options.scss | ||
| topic-chooser.scss | ||
| topic-notifications-button.scss | ||
| user-row.scss | ||