// Copyright (c) 2016, the Dart project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

/// Changes the color of the radio button.
///
/// Optional parameter $modifier is used for changing the color of certain
/// material-radio components rather than all material-radio components.
@mixin material-radio-color(
    $primary-color, $focus-indicator-color: $primary-color, $modifier: '') {
  ::ng-deep material-radio#{$modifier}:not(.disabled) .icon-container {
    &.checked .icon {
      color: $primary-color;
    }

    .ripple {
      color: $focus-indicator-color;
    }

    &.focus::after {
      background-color: $focus-indicator-color;
    }
  }
}


// Copyright (c) 2016, the Dart project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

/// Changes the color of the radio button.
///
/// Optional parameter $modifier is used for changing the color of certain
/// material-radio components rather than all material-radio components.
@mixin material-radio-color(
    $primary-color, $focus-indicator-color: $primary-color, $modifier: '') {
  ::ng-deep material-radio#{$modifier}:not(.disabled) .icon-container {
    &.checked .icon {
      color: $primary-color;
    }

    .ripple {
      color: $focus-indicator-color;
    }

    &.focus::after {
      background-color: $focus-indicator-color;
    }
  }
}

/// Overrides the margin of the content.
@mixin material-radio-content-margin($margin) {
  ::ng-deep .content {
    margin: $margin;
  }
}

Add content-margin mixin to Material Radio
Add content-margin mixin to Material Radio

PiperOrigin-RevId: 246580299
