Skip to content

Commit

Permalink
use background color
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-oleshkevich committed Mar 22, 2024
1 parent 48d6485 commit 4c9d1d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/css/components/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ input[type="checkbox"].form-switch {
border: 1px solid var(--o-input-border-color);
width: var(--o-input-switch-width);
height: var(--o-input-switch-height);
background: var(--o-input-switch-background);
background-color: var(--o-input-switch-background);

&::after {
content: '';
Expand All @@ -126,7 +126,7 @@ input[type="checkbox"].form-switch {
border-radius: 50%;
width: var(--o-input-switch-knob-size);
height: var(--o-input-switch-knob-size);
background: var(--o-input-switch-knob-background);
background-color: var(--o-input-switch-knob-background);
transform: translateX(var(--x, 0));
transition: all ease-in-out 100ms;
}
Expand Down

0 comments on commit 4c9d1d1

Please sign in to comment.