Skip to content

Commit 575e0ae

Browse files
authored
Add underline to high contrast text when prefers-contrast is active (#1141)
* Add underline to high contrast text when prefers-contrast is active * Add guide class to ensure only body text is underlined * Update _variables.scss Changed to a 1 px thickness and offset for a tighter, cleaner, look and feel.
1 parent 4808d2a commit 575e0ae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_sass/minima/_variables.scss

+6
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ $primary-color: $bitcoin-yellow;
5858
--primary-color-s: 72%;
5959
--primary-color-l: 35%;
6060
--primary-color-l-darker: 25%;
61+
62+
.guide a {
63+
text-decoration: underline;
64+
text-decoration-thickness: 1px;
65+
text-underline-offset: 1px;
66+
}
6167
}
6268
}
6369

0 commit comments

Comments
 (0)