doc: enable three-way dark-mode switch
dark-mode-toggle now allows to also set current mode to "system", which allows people to use the system-wide dark mode setting rather than having to definitively choose between light and dark mode once they've used the button once. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
dbf3c8f5cd
commit
dd1f51148b
1 changed files with 1 additions and 1 deletions
2
doc/_templates/breadcrumbs.html
vendored
2
doc/_templates/breadcrumbs.html
vendored
|
@ -15,7 +15,7 @@
|
|||
{% endblock %}
|
||||
{%- block breadcrumbs_aside %}
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<dark-mode-toggle id="dark-mode-toggle" appearance="toggle" permanent="true"/>
|
||||
<dark-mode-toggle id="dark-mode-toggle" appearance="three-way" permanent="true"/>
|
||||
</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
{%- if display_gh_links %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue