Skip to content

Commit 66990b7

Browse files
committed
docs: dark-mode color fine-tune
1 parent 7e7bd19 commit 66990b7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,11 @@
1515
display:none
1616
}
1717
}
18+
19+
/* Make dark-mode links just a tiny bit lighter, for better contrast
20+
on low brightness screens. */
21+
@media screen {
22+
[data-md-color-scheme="slate"] {
23+
--md-typeset-a-color: var(--md-primary-fg-color--light) !important;
24+
}
25+
}

0 commit comments

Comments
 (0)