rustdoc: revert tooltip background color on light theme to readable

text #fff on background #fdffd3 fails the [WCAG color contrast checker], and
seems like a mistake in 16b55903ee.

[WCAG color contrast checker]: https://accessibleweb.com/color-contrast-checker/
This commit is contained in:
Michael Howell 2022-11-25 09:17:58 -07:00
parent f8b2e13d16
commit 75e4de61d4
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@
--test-arrow-hover-background-color: #4e8bca;
--target-background-color: #fdffd3;
--target-border-color: #ad7c37;
--tooltip-background-color: #fdffd3;
--tooltip-background-color: #000;
--tooltip-color: #fff;
--kbd-color: #000;
--kbd-background: #fafbfc;

View file

@ -146,7 +146,7 @@ call-function: ("check-colors", {
})
call-function: ("check-colors", {
"theme": "light",
"background": "rgb(253, 255, 211)",
"background": "rgb(0, 0, 0)",
"color": "rgb(255, 255, 255)",
"border": "rgb(224, 224, 224)",
})