added dark mode toggle

This commit is contained in:
ION606
2024-06-24 18:04:51 -04:00
parent 134fc75bd8
commit 48fff2353d
3 changed files with 36 additions and 0 deletions
+29
View File
@@ -82,4 +82,33 @@ a:hover {
.commit-section {
flex: 1 1 300px;
margin-left: 20px;
}
body.dark-mode {
background-color: #333;
color: #f4f4f9;
}
body.dark-mode h1,
body.dark-mode a {
color: #f4f4f9;
}
body.dark-mode input[type="text"],
body.dark-mode input[type="password"],
body.dark-mode input[type="date"],
body.dark-mode button {
background-color: #555;
color: #f4f4f9;
border: 1px solid #777;
}
body.dark-mode button:hover {
background-color: #666;
}
body.dark-mode #commitList {
border: grey solid 1px;
background-color: #444;
color: #f4f4f9;
}