// 组件自定义 theme 生成器

// nestedmenu
@mixin nestedmenu-theme($themeName, $background, $color) {
  $prefxiCls: amos-nestedmenu;

  .#{$prefxiCls} {
    &-#{$themeName},
    &-#{$themeName}.bordered,
    &-#{$themeName} & {
      color: rgba($color, 0.65);
      background: $background;
    }

    &-#{$themeName}.bordered {
      box-shadow: initial;
    }

    &-#{$themeName} .active {
      color: $color;
    }

    &-#{$themeName} &-item.disabled,
    &-#{$themeName} &-item.disabled &-item-icon,
    &-#{$themeName} &-item.disabled * {
      color: rgba(#8e8e8e, 0.79);
      background-color: transparent;
    }

    &-#{$themeName} &-divider {
      border-top: 1px solid rgba($color, 0.15);
    }
  }
}
