fix: enhance link styling on hover and active states (#413)

This commit is contained in:
Katsuyuki Karasawa authored and GitHub committed 2025-04-22 23:25:58 +09:00
1 parent 029035736c
commit 0fe29c7aae
1 file changed
+5
+5
View File
@@ -22,9 +22,14 @@
a:not(.no-styling) {
@apply relative bg-none link font-medium text-[var(--primary)]
underline decoration-[var(--link-underline)] decoration-1 decoration-dashed underline-offset-4;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
&:hover, &:active {
@apply decoration-transparent;
background: var(--btn-plain-bg-hover);
border-bottom: 1px dashed var(--link-hover);
text-decoration: none;
}
}