@use "../../core/settings" as *;
@use "../../core/tools" as *;
@use "../../core/helpers" as *;
@forward "../card";

////
/// Warning callout component
///
/// @group components/warning-callout
////

@include nhsuk-exports("nhsuk/components/warning-callout") {
  // Deprecated, to be removed in v11.0
  .nhsuk-warning-callout {
    @include nhsuk-card(
      $card-background-colour: nhsuk-colour("pale-yellow"),
      $card-text-colour: $nhsuk-text-colour,
      $card-border-colour: nhsuk-colour("yellow"),
      $variant: "feature"
    ); // [1]
  }

  // Deprecated, to be removed in v11.0
  .nhsuk-warning-callout__label {
    @include nhsuk-heading-label(
      $heading-background-colour: nhsuk-colour("yellow"),
      $heading-text-colour: $nhsuk-text-colour,
      $silence-warning: true
    ); // [2]
  }
}
