Skip to content

Commit f2e76b2

Browse files
Merge pull request #42 from testcontainers/oleg-nenashev-patch-1
Add Dark Mode to the documentation
2 parents 0d608a5 + e9cca80 commit f2e76b2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

mkdocs.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,19 @@ theme:
121121
font:
122122
text: DM Sans
123123
code: Roboto Mono
124+
palette:
125+
- scheme: default
126+
media: "(prefers-color-scheme: light)"
127+
primary: custom
128+
toggle:
129+
icon: material/brightness-7
130+
name: Switch to dark mode
131+
- scheme: slate
132+
media: "(prefers-color-scheme: dark)"
133+
primary: custom
134+
toggle:
135+
icon: material/brightness-4
136+
name: Switch to light mode
124137
favicon: docs/images/logo/logo_testcontainers_c_square.png
125138
logo: docs/images/logo/logo_testcontainers_c_square.png
126139
icon:

0 commit comments

Comments
 (0)