Skip to content

Commit 388538f

Browse files
committed
Auto merge of #106487 - GuillaumeGomez:fix-kbd-var, r=notriddle
Fix --kbd-color variable name in rustdoc.css Interestingly enough, it only impacted the dark theme. Before: ![Screenshot from 2023-01-05 11-03-17](https://user-images.githubusercontent.com/3050060/210754145-c3bb0f50-d35f-4543-bf73-010a4524a803.png) After: ![Screenshot from 2023-01-05 11-03-05](https://user-images.githubusercontent.com/3050060/210754190-85c2f146-a774-4463-9cd3-9495b7c91bd7.png) r? `@notriddle`
2 parents 1d284af + 112723b commit 388538f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@ kbd {
13691369
vertical-align: middle;
13701370
border: solid 1px var(--border-color);
13711371
border-radius: 3px;
1372-
color: var(--kbd--color);
1372+
color: var(--kbd-color);
13731373
background-color: var(--kbd-background);
13741374
box-shadow: inset 0 -1px 0 var(--kbd-box-shadow-color);
13751375
}

src/test/rustdoc-gui/help-page.goml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ call-function: ("check-colors", {
3939
})
4040
call-function: ("check-colors", {
4141
"theme": "dark",
42-
"color": "rgb(221, 221, 221)",
42+
"color": "rgb(0, 0, 0)",
4343
"background": "rgb(250, 251, 252)",
4444
"box_shadow": "rgb(198, 203, 209)",
4545
})

0 commit comments

Comments
 (0)