Skip to content

Commit eb31402

Browse files
authored
Change link colors for aid in readability in dark mode. (#4501)
1 parent 0bb1bce commit eb31402

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

website/src/css/custom.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
--ifm-color-primary-light: #24296a;
2121
--ifm-color-primary-lighter: #262b6e;
2222
--ifm-color-primary-lightest: #2b307d;
23+
--color-link: blue;
24+
--color-link-hover: blue;
2325
--ifm-code-font-size: 95%;
2426
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
2527
}
@@ -34,6 +36,8 @@
3436
--ifm-color-primary-light: #fdbe30;
3537
--ifm-color-primary-lighter: #fdc23e;
3638
--ifm-color-primary-lightest: #fecf67;
39+
--color-link: #fdb515;
40+
--color-link-hover: #f5a902;
3741
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
3842
}
3943

@@ -47,10 +51,11 @@
4751

4852
/* Make links more obvious */
4953
a {
50-
color: blue;
54+
color: var(--color-link);
5155
}
56+
5257
a:hover {
53-
color: blue;
58+
color: var(--color-link-hover);
5459
}
5560

5661
/* Styling for the result of TOCInline

0 commit comments

Comments
 (0)