Skip to content

Commit

Permalink
Add dark theme styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rowenslee committed Oct 14, 2024
1 parent b6133a1 commit 635ef80
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions resources/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,29 @@
right: 8px;
top: 38px;
}
}

/* Dark Theme Styles */
@media (prefers-color-scheme: dark) {
body.dark-theme {
background-color: #2a2a2a; /* Softer gray background */
color: #e0e0e0;
}
body.dark-theme h1 {
color: #e0e0e0;
}
body.dark-theme p {
color: #b0b0b0;
}
body.dark-theme .btn-primary {
background-color: #3a3a3a;
border-color: #545454;
}
body.dark-theme .btn-primary:hover {
background-color: #545454;
}
body.dark-theme .card {
background-color: #3a3a3a;
border-color: #545454;
}
}

0 comments on commit 635ef80

Please sign in to comment.