Skip to content

Commit

Permalink
[@mantine/core] Slider: Fix icon used as thumb child not being visibl…
Browse files Browse the repository at this point in the history
…e with the dark color scheme (#7231, #7232)
  • Loading branch information
rtivital committed Dec 12, 2024
1 parent e0a7204 commit 86f8bc1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
width: var(--slider-thumb-size);
border: 4px solid;
transform: translate(-50%, -50%);
color: var(--slider-color);
top: 50%;
cursor: pointer;
border-radius: var(--slider-radius);
Expand Down Expand Up @@ -89,11 +88,13 @@
}

@mixin where-light {
color: var(--slider-color);
border-color: var(--slider-color);
background-color: var(--mantine-color-white);
}

@mixin where-dark {
color: var(--mantine-color-white);
border-color: var(--mantine-color-white);
background-color: var(--slider-color);
}
Expand Down

0 comments on commit 86f8bc1

Please sign in to comment.