Skip to content

Commit da670c9

Browse files
Aryamanz29claude
andcommitted
docs: fix active nav color and dark mode logo boundary
- Active nav items now use light blue (#5DD4F5) instead of white - Dark mode: logo gets matching header background (#1B4F6A) to hide white edge artifacts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 4c8af52 commit da670c9

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

docs/assets/stylesheets/extra.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545

4646
/* Sidebar nav links — hover and active */
4747
.md-nav__link:hover,
48-
.md-nav__link--active {
48+
.md-nav__link--active,
49+
.md-nav__item--active > .md-nav__link {
4950
color: #5DD4F5 !important;
5051
}
5152

@@ -54,3 +55,9 @@
5455
.md-nav--secondary .md-nav__link--active {
5556
color: #5DD4F5 !important;
5657
}
58+
59+
/* Dark mode: blend logo white-fringe into the header background */
60+
[data-md-color-scheme="slate"] .md-header__button.md-logo img {
61+
background-color: #1B4F6A;
62+
border-radius: 4px;
63+
}

0 commit comments

Comments
 (0)