Skip to content

Commit 0f7e973

Browse files
baijumclaude
andcommitted
feat: apply mission-control theme to docs site
Configure slate scheme with custom palette, IBM Plex Sans / JetBrains Mono fonts, Syne for headings via template override, and wire up the custom stylesheet. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a5f3850 commit 0f7e973

2 files changed

Lines changed: 28 additions & 12 deletions

File tree

mkdocs.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ repo_name: towlion/platform
66

77
theme:
88
name: material
9+
custom_dir: overrides
910
features:
1011
- navigation.tabs
1112
- navigation.sections
@@ -15,18 +16,15 @@ theme:
1516
- content.tabs.link
1617
- content.code.copy
1718
palette:
18-
- scheme: default
19-
primary: indigo
20-
accent: indigo
21-
toggle:
22-
icon: material/brightness-7
23-
name: Switch to dark mode
24-
- scheme: slate
25-
primary: indigo
26-
accent: indigo
27-
toggle:
28-
icon: material/brightness-4
29-
name: Switch to light mode
19+
scheme: slate
20+
primary: custom
21+
accent: custom
22+
font:
23+
text: IBM Plex Sans
24+
code: JetBrains Mono
25+
26+
extra_css:
27+
- stylesheets/custom.css
3028

3129
nav:
3230
- Home: index.md

overrides/main.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{% extends "base.html" %}
2+
3+
{% block extrahead %}
4+
<link rel="preconnect" href="https://fonts.googleapis.com">
5+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
6+
<link href="https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&display=swap" rel="stylesheet">
7+
<style>
8+
.md-typeset h1,
9+
.md-typeset h2,
10+
.md-typeset h3,
11+
.md-typeset h4,
12+
.md-typeset h5,
13+
.md-typeset h6 {
14+
font-family: "Syne", sans-serif;
15+
font-weight: 700;
16+
}
17+
</style>
18+
{% endblock %}

0 commit comments

Comments
 (0)