Sha256: 6b4e9931878be4f9f66a0429f1b29abbf8cb850de3d5fcb7c3449960ac6558df

Contents?: true

Size: 1.58 KB

Versions: 4

Compression:

Stored size: 1.58 KB

Contents

//
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

@import "@material/theme/variables";
@import "./variables";

@mixin mdc-radio-unchecked-stroke-color($color) {
  // stylelint-disable-next-line selector-max-specificity
  .mdc-radio__native-control:enabled:not(:checked) + .mdc-radio__background .mdc-radio__outer-circle {
    @include mdc-theme-prop(border-color, $color);
  }
}

@mixin mdc-radio-checked-stroke-color($color) {
  // stylelint-disable-next-line selector-max-specificity
  .mdc-radio__native-control:enabled:checked + .mdc-radio__background .mdc-radio__outer-circle {
    @include mdc-theme-prop(border-color, $color);
  }
}

@mixin mdc-radio-ink-color($color) {
  // stylelint-disable-next-line selector-max-specificity
  .mdc-radio__native-control:enabled + .mdc-radio__background .mdc-radio__inner-circle {
    @include mdc-theme-prop(background-color, $color);
  }
}

@mixin mdc-radio-focus-indicator-color($color) {
  .mdc-radio__background::before {
    @include mdc-theme-prop(background-color, $color, $edgeOptOut: true);
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
material_components_web-sass-0.27.0 vendor/assets/stylesheets/@material/radio/_mixins.scss
material_components_web-sass-0.26.0 vendor/assets/stylesheets/@material/radio/_mixins.scss
material_components_web-sass-0.25.0 vendor/assets/stylesheets/@material/radio/_mixins.scss
material_components_web-sass-0.24.0 vendor/assets/stylesheets/@material/radio/_mixins.scss