Skip to content

Commit

Permalink
fix(kit): Switch should have dark knob for the dark theme in web pl…
Browse files Browse the repository at this point in the history
…atform (#9658)
  • Loading branch information
nsbarsukov authored Nov 1, 2024
1 parent 8cd3eb8 commit 1c9664a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/kit/styles/components/switch.less
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

&::after {
inline-size: 1rem;
box-shadow: -2.625rem 0 0 0.5rem currentColor;
box-shadow: -2.625rem 0 0 0.5rem var(--tui-background-base);
outline-width: 0.167rem;
transform: scale(0.375);
}
Expand Down Expand Up @@ -89,7 +89,7 @@
right: 0;
border-radius: 100%;
transform: scale(0.33333);
box-shadow: -4.5rem 0 0 0.75rem currentColor;
box-shadow: -4.5rem 0 0 0.75rem var(--tui-background-base);
outline: 0.375rem solid var(--tui-background-neutral-2-pressed);
outline-offset: var(--t-checked-icon, 20rem);
}
Expand Down

0 comments on commit 1c9664a

Please sign in to comment.