Skip to content

Commit 7eed60b

Browse files
committed
Use dark theme when the system uses dark theme in the documentation
1 parent aa468dc commit 7eed60b

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

docs/_config.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,19 @@ title: cmkr
33
plugins:
44
- jekyll-remote-theme
55

6-
# Build settings
7-
# theme: just-the-docs
8-
remote_theme: pmarsceill/just-the-docs
6+
# Automatically deduce dark theme preference https://github.com/pmarsceill/just-the-docs/pull/464
7+
remote_theme: pdmosses/just-the-docs@light-switch
98
search_enabled: true
9+
color_scheme: light-or-dark
10+
heading_anchors: true
11+
aux_links:
12+
"cmkr":
13+
- "https://github.com/build-cpp/cmkr"
14+
aux_links_new_tab: true
15+
16+
gh_edit_link: true
17+
gh_edit_link_text: "Edit this page on GitHub."
18+
gh_edit_repository: "https://github.com/build-cpp/cmkr"
19+
gh_edit_branch: "main"
20+
gh_edit_view_mode: "edit"
21+
gh_edit_source: docs

0 commit comments

Comments
 (0)