Skip to content

Commit

Permalink
Fix colorize messed up if platform classes used
Browse files Browse the repository at this point in the history
  • Loading branch information
bundyo committed Sep 3, 2019
1 parent 4030401 commit 604da8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/scss/mixins/_colorize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ $root-classes: '.ns-root', '.ns-android', '.ns-ios', '.ns-phone', '.ns-tablet',
}
}

@at-root .ns-dark#{if($is-at-root, #{&}, ' #{&}')} {
@at-root #{if($is-at-root,
selector-append('.ns-dark', &),
selector-nest('.ns-dark', &))} {
@include enhance($name, $arguments, $dark-colors);
}
}
Expand Down

0 comments on commit 604da8d

Please sign in to comment.