mirror of
https://github.com/Damillora/Yuika
synced 2024-11-22 09:17:33 +00:00
Damillora
9f72b03781
With version 3, Yuika now uses Shian as a basis of styling. Since Shian was written with both light and dark themes in mind, this means that the theme now is able to support switching between them. This commit implements a dark theme toggle that will switch the site between light and dark themes.
14 lines
371 B
Handlebars
14 lines
371 B
Handlebars
<div class="menu">
|
|
{{#foreach navigation}}
|
|
<div class="menu__item">
|
|
<a href={{url absolute="true" }}>
|
|
<p class="menu__text">{{label}}</p>
|
|
</a>
|
|
</div>
|
|
{{/foreach}}
|
|
|
|
<div class="menu__item" id="darkMode">
|
|
<i class="material-icons md-24">brightness_low</i>
|
|
<p class="menu__text">Dark Mode</p>
|
|
</div>
|
|
</div> |