Skip to content

Commit fb8c062

Browse files
authored
Fix link hover styles (#1135)
1 parent f6a10e9 commit fb8c062

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/webawesome/src/styles/native.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,12 +248,15 @@
248248
text-underline-offset: 0.125em;
249249
}
250250

251-
*:is([appearance~='accent'], .wa-accent) a {
252-
color: var(--wa-color-brand-on-loud);
251+
*:is([appearance~='accent'], .wa-accent) {
252+
a,
253+
a:hover {
254+
color: currentColor;
255+
}
253256
}
254257

255258
a:hover {
256-
color: color-mix(in oklab, currentColor, var(--wa-color-mix-hover));
259+
color: color-mix(in oklab, var(--wa-color-text-link), var(--wa-color-mix-hover));
257260
text-decoration: var(--wa-link-decoration-hover);
258261
-webkit-text-decoration: var(--wa-link-decoration-hover);
259262
}

0 commit comments

Comments
 (0)