Skip to content

Commit d65e880

Browse files
committed
Documentation
1 parent f4367dd commit d65e880

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
mkdocs-material-7.0.1+insiders-2.0.0 (2021-02-24)
2+
3+
* Migrated Insiders to the new architecture
4+
* Swapped color palette toggle configuration
5+
16
mkdocs-material-7.0.1 (2021-02-24)
27

38
* Fixed #2334: Google Analytics triggers page view twice (7.0.0 regression)

docs/changelog/insiders.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ template: overrides/main.html
66

77
## Material for MkDocs Insiders
88

9+
### 2.0.0 <small>_ February 24, 2021</small>
10+
11+
- Migrated Insiders to the new architecture
12+
- Swapped color palette toggle configuration
13+
914
### 1.17.0 <small>_ January 31, 2021</small>
1015

1116
- Added support for section index pages

docs/setup/changing-the-colors.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,21 +195,21 @@ palette toggle can be added via `mkdocs.yml`:
195195
theme:
196196
palette:
197197
198-
# Toggle light mode
198+
# Light mode
199199
- scheme: default
200200
primary: indigo
201201
accent: indigo
202202
toggle:
203-
icon: material/toggle-switch
204-
name: Switch to light mode
203+
icon: material/toggle-switch-off-outline
204+
name: Switch to dark mode
205205
206-
# Toggle dark mode
206+
# Dark mode
207207
- scheme: slate
208208
primary: blue
209209
accent: blue
210210
toggle:
211-
icon: material/toggle-switch-off-outline
212-
name: Switch to dark mode
211+
icon: material/toggle-switch
212+
name: Switch to light mode
213213
```
214214

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

0 commit comments

Comments
 (0)