Skip to content

Commit

Permalink
[Switch] fix switch styles variables for dark theme (#2912)
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoJusticia authored and giladgray committed Sep 7, 2018
1 parent 89c1c27 commit 8ae70f2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/core/src/components/forms/_controls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -378,17 +378,17 @@ $control-indicator-spacing: $pt-grid-size !default;
.#{$ns}-dark & {
@include indicator-colors(
"",
$switch-background-color,
$switch-background-color-hover,
$switch-background-color-active,
$switch-background-color-disabled
$dark-switch-background-color,
$dark-switch-background-color-hover,
$dark-switch-background-color-active,
$dark-switch-background-color-disabled
);
@include indicator-colors(
":checked",
$switch-checked-background-color,
$switch-checked-background-color-hover,
$switch-checked-background-color-active,
$switch-checked-background-color-disabled
$dark-switch-checked-background-color,
$dark-switch-checked-background-color-hover,
$dark-switch-checked-background-color-active,
$dark-switch-checked-background-color-disabled
);

.#{$ns}-control-indicator::before {
Expand Down

1 comment on commit 8ae70f2

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Switch] fix switch styles variables for dark theme (#2912)

Previews: documentation | landing | table

Please sign in to comment.