/**
 * @license
 * Copyright 2023 Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
@use '../theme';
@use './variables';

@mixin core-styles() {
  .forge-open-icon {
    @include base();

    .icon {
      @include icon;
    }
  
    &.forge-open-icon--open {
      .icon {
        @include open;
      }
    }
  }
}

@mixin host() {
  line-height: variables.$line-height;
}

@mixin base() {
  @include theme.property(color, icon-color);
}

@mixin icon() {
  transition: transform variables.$transition-duration;
}

@mixin open() {
  transform: rotate(180deg);
}
