Skip to content

Commit

Permalink
Fix checkbox, dots bg color in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Arseny Lisin committed Feb 21, 2023
1 parent ea5602f commit 4260601
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions client/src/components/App/index.css
Expand Up @@ -33,6 +33,8 @@
--alert-message-color: #24426c;
--alert-message-border: #cbdbf2;
--alert-message-bg: #dae5f5;
--checkbox-bg: #e2e2e2;
--radio-bg: #ffffff;
}

[data-theme="dark"] {
Expand Down Expand Up @@ -65,6 +67,8 @@
--alert-message-color: #e6e6e6;
--alert-message-border: #363648;
--alert-message-bg: #363648;
--checkbox-bg: #a4a4a4;
--radio-bg: #a4a4a4;
}

body {
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/ui/Checkbox.css
Expand Up @@ -48,7 +48,7 @@
height: 20px;
min-width: 20px;
margin-right: 10px;
background-color: #e2e2e2;
background-color: var(--checkbox-bg);
background-repeat: no-repeat;
background-position: center center;
background-size: 12px 10px;
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/ui/Tabler.css
Expand Up @@ -14317,7 +14317,7 @@ textarea[cols] {

.custom-control-label:before {
border: 1px solid rgba(0, 40, 100, 0.12);
background-color: #fff;
background-color: var(--radio-bg);
background-size: 0.5rem;
}

Expand Down

0 comments on commit 4260601

Please sign in to comment.