GithubHelp home page GithubHelp logo

axomdbook's Introduction

axomdbook

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...).

Usage

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"

axomdbook's People

Contributors

gankra avatar

Watchers

 avatar  avatar

axomdbook's Issues

themeing harmony todo-list

Here's things I didn't bother themeing/harmonizing when i quickly hacked this up, and ostensibly should get a proper pass (fine if the answer is "what we have now is fine", should still validate that):

  • main content
    • code-blocks / inline-code
    • tables
    • lists
    • --fg (main text color)
    • misc padding/spacing
  • chrome
    • search bar
    • theme selector menu
    • header/footer/sidebar bg-color/separator

axo-light theme is based on nothing

I couldn't immediately find our light theme so I just used the mdbook light theme and made some stuff pink and orange in a way that I don't think has good contrast. We should dig up the proper definition.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.