// 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.

// Change the color of the yes button.
//
// Apply directly to the <material-yes-no-buttons> element.
@mixin material-yes-button-color($value) {
  ::ng-deep .btn-yes[raised],
  ::ng-deep .btn-yes.btn:not([disabled]).highlighted[raised] {
    background-color: $value;
  }
}

// Change the color of text in the yes button.
//
// Apply directly to the <material-yes-no-buttons> element.
@mixin material-yes-button-text-color($value) {
  ::ng-deep .btn-yes.btn:not([disabled]) {
    &,
    &.highlighted,
    &.highlighted[raised] {
      color: $value;
    }
  }
}

// Change the color of the no button.
//
// Apply directly to the <material-yes-no-buttons> element.
@mixin material-no-button-color($value) {
  ::ng-deep .btn-no[raised] {
    background-color: $value;
  }
}

// Change the color of text in the no button.
//
// Apply directly to the <material-yes-no-buttons> element.
@mixin material-no-button-text-color($value) {
  ::ng-deep .btn-no {
    color: $value;
  }
}

// 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.

// Change the color of the yes button.
//
// Apply directly to the <material-yes-no-buttons> element.
@mixin material-yes-button-color($value) {
  ::ng-deep .btn-yes[raised],
  ::ng-deep .btn-yes.btn:not([disabled]).highlighted[raised] {
    background-color: $value;
  }
}

// Change the color of text in the yes button.
//
// Apply directly to the <material-yes-no-buttons> element.
@mixin material-yes-button-text-color($value) {
  ::ng-deep .btn-yes.btn:not([disabled]) {
    &,
    &.highlighted,
    &.highlighted[raised] {
      color: $value;
    }
  }
}

// Change the color of the no button.
//
// Apply directly to the <material-yes-no-buttons> element.
@mixin material-no-button-color($value) {
  ::ng-deep .btn-no[raised] {
    background-color: $value;
  }
}

// Change the color of text in the no button.
//
// Apply directly to the <material-yes-no-buttons> element.
@mixin material-no-button-text-color($value) {
  ::ng-deep .btn-no.btn:not([disabled]) {
    color: $value;
  }
}

Fix no-button to not override disabled text label color.
Fix no-button to not override disabled text label color.

PiperOrigin-RevId: 203155410
