File tree Expand file tree Collapse file tree 5 files changed +65
-5
lines changed
Expand file tree Collapse file tree 5 files changed +65
-5
lines changed Original file line number Diff line number Diff line change 1+ /* Default (light) */
2+ : root > body {
3+ --pm-logo : url ("logo-light.svg" );
4+ }
5+
6+ /* Dark (Material's slate scheme) */
7+ [data-md-color-scheme = "slate" ] {
8+ --pm-logo : url ("logo-dark.svg" );
9+ }
10+
11+ /* Apply to the header logo image */
12+ .md-header__button .md-logo img ,
13+ .md-header__button .md-logo svg {
14+ content : var (--pm-logo );
15+ }
Original file line number Diff line number Diff line change @@ -3,27 +3,29 @@ site_description: Official documentation for Pirate MIDI products and tools
33site_url : https://docs.piratemidi.com
44
55theme :
6+ favicon : assets/favicon.png
67 name : material
78 features :
89 - navigation.tabs
910 - navigation.sections
1011 - content.code.copy
1112 - search.suggest
1213 - search.highlight
14+ logo : assets/logo-light.svg
1315 palette :
14- # Light mode (auto-applies if user prefers light)
16+ # Light mode
1517 - media : " (prefers-color-scheme: light)"
1618 scheme : default
1719 primary : indigo
18- accent : indigo
20+ accent : deep orange
1921 toggle :
2022 icon : material/weather-night
2123 name : Switch to dark mode
22- # Dark mode (auto-applies if user prefers dark)
24+ # Dark mode
2325 - media : " (prefers-color-scheme: dark)"
2426 scheme : slate
25- primary : indigo
26- accent : indigo
27+ primary : teal
28+ accent : lime
2729 toggle :
2830 icon : material/weather-sunny
2931 name : Switch to light mode
5355 - Device API :
5456 - Getting Started : device-api/index.md
5557 - Support : support/index.md
58+
59+ extra_css :
60+ - assets/extra.css
You can’t perform that action at this time.
0 commit comments