Skip to content

Commit 194802b

Browse files
authored
chore(a11y): improving a11y score to 100% for home and doc pages (testing-library#1406)
* chore(a11y): improving a11y score to 100% for home and doc pages * chore(a11y): addressing comments
1 parent 9b7ae3f commit 194802b

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

src/css/custom.css

+14-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,16 @@
22
--ifm-light-background-color: var(--ifm-color-emphasis-100);
33
}
44

5-
html[data-theme='dark'] {
6-
--ifm-link-color: #679df5;
5+
[data-theme='dark']:root {
6+
--ifm-color-primary: #7FA8F1;
7+
--ifm-link-color: #7FA8F1;
8+
--docsearch-muted-color: white;
9+
}
10+
11+
[data-theme='light']:root {
12+
--ifm-color-primary: #1554B7;
13+
--ifm-link-color: #1554B7;
14+
--docsearch-muted-color: #494B5F;
715
}
816

917
.wrapper {
@@ -75,6 +83,10 @@ html[data-theme='dark'] {
7583
line-height: 1em;
7684
}
7785

86+
.theme-doc-markdown {
87+
--ifm-link-decoration: underline;
88+
}
89+
7890
@media only screen and (min-width: 480px) {
7991
.projectTitle {
8092
font-size: 300%;

0 commit comments

Comments
 (0)