mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 22:26:29 +08:00
4b9061ae3f
As a single example, if a `<kbd>` tag is wrapped by a `<a>` link, it doesn't inherit the link color: `[<kbd>❓ **Support**</kbd>](https://meta.discourse.org)` It's because the `<kbd>` tag has a `color: var(--primary);` CSS rule which seems superfluous. If we disable it, the `<kbd>` tag inherits all the normal colors (including the link color 👌). The direct `<kbd>` parent that assigns the text color is `<html>` (can't go higher!) which has an identical `color: var(--primary);`. WCAG palettes don't seem to assign specific colors in this context. It seems fairly safe to remove `color: var(--primary);` from `<kbd>` so it won't interfere anymore with its content. |
||
---|---|---|
.. | ||
admin | ||
base | ||
components | ||
foundation | ||
modal | ||
select-kit | ||
d-editor.scss | ||
font-variables.scss | ||
input_tip.scss | ||
printer-friendly.scss | ||
software-update-prompt.scss | ||
topic-entrance.scss | ||
topic-timeline.scss | ||
whcm.scss |