@use '../button-styling' as *;
@use '../../../00-mixins/mixins' as *;

///
/// Secondary button type.
///
/// @since 3.0.0
/// @access public
/// @author Gert-Jan Meire
///
%button-secondary,
.button-secondary {
  @include theme('background-color', 'button-secondary-background');
  @include theme('color', 'button-secondary-color');
  @include theme-content('button-secondary-background', 'button-secondary-hover-background') {
    background-image: linear-gradient(0deg, $theme-color, $theme-color);
  };

  & {
    border: 0;
  }

  &:focus {
    @include theme('background-color', 'button-secondary-hover-background');
    @include theme('color', 'button-secondary-hover-color');
  }

  &:active {
    @include theme('background-color', 'button-secondary-active-background');
    @include theme('color', 'button-secondary-active-color');
  }
}
