/**
 * @license
 * Copyright 2020 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

@use '@material/radio/radio';
@use '@material/radio/radio-theme';

@mixin static-styles() {
  :host {
    @include radio.static-styles();

    display: inline-flex;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
}

@mixin core-styles() {
  @include radio.core-styles();

  :host {
    display: inline-block;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mdc-radio {
    vertical-align: bottom;
    @include radio-theme.unchecked-stroke-color(
      var(--mdc-radio-unchecked-color, #{radio-theme.$unchecked-color})
    );
    @include radio-theme.disabled-unchecked-stroke-color(
      var(--mdc-radio-disabled-color, #{radio-theme.$disabled-circle-color})
    );
    @include radio-theme.disabled-checked-stroke-color(
      var(--mdc-radio-disabled-color, #{radio-theme.$disabled-circle-color})
    );
    @include radio-theme.disabled-ink-color(
      var(--mdc-radio-disabled-color, #{radio-theme.$disabled-circle-color})
    );
  }
}
