Skip to content

Commit 6c3dd9f

Browse files
committed
docs: update logo SVGs with bracket-dot design and dark mode support
- Replace logos with compact (.) bracket-dot wordmark design - Blue (#0A65C0) variant for light mode, teal (#4FD1C5) for dark mode - Add CSS to swap sidebar logo based on active color scheme
1 parent 5f98927 commit 6c3dd9f

File tree

3 files changed

+76
-35
lines changed

3 files changed

+76
-35
lines changed

docs/assets/logo-white.svg

Lines changed: 34 additions & 18 deletions
Loading

docs/assets/logo.svg

Lines changed: 33 additions & 17 deletions
Loading

docs/assets/styles.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@
1616
height: 1.8rem;
1717
}
1818

19+
/* Sidebar logo: show blue version in light mode, teal in dark mode */
20+
.md-nav--primary .md-nav__title .md-logo img {
21+
content: url("logo.svg");
22+
}
23+
24+
[data-md-color-scheme="slate"] .md-nav--primary .md-nav__title .md-logo img {
25+
content: url("logo-white.svg");
26+
}
27+
1928
/* Always show tabs, even on smaller screens */
2029
@media screen and (max-width: 76.234375em) {
2130
.md-header__button.md-logo {

0 commit comments

Comments
 (0)