Link hover/focus/active styling #1042
Labels
component-ui
Affects the user interface on the open-fixture-library.org website.
difficulty-easy
Implementation is relatively straighforward.
good first issue
Easy to pick up for new contributors. Only little domain knowledge required.
hacktoberfest
Good issue for users participating in the Hacktoberfest.
priority-medium
Great to have in the long run, but not urgent.
Currently, links only change their color slightly when hovering / focusing / clicking them. Hovering leads to a lighter color, which decreases readability.
Instead, links should be highlighted in the following way:
:link
color
: keep previous link color (blue, in some places also grey), it must always be good readable against the current backgroundtext-decoration: underline;
text-decoration-color: transparent;
text-underline-offset: 2px;
transition
: Addtext-decoration-color
with same duration as existing transitions (color
,fill
, ...), e.g.0.1s
:hover
,:focus
text-decoration-color: currentColor;
:active
color
andfill
) to another color that is very good distinguishable from the normal link color, likeorange-background
(#ff9800
).This should, like before, only apply to inline text links. I.e. the download button, list/grid/card links, menu items, etc. should be excluded.
The text was updated successfully, but these errors were encountered: