From e3443f1a69ba5a23d3e3804bf4e22d384783c443 Mon Sep 17 00:00:00 2001 From: simurai Date: Sat, 12 Mar 2022 02:01:15 +0900 Subject: [PATCH] Fix color-fg utilities in links (#1988) * Fix color-fg utilities in links * Create gorgeous-birds-hear.md --- .changeset/gorgeous-birds-hear.md | 5 +++++ src/links/link.scss | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/gorgeous-birds-hear.md diff --git a/.changeset/gorgeous-birds-hear.md b/.changeset/gorgeous-birds-hear.md new file mode 100644 index 0000000000..6277074e96 --- /dev/null +++ b/.changeset/gorgeous-birds-hear.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Fix color-fg utilities in links diff --git a/src/links/link.scss b/src/links/link.scss index 613218aa2b..80cad058e7 100644 --- a/src/links/link.scss +++ b/src/links/link.scss @@ -49,7 +49,7 @@ .Link--secondary, .Link--primary, .Link--muted { - &:hover [class*='color-text'] { + &:hover [class*='color-fg'] { color: inherit !important; } }