From 407e72e0ce79d2e377b8ef65d14d8f6f0a144831 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 5 Jan 2023 11:03:35 +0100 Subject: [PATCH 1/2] Fix --kbd-color variable name in rustdoc.css --- src/librustdoc/html/static/css/rustdoc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index b5f1581321e..288bb1e16ae 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1374,7 +1374,7 @@ kbd { vertical-align: middle; border: solid 1px var(--border-color); border-radius: 3px; - color: var(--kbd--color); + color: var(--kbd-color); background-color: var(--kbd-background); box-shadow: inset 0 -1px 0 var(--kbd-box-shadow-color); } From 112723b4e36df1997ccd14e5d8c382d499bf02ed Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 5 Jan 2023 11:03:45 +0100 Subject: [PATCH 2/2] Update kbd GUI test --- src/test/rustdoc-gui/help-page.goml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/rustdoc-gui/help-page.goml b/src/test/rustdoc-gui/help-page.goml index 80203901ed3..e5cddd56041 100644 --- a/src/test/rustdoc-gui/help-page.goml +++ b/src/test/rustdoc-gui/help-page.goml @@ -39,7 +39,7 @@ call-function: ("check-colors", { }) call-function: ("check-colors", { "theme": "dark", - "color": "rgb(221, 221, 221)", + "color": "rgb(0, 0, 0)", "background": "rgb(250, 251, 252)", "box_shadow": "rgb(198, 203, 209)", })