@use '@angular/material' as mat;
@mixin sc-menu-theme($theme) {
    $foreground: map-get($theme, foreground);
    $is-dark-theme: map-get($theme, is-dark);

    $outline-color: mat.get-color-from-palette($foreground, divider, if($is-dark-theme, 0.3, 0.12));

    .sc-menu {
        &--search {
            border-color: $outline-color !important;
            color: mat.get-color-from-palette($foreground, text) !important;
        }

        &__item {
            &-empty {
                color: mat.get-color-from-palette($foreground, text) !important;
            }
        }
    }
}