feat: light/dark theme toggle
This commit is contained in:
parent
979cabd6e9
commit
bb0068a4e9
8 changed files with 80 additions and 7 deletions
8
src/_includes/partials/nav/theme.liquid
Normal file
8
src/_includes/partials/nav/theme.liquid
Normal file
|
@ -0,0 +1,8 @@
|
|||
<li class="theme__toggle client-side">
|
||||
<span class="light">
|
||||
{% tablericon "sun" "Toggle light theme" %}
|
||||
</span>
|
||||
<span class="dark">
|
||||
{% tablericon "moon" "Toggle dark theme" %}
|
||||
</span>
|
||||
</li>
|
Reference in a new issue