Open KirkwallDay opened 2 years ago
Setting a custom primary color on the Spearhead theme results in links turning white on hover.
The hover color should still contain its default behavior of making the link a lighter version of the primary color.
The link turns white and this is a problem if the background is also white.
5459144-zen
Simple
Spearhead
No response
Consistent
Some (< 50%)
Yes, easy to implement
Use a default theme color, or use the CSS below:
/ Fix link color / xxxx-hc/zen (BM) /
.has-link-color a:hover, a:hover { color: var(--global--color-primary); }
/ End fix link color / xxxx-hc/zen (BM) /
Support References
This comment is automatically generated. Please do not edit it.
📌 HOUSEKEEPING
📌 SCRUBBING
📌 FINDINGS/SCREENSHOTS/VIDEO
📌 ACTIONS
Quick summary
Setting a custom primary color on the Spearhead theme results in links turning white on hover.
Steps to reproduce
What you expected to happen
The hover color should still contain its default behavior of making the link a lighter version of the primary color.
What actually happened
The link turns white and this is a problem if the background is also white.
Context
5459144-zen
Platform (Simple, Atomic, or both?)
Simple
Theme-specific issue?
Spearhead
Browser, operating system and other notes
No response
Reproducibility
Consistent
Severity
Some (< 50%)
Available workarounds?
Yes, easy to implement
Workaround details
Use a default theme color, or use the CSS below:
/ Fix link color / xxxx-hc/zen (BM) /
.has-link-color a:hover, a:hover { color: var(--global--color-primary); }
/ End fix link color / xxxx-hc/zen (BM) /