/*
 * Copyright (C) 2024-2025 BIRU
 *
 * This file is part of Tenzu.
 *
 * Tenzu is free software: you can redistribute it and/or modify it
 * under the terms of the GNU Affero General Public License as published
 * by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
 *
 * You can contact BIRU at ask@biru.sh
 *
 */

@use '@angular/material' as mat;

.mat-mdc-menu-panel {
  border-style: solid;
  border-color: var(--mat-sys-outline);
  border-width: 1px;
  border-bottom-width: 2px;
  a {
    text-decoration: none;
  }
  .mat-mdc-menu-item {
    min-height: 32px;
    .mat-icon {
      font-size: var(--mat-sys-body-large-size);
    }
  }
}

@mixin tokens-overrides() {
  @include mat.menu-overrides((
    item-label-text-size : var(--mat-sys-label-large-size),
    item-label-text-line-height : var(--mat-sys-label-large-line-height),
    item-label-text-color: var(--mat-sys-on-secondary-container),
    item-icon-color: var(--mat-sys-on-secondary),
    item-hover-state-layer-color: var(--mat-sys-secondary-container),
    item-focus-state-layer-color: var(--mat-sys-secondary-container),
    item-icon-size: var(--mat-sys-body-large-size)
  ));
}
