Skip to content

Commit b57ec7b

Browse files
make mixin work with any text color
1 parent 2e7c5b1 commit b57ec7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/stylesheets/new-stylesheets/_helpers.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,6 @@
197197

198198
@mixin underline {
199199
text-decoration: underline;
200-
text-decoration-color: rgba(255, 255, 255, 0.5);
200+
text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
201201
text-underline-offset: 2px;
202202
}

0 commit comments

Comments
 (0)