Dark mode CSS

pull/1/head
Swissky 2022-09-30 16:53:49 +02:00
parent 6ea6af186f
commit dfc3ed0d30
3 changed files with 7 additions and 1 deletions

View File

@ -34,7 +34,7 @@
<a href="https://swisskyrepo.github.io/PayloadsAllTheThingsWeb/">📖PayloadsAllTheThings</a> <a href="https://swisskyrepo.github.io/PayloadsAllTheThingsWeb/">📖PayloadsAllTheThings</a>
<a href="https://swisskyrepo.github.io/HardwareAllTheThings/">🖥HardwareAllTheThings</a> <a href="https://swisskyrepo.github.io/HardwareAllTheThings/">🖥HardwareAllTheThings</a>
<a href="{{ site.baseurl }}/about">👤About</a> <a href="{{ site.baseurl }}/about">👤About</a>
<a class="dark-mode-button" >🌗</a> <a class="dark-mode-button" >🌗 Dark mode</a>
</nav> </nav>
{% include dark-mode.html %} {% include dark-mode.html %}

5
_sass/_dark-mode-button.scss Executable file
View File

@ -0,0 +1,5 @@
.dark-mode-button {
float: right;
background-color: #04AA6D;
color: white;
}

View File

@ -288,3 +288,4 @@ footer {
@import "highlights"; @import "highlights";
@import "share-pages"; @import "share-pages";
@import "svg-icons"; @import "svg-icons";
@import "dark-mode-button";