material-web/packages/switch/styles.scss
Liz Mitchell c527e93b0d feat(switch): update to new Material Design spec
PiperOrigin-RevId: 389256181
2021-08-06 14:07:22 -07:00

25 lines
507 B
SCSS

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
// stylelint-disable selector-class-pattern --
// Selector '.mdc-*' should only be used in this project.
@use '@material/dom/dom';
@use './switch';
@use './switch-theme';
@include switch.static-styles;
.mdc-switch {
@include switch-theme.theme-styles(switch-theme.$light-theme);
@include dom.forced-colors-mode {
& {
@include switch-theme.theme-styles(switch-theme.$forced-colors-theme);
}
}
}