Giter Site home page Giter Site logo

mkdocs-material-themes's Introduction

mkdocs-material-themes
======================

Color themes for the Material MkDocs theme: https://squidfunk.github.io/mkdocs-material/

How to use
===========

Either copy the files in this repo to your MkDocs css directory or add this repository as a submodule to your MkDocs repository (this method allows for easy updates to pull in new themes, etc.)

Then add the css files to your mkdocs.yml:

extra_css:
    - docs/css/mkdocs-material-themes/onedark_colors.css
    - docs/css/mkdocs-material-themes/material_theme.css


Only add one *_colors.css file. Each colors file corresponds to a theme.

Custom Colorschemes
====================

Defining a custom color scheme is simple. Create a new css file such as:

/*custom_colors.css*/
:root {
	--primaryDark: #282C34;
	--secondaryDark: #454C59;
	--primaryLight: #CFD7E6;
	--secondaryLight: #ABB2BF;
	--primaryBlue: #61AFEF;
	--secondaryBlue: #69BBFF;
	--primaryRed: #E06C75;
	--secondaryRed: #FF7A85;
	--primaryGreen: #98C379;
	--secondaryGreen: #B5E890;
	--primaryYellow: #E5C07B;
	--secondaryYellow: #FFD68A;
	--primaryMagenta: #C678DD;
	--secondaryMagenta: #E48AFF;
	--primaryCyan: #56B6C2;
	--secondaryCyan: #66D9E8;
}

Change each variable to the desired hex color and include in your mkdocs.yml file.

mkdocs-material-themes's People

Contributors

zachhannum avatar

Stargazers

Bijan "Biji" Camp avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

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.