discourse/app/assets/stylesheets/common
Canapin 4b9061ae3f
UX: Remove color attribute from <kbd> tag (#20429)
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.
2023-04-14 10:06:12 +08:00
..
admin UX: truncate theme toggle text to avoid overflow (#21022) 2023-04-07 17:16:44 -04:00
base UX: Remove color attribute from <kbd> tag (#20429) 2023-04-14 10:06:12 +08:00
components UX: Make input on /filter route full width (#20952) 2023-04-04 14:10:39 +10:00
foundation UX: allow sidebar to appear inline down to 768px (#20271) 2023-02-14 09:51:42 +11:00
modal FEATURE: integrate DnD with user status (#19410) 2022-12-16 16:35:39 +04:00
select-kit UX: avoid overflow clipping descenders (#20643) 2023-03-10 16:49:06 -05:00
d-editor.scss DEV: allow themes to more easily set border-radii (#19037) 2022-11-16 11:35:09 -05:00
font-variables.scss FIX: Use rem for font sizes in post headings (#13720) 2021-07-14 11:15:58 +10:00
input_tip.scss DEV: Refactor popup-tip component (#15257) 2021-12-13 11:22:02 -05:00
printer-friendly.scss DEV: Remove lazy-yt and replace with lazy-videos (#20722) 2023-03-29 11:54:25 -04:00
software-update-prompt.scss UX: Add hover style to refresh-page dismiss button (#15711) 2022-02-01 20:04:46 +01:00
topic-entrance.scss fix topic entrance button layout (#11887) 2021-01-28 15:44:01 -05:00
topic-timeline.scss UX: use relative units to prevent timeline crop (#20943) 2023-04-04 09:40:43 -04:00
whcm.scss A11Y: Improve accessibility in WHCM themes (#18606) 2022-10-17 07:07:46 -07:00