From d1147786369ccae17d915e6301be5e03e7011c6f Mon Sep 17 00:00:00 2001 From: squidfunk Date: Mon, 18 May 2020 21:37:57 +0200 Subject: [PATCH] Added documentation for color schemes --- docs/getting-started.md | 16 +++++++++++++--- mkdocs.yml | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 38423752a..2e70d7994 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -323,9 +323,19 @@ theme: ### Color scheme -> Default: `light` +> Default: `default` -Click on a color name to change the primary color of the theme: +Material for MkDocs supports two color schemes: a light mode, which is just +called `default`, and a dark mode, which is called `slate`. The color scheme +can be set from `mkdocs.yml`: + +``` yaml +theme: + palette: + scheme: slate +``` + +Click on a color name to change the color scheme of the theme: - +