How to style tree

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

Tokens supported by tree-overrides

NameTypeBased on system token
container-background-colorColor--mat-sys-surface
node-text-colorColor--mat-sys-on-surface
node-text-fontTypography--mat-sys-body-large-font
node-text-sizeTypography--mat-sys-body-large-size
node-text-weightTypography--mat-sys-body-large-weight
node-min-heightDensity None
Azure & Blue theme selected.