Skip to content

Commit 88c68ca

Browse files
authored
Rollup merge of #75837 - GuillaumeGomez:fix-font-color-help-button, r=Cldfire
Fix font color for help button in ayu and dark themes A nice before/after: ![Screenshot from 2020-08-23 14-47-07](https://user-images.githubusercontent.com/3050060/90979230-0dd07400-e554-11ea-85f7-046dfca65e8e.png) ![Screenshot from 2020-08-23 14-47-03](https://user-images.githubusercontent.com/3050060/90979233-145eeb80-e554-11ea-8e63-1864c3f2699b.png) For the ayu theme, the change is very "light", the font color was already close to white, so I unified the color with the pictures of the other buttons: ![Screenshot from 2020-08-23 15-20-45](https://user-images.githubusercontent.com/3050060/90979281-5e47d180-e554-11ea-9993-8595057481ab.png) ![Screenshot from 2020-08-23 15-20-50](https://user-images.githubusercontent.com/3050060/90979279-5daf3b00-e554-11ea-8d39-beb57091aba7.png)
2 parents a838f2f + 5041aee commit 88c68ca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/librustdoc/html/static/themes/ayu.css

+1
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,7 @@ kbd {
495495
#theme-picker, #settings-menu, .help-button {
496496
border-color: #5c6773;
497497
background-color: #0f1419;
498+
color: #fff;
498499
}
499500

500501
#theme-picker > img, #settings-menu > img {

src/librustdoc/html/static/themes/dark.css

+1
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ kbd {
389389
#theme-picker, #settings-menu, .help-button {
390390
border-color: #e0e0e0;
391391
background: #f0f0f0;
392+
color: #000;
392393
}
393394

394395
#theme-picker:hover, #theme-picker:focus,

0 commit comments

Comments
 (0)