Skip to content

Commit 46e2bc7

Browse files
authored
Footer hover accessibility (#19)
The color of the links on hover in the footer fail basic contrast checks for accessibility. As a quick fix this PR changes the value from primary to secondary using the recommended infima variables
1 parent 168aa8a commit 46e2bc7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/css/custom.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
--ifm-color-primary-lighter: #1f72ba;
1515
--ifm-color-primary-lightest: #2179c6;
1616
--ifm-code-font-size: 95%;
17+
--ifm-footer-link-hover-color: var(--ifm-color-secondary);
1718
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
1819
}
1920

@@ -27,6 +28,7 @@
2728
--ifm-color-primary-lighter: #7eacd4;
2829
--ifm-color-primary-lightest: #9cbfde;
2930
--ifm-code-font-size: 95%;
31+
--ifm-footer-link-hover-color: var(--ifm-color-secondary);
3032
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
3133
}
3234

0 commit comments

Comments
 (0)