Skip to content

Commit

Permalink
[ui] use builtin bootstrap color variables to not break dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjuhrich committed Aug 1, 2023
1 parent ad715bd commit 63f1d68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/resources/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -351,17 +351,17 @@ input.money-amount {
/* User card */
.card {
/*margin: 0 20px;*/
background-color: hsl(200, 50%, 98%);
background-color: var(--bs-body-bg);
border-radius: 10px;
overflow: hidden; /* To crop the corners from the children's background */
box-shadow: 0 4px 6px hsla(0, 0%, 0%, 0.2);
color: hsl(0, 0%, 35%)
color: var(--bs-secondary-text-emphasis);
}

.card .card-top {
overflow: auto; /* To set block context */
margin-bottom: 10px;
background-color: hsl(200, 70%, 95%);
background-color: var(--bs-secondary-bg);
padding: 10px 15px 5px 20px;
}

Expand Down

0 comments on commit 63f1d68

Please sign in to comment.