How to style button-toggle

Styles from the material/button-toggle package can be customized using the button-toggle-overrides mixin. This mixin accepts a set of tokens that control how the components will look, either for the entire app or under a specific selector. For example:
@use '@angular/material' as mat;

// Customize the entire app. Change :root to your selector if you want to scope the styles.
:root {
  @include mat.button-toggle-overrides((
    legacy-focus-state-layer-opacity: orange,
    legacy-text-color: red,
  ));
}
You can find the full list of supported mixins and tokens below.

Tokens supported by button-toggle-overrides

NameTypeBased on system token
legacy-heightDensity None
legacy-shapeBase None
legacy-focus-state-layer-opacityColor None
legacy-text-colorColor None
legacy-state-layer-colorColor None
legacy-selected-state-text-colorColor None
legacy-selected-state-background-colorColor None
legacy-disabled-state-text-colorColor None
legacy-disabled-state-background-colorColor None
legacy-disabled-selected-state-background-colorColor None
legacy-label-text-fontTypography None
legacy-label-text-line-heightTypography None
legacy-label-text-sizeTypography None
legacy-label-text-trackingTypography None
legacy-label-text-weightTypography None
shapeBase None
hover-state-layer-opacityColor None
focus-state-layer-opacityColor None
text-colorColor--mat-sys-on-surface
background-colorBase None
state-layer-colorColor--mat-sys-on-surface
selected-state-background-colorColor--mat-sys-secondary-container
selected-state-text-colorColor--mat-sys-on-secondary-container
disabled-state-text-colorColor--mat-sys-on-surface
disabled-state-background-colorBase None
disabled-selected-state-text-colorColor--mat-sys-on-surface
disabled-selected-state-background-colorColor--mat-sys-on-surface
divider-colorColor--mat-sys-outline
label-text-fontTypography--mat-sys-label-large-font
label-text-line-heightTypography--mat-sys-label-large-line-height
label-text-sizeTypography--mat-sys-label-large-size
label-text-trackingTypography--mat-sys-label-large-tracking
label-text-weightTypography--mat-sys-label-large-weight
heightDensity None
Azure & Blue theme selected.