Customized mdbook theme for axo.dev projects (WIP)
Based on oranda-css, using the base theme of mdbook v0.4.27.
Ideally this will be generated for you by our tools, but for now here's an isolated demo where it can be tested.
The licensing of mdbook is MPL 2.0, so presumably the base theme we're modifying is also under that license. Our modifications will probably also be under that license for simplicity, or the usual dual MIT/Apache if that's allowed (gotta double-check how that works...).
This adds two non-standard mdbook themes:
- axo (variant of mdbook's "navy")
- axo-light (variant of mdbook's "light")
In principle all you need to do to add this theme to your mdbook is:
- copy the
theme
dir into your mdbook - (if you want them to be the default) edit your book.toml to include
[output.html]
default-theme = "axo"
preferred-dark-theme = "axo"