Skip to content

Commit 13f3f31

Browse files
authored
Rollup merge of #141303 - Urgau:pagetoc-fix-color, r=ehuss
Fix pagetoc inactive color in rustc book This PR fixes the color of inactive entry in rustc pagetoc, particularly with the "Rust" theme. | Before | After | |--------|-------| | ![image](https://github.com/user-attachments/assets/c6c8fe9a-0016-46cb-a638-71a62787b629) | ![image](https://github.com/user-attachments/assets/7146be5b-6ac3-4c9b-8e5a-eedd6ce61314) | Live preview at: http://urgau.rf.gd/book Related to #140113 (comment) r? `@ehuss`
2 parents 74636b0 + b8732aa commit 13f3f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustc/theme/pagetoc.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
}
5050
#pagetoc a {
5151
border-left: 1px solid var(--sidebar-bg);
52-
color: var(--sidebar-fg) !important;
52+
color: var(--fg);
5353
display: block;
5454
padding-bottom: 5px;
5555
padding-top: 5px;

0 commit comments

Comments
 (0)