Skip to content

Commit 71962cc

Browse files
ORB-8888claude
andcommitted
Lock theme to dark only and brighten footer UI
- Remove light palette and toggle from mkdocs.yml (theme button disappears, dark forced) - Brighten footer top border, footer-meta border, copyright, and social icons for better contrast against dark background Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8b9cb81 commit 71962cc

2 files changed

Lines changed: 33 additions & 11 deletions

File tree

docs/stylesheets/extra.css

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ body {
743743
.md-footer {
744744
background-color: var(--one-bg-elev);
745745
color: var(--one-fg);
746-
border-top: 1px solid var(--one-border);
746+
border-top: 1px solid var(--one-border-strong);
747747
}
748748

749749
.md-footer__inner {
@@ -752,7 +752,14 @@ body {
752752

753753
.md-footer-meta {
754754
background-color: var(--one-bg-elev-2);
755-
color: var(--one-fg-muted);
755+
color: var(--one-fg);
756+
border-top: 1px solid var(--one-border-strong);
757+
}
758+
759+
.md-footer-meta .md-footer-copyright,
760+
.md-footer-meta .md-footer-copyright__highlight {
761+
color: var(--one-fg);
762+
opacity: 1;
756763
}
757764

758765
.md-footer__link {
@@ -778,6 +785,30 @@ body {
778785
letter-spacing: 0.1em;
779786
}
780787

788+
.md-social {
789+
padding: 0.4rem 0;
790+
}
791+
792+
.md-social__link {
793+
color: var(--one-fg);
794+
opacity: 1;
795+
transition: color 0.15s ease, transform 0.15s ease;
796+
}
797+
798+
.md-social__link svg {
799+
fill: var(--one-fg);
800+
}
801+
802+
.md-social__link:hover,
803+
.md-social__link:focus {
804+
color: var(--one-accent);
805+
transform: translateY(-1px);
806+
}
807+
808+
.md-social__link:hover svg {
809+
fill: var(--one-accent);
810+
}
811+
781812
/* ============================================================
782813
15. SEARCH
783814
============================================================ */

mkdocs.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,9 @@ theme:
1616
logo: assets/images/logo.png
1717
favicon: assets/images/logo.png
1818
palette:
19-
- scheme: default
20-
primary: custom
21-
accent: custom
22-
toggle:
23-
icon: material/brightness-7
24-
name: Switch to dark mode
2519
- scheme: slate
2620
primary: custom
2721
accent: custom
28-
toggle:
29-
icon: material/brightness-4
30-
name: Switch to light mode
3122
features:
3223
- navigation.instant
3324
- navigation.instant.progress

0 commit comments

Comments
 (0)