@use './components/mat-accordion' as accordian;
@use './components/mat-button' as button;
@use './components/mat-button-slider' as slider;
@use './components/mat-card' as card;
@use './components/mat-checkbox' as checkbox;
@use './components/mat-datepicker' as datepicker;
@use './components/mat-form-field' as form-field;
@use './components/mat-progress-bar' as progress-bar;
@use './components/mat-select' as select;
@use './components/mat-tab' as tab;
@use './components/mat-chip' as chip;
@use './components/mat-stepper' as stepper;
@use './components/mat-table' as table;
@use './components/mat-toggle' as toggle;
@use './components/mat-tooltip' as tooltip;
@use './components/mat-dialog' as dialog;
@use './components/mat-paginator' as paginator;
@use './components/mat-radio' as radio;
@use './components/mat-tree' as tree;

// Mixin to include all material component overrides
// Parameters are theme and secondary palette used only for chips
@mixin angular-material-components-override($theme, $secondary) {
  @include accordian.mat-accordion-override($theme);
  @include button.mat-button-override($theme, $secondary);
  @include slider.mat-button-slider-override($theme);
  @include card.mat-card-override($theme);
  @include checkbox.mat-checkbox-override($theme);
  @include datepicker.mat-datepicker-override($theme);
  @include form-field.mat-form-field-override($theme);
  @include progress-bar.mat-progress-bar-override($theme);
  @include select.mat-select-override($theme);
  @include tab.mat-tab-override($theme);
  @include chip.mat-chip-override($theme, $secondary);
  @include radio.mat-radio-override($theme);
  @include stepper.mat-stepper-override($theme);
  @include table.mat-table-override($theme);
  @include toggle.mat-toggle-override($theme);
  @include tooltip.mat-tooltip-override($theme);
  @include dialog.mat-dialog-override($theme);
  @include paginator.mat-paginator-override($theme);
  @include tree.mat-tree-override($theme);
}
