@import '../../style/mixins/index';

@yee-tree-prefix-cls: ~'@{yee-prefix}-tree';
@yee-tree-select-prefix-cls: ~'@{yee-prefix}-select';

.yee-antTreeSwitcherIcon(@yee-type: 'tree-default-open-icon') {
  .@{yee-tree-prefix-cls}-switcher-icon,
  .@{yee-tree-select-prefix-cls}-switcher-icon {
    .yee-iconfont-size-under-12px(10px);

    display: inline-block;
    font-weight: bold;
    svg {
      transition: transform 0.3s;
    }
  }
}

.yee-antTreeShowLineIcon(@yee-type) {
  .@{yee-tree-prefix-cls}-switcher-icon,
  .@{yee-tree-select-prefix-cls}-switcher-icon {
    display: inline-block;
    font-weight: normal;
    font-size: 12px;
    svg {
      transition: transform 0.3s;
    }
  }
}
