Skip to content

USWDS - Bug: set-link-from-bg mixin does not set active state #5659

@amyleadem

Description

@amyleadem

Summary

The set-link-from-bg mixin does not create a distinct active state. Instead, it sets both :hover and :active states to the same link hover token.

We should explore updating the mixin to create a link active state that uses either the $theme-link-active-color or $theme-link-reverse-active-color token.

Originally flagged by @amyleadem in #5567 (comment)


From @thisisdano in PR comment:

I believe the reason why this ignores active is to allow the original link color to be lighter (since there are fewer lightening steps to account for without active).

#5567 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions