Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Feb 24, 2021
1 parent f4367dd commit d65e880
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
@@ -1,3 +1,8 @@
mkdocs-material-7.0.1+insiders-2.0.0 (2021-02-24)

* Migrated Insiders to the new architecture
* Swapped color palette toggle configuration

mkdocs-material-7.0.1 (2021-02-24)

* Fixed #2334: Google Analytics triggers page view twice (7.0.0 regression)
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog/insiders.md
Expand Up @@ -6,6 +6,11 @@ template: overrides/main.html

## Material for MkDocs Insiders

### 2.0.0 <small>_ February 24, 2021</small>

- Migrated Insiders to the new architecture
- Swapped color palette toggle configuration

### 1.17.0 <small>_ January 31, 2021</small>

- Added support for section index pages
Expand Down
12 changes: 6 additions & 6 deletions docs/setup/changing-the-colors.md
Expand Up @@ -195,21 +195,21 @@ palette toggle can be added via `mkdocs.yml`:
theme:
palette:

# Toggle light mode
# Light mode
- scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/toggle-switch
name: Switch to light mode
icon: material/toggle-switch-off-outline
name: Switch to dark mode

# Toggle dark mode
# Dark mode
- scheme: slate
primary: blue
accent: blue
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
icon: material/toggle-switch
name: Switch to light mode
```

This will render a color palette toggle in the header next to the search bar:
Expand Down

0 comments on commit d65e880

Please sign in to comment.