Skip to content

Commit

Permalink
Added dark mode colors
Browse files Browse the repository at this point in the history
  • Loading branch information
kobaltz committed Aug 19, 2024
1 parent 890fdc7 commit 9767eda
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions app/assets/stylesheets/action_auth/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,78 @@ input[type="password"] {
.action-auth--text-center {
text-align: center !important;
}

@media (prefers-color-scheme: dark) {
body {
color: #d5c4a1;
background-color: #282828 !important;
}

.container,
.container-fluid {
background-color: #3c3836 !important;
border-color: #3c3836 !important;
}

input[type="text"],
input[type="email"],
input[type="password"] {
color: #d5c4a1;
background-color: #282828;
border-color: #3c3836;
}

.btn {
color: #fbf1c7;
background-color: #d65d0e;
border-color: #d65d0e;
}

.btn:hover {
background-color: #cc241d;
border-color: #cc241d;
}

.btn:focus {
box-shadow: 0 0 0 0.25rem rgba(214, 93, 14, .5);
}

.btn:disabled {
background-color: #d65d0e;
border-color: #d65d0e;
color: #fbf1c7;
}

.action-auth--table {
background-color: #3c3836;
color: #d5c4a1;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.action-auth--table thead {
background-color: #d79921;
color: #282828;
}

.action-auth--table th,
.action-auth--table td {
border-bottom: 1px solid #504945;
}

.action-auth--table tbody tr:hover {
background-color: #282828;
}

a {
color: #83a598;
text-decoration: none;
}

a:visited {
color: #d3869b;
}

a:hover {
color: #fabd2f;
}
}

0 comments on commit 9767eda

Please sign in to comment.