@use 'sass:map';
@use '../core/theming/color-utility' as utility;

@mixin theme($theme) {
  $foreground: map.get($theme, foreground);
  $background: map.get($theme, background);

  .mat-mdc-menu-content {
    color: var(--fds-on-surface);
  }

  .uxg-menu-header {
    background-color: utility.get-color-from-token(background, 0.5, $theme);
  }
}
