@import '~@ucap/ng-ui/theme';
@import '~@ucap/ng-ui-organization/theme';
@import '~@ucap/ng-ui-authentication/theme';
@import '~@ucap/ng-ui-group/theme';
@import '~@ucap/ng-ui-chat/theme';

@mixin ucap-ui-theme($theme, $typography) {
  /// ng-ui
  @include ucap-file-upload-queue-theme($theme);
  @include ucap-file-viewer-theme($theme);
  @include ucap-float-action-button-theme($theme);
  @include ucap-inline-edit-input-theme($theme);
  @include ucap-pick-date-theme($theme);
  @include ucap-pick-time-theme($theme);
  @include ucap-split-button-theme($theme);
  @include ucap-step-input-theme($theme);
  @include ucap-title-bar-theme($theme);
  @include ucap-binary-viewer-theme($theme);
  @include ucap-document-viewer-theme($theme);
  @include ucap-image-viewer-theme($theme);
  @include ucap-sound-viewer-theme($theme);
  @include ucap-video-viewer-theme($theme);

  /// organization
  @include ucap-organization-profile-01-theme($theme);
  @include ucap-organization-profile-list-item-01-theme($theme);
  @include ucap-organization-profile-list-theme($theme);
  @include ucap-organization-search-for-tenant-theme($theme);
  @include ucap-organization-tree-theme($theme);

  /// authentication
  @include ucap-authentication-change-password-theme($theme);
  @include ucap-authentication-login-theme($theme);

  /// group
  @include ucap-group-expansion-theme($theme);

  /// chat
  @include ucap-chat-room-expansion-theme($theme);
  @include ucap-chat-room-list-item-01-theme($theme);

  @if $typography != null {
    /// ng-ui
    @include ucap-file-upload-queue-typography($typography);
    @include ucap-file-viewer-typography($typography);
    @include ucap-float-action-button-typography($typography);
    @include ucap-inline-edit-input-typography($typography);
    @include ucap-pick-date-typography($typography);
    @include ucap-pick-time-typography($typography);
    @include ucap-split-button-typography($typography);
    @include ucap-step-input-typography($typography);
    @include ucap-title-bar-typography($typography);
    @include ucap-binary-viewer-typography($typography);
    @include ucap-document-viewer-typography($typography);
    @include ucap-image-viewer-typography($typography);
    @include ucap-sound-viewer-typography($typography);
    @include ucap-video-viewer-typography($typography);

    /// organization
    @include ucap-organization-profile-01-typography($typography);
    @include ucap-organization-profile-list-item-01-typography($typography);
    @include ucap-organization-profile-list-typography($typography);
    @include ucap-organization-search-for-tenant-typography($typography);
    @include ucap-organization-tree-typography($typography);

    /// authentication
    @include ucap-authentication-change-password-typography($typography);
    @include ucap-authentication-login-typography($typography);

    /// group
    @include ucap-group-expansion-typography($typography);

    /// chat
    @include ucap-chat-room-expansion-typography($typography);
    @include ucap-chat-room-list-item-01-typography($typography);
  }
}
