File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/node_modules/@angular/material/menu/_menu-theme.scss
@use '../core/tokens/m2/mat/menu' as tokens-mat-menu;
@use '../core/style/sass-utils';
@use '../core/tokens/token-utils';
@use '../core/theming/theming';
@use '../core/typography/typography';
@mixin color($config-or-theme) {
$config: theming.get-color-config($config-or-theme);
@include sass-utils.current-selector-or-root() {
@include token-utils.create-token-values(tokens-mat-menu.$prefix,
tokens-mat-menu.get-color-tokens($config));
}
}
@mixin typography($config-or-theme) {
$config: typography.private-typography-to-2018-config(
theming.get-typography-config($config-or-theme));
@include sass-utils.current-selector-or-root() {
@include token-utils.create-token-values(tokens-mat-menu.$prefix,
tokens-mat-menu.get-typography-tokens($config));
}
}
@mixin density($config-or-theme) {}
@mixin theme($theme-or-color-config) {
$theme: theming.private-legacy-get-theme($theme-or-color-config);
@include theming.private-check-duplicate-theme-styles($theme, 'mat-menu') {
$color: theming.get-color-config($theme);
$density: theming.get-density-config($theme);
$typography: theming.get-typography-config($theme);
@if $color != null {
@include color($color);
}
@if $density != null {
@include density($density);
}
@if $typography != null {
@include typography($typography);
}
}
}