Added SVG inversion.

This commit is contained in:
donfiguerres 2022-06-10 14:10:04 +08:00
parent f3f928018f
commit 169bcfde94
5 changed files with 17 additions and 18 deletions

View file

@ -4,17 +4,17 @@
default-theme="{{ site.Params.darkMode.default }}"></div>
<a class="nav-link dropdown-toggle" href="#" id="themeSelector" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img src="{{ "/images/moon-svgrepo-com.svg" }}" width=20>
<img src="{{ "/icons/moon-svgrepo-com.svg" }}" width=20>
</a>
<div class="dropdown-menu" aria-labelledby="themeSelector">
<a class="dropdown-item nav-link" href="#" onclick="enableLightTheme()">
<img src="{{ "/images/sun-svgrepo-com.svg" }}" width=20>
<img src="{{ "/icons/sun-svgrepo-com.svg" }}" width=20>
</a>
<a class="dropdown-item nav-link" href="#" onclick="enableDarkTheme()">
<img src="{{ "/images/moon-svgrepo-com.svg" }}" width=20>
<img src="{{ "/icons/moon-svgrepo-com.svg" }}" width=20>
</a>
<a class="dropdown-item nav-link" href="#" onclick="useSystemTheme()">
<img src="{{ "/images/computer-svgrepo-com.svg" }}" width=20>
<img src="{{ "/icons/computer-svgrepo-com.svg" }}" width=20>
</a>
</div>
</li>