How to style tooltip

Styles from the material/tooltip package can be customized using the tooltip-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.tooltip-overrides((
    container-color: orange,
    supporting-text-color: red,
  ));
}
You can find the full list of supported mixins and tokens below.

Tokens supported by tooltip-overrides

NameTypeBased on system token
container-shapeBase None
supporting-text-line-heightTypography--mat-sys-body-small-line-height
container-colorColor--mat-sys-inverse-surface
supporting-text-colorColor--mat-sys-inverse-on-surface
supporting-text-fontTypography--mat-sys-body-small-font
supporting-text-sizeTypography--mat-sys-body-small-size
supporting-text-weightTypography--mat-sys-body-small-weight
supporting-text-trackingTypography--mat-sys-body-small-tracking
Azure & Blue theme selected.