mirror of
https://github.com/material-components/material-web.git
synced 2024-10-28 06:28:12 +03:00
c527e93b0d
PiperOrigin-RevId: 389256181
25 lines
507 B
SCSS
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);
|
|
}
|
|
}
|
|
}
|