mirror of
https://github.com/ION606/commit_grabber.git
synced 2026-05-14 22:06:53 +00:00
added dark mode toggle
This commit is contained in:
+29
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user