feat: add theme toggler on client side

This commit is contained in:
rramiachraf
2024-03-09 21:40:20 +01:00
parent 33eac92072
commit cdc6dc418f
10 changed files with 149 additions and 89 deletions

View File

@ -37,16 +37,14 @@
color: #222;
}
@media (prefers-color-scheme: dark) {
#home h1 {
color: #eee;
}
#home p {
color: #ddd;
}
#search-input {
background-color: #ddd;
}
.dark #home h1 {
color: #eee;
}
.dark #home p {
color: #ddd;
}
.dark #search-input {
background-color: #ddd;
}