We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc257cf commit dc08184Copy full SHA for dc08184
layouts/partials/header.html
@@ -9,6 +9,14 @@
9
<label class="header__control--sidebar--open" for="sidebar-panel">
10
{{ partial "lucide" (dict "context" . "icon" "panel-left-open") }}
11
</label>
12
+ <button id="theme-toggle" class="header__control--theme" role="button" aria-label="Toggle theme">
13
+ <span class="header__control--theme--light">
14
+ {{ partial "lucide" (dict "context" . "icon" "sun") }}
15
+ </span>
16
+ <span class="header__control--theme--dark">
17
+ {{ partial "lucide" (dict "context" . "icon" "moon") }}
18
19
+ </button>
20
</div>
21
{{ if ( not ( in .Site.Params.buildtype "package" ) ) }}
22
<!-- Mobile button -->
0 commit comments