<link rel="stylesheet" href="/styles-2YLIEYNE.css">
This site uses cookies from Google to deliver its services and to analyze traffic.
More details

How to style autocomplete

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

Tokens supported by autocomplete-overrides

NameTypeDefault value
container-shapeBase--mat-sys-corner-extra-small
container-elevation-shadowBase0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)
background-colorColor--mat-sys-surface-container
Azure & Blue theme selected.