From fc834aedd9c92537bc2325f3f4d615c3506411f5 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Sun, 13 Sep 2026 11:14:38 +0200 Subject: [PATCH] build: switch infra to material symbols Switches the various infrastructure apps to use Material Symbols instead of Material Icons. Relates to #24845. --- integration/yarn-pnp-compat/src/index.html | 2 +- src/dev-app/dev-app/dev-app-layout.ts | 7 +------ src/dev-app/index.html | 1 - src/e2e-app/index.html | 2 +- src/universal-app/index-source.html | 2 +- 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/integration/yarn-pnp-compat/src/index.html b/integration/yarn-pnp-compat/src/index.html index dc58be14fdd7..65fc76e825e9 100644 --- a/integration/yarn-pnp-compat/src/index.html +++ b/integration/yarn-pnp-compat/src/index.html @@ -8,7 +8,7 @@ - + diff --git a/src/dev-app/dev-app/dev-app-layout.ts b/src/dev-app/dev-app/dev-app-layout.ts index 436ccec8b721..8125ae2150f8 100644 --- a/src/dev-app/dev-app/dev-app-layout.ts +++ b/src/dev-app/dev-app/dev-app-layout.ts @@ -18,7 +18,7 @@ import { DOCUMENT, } from '@angular/core'; import {MatButtonModule} from '@angular/material/button'; -import {MatIconModule, MatIconRegistry} from '@angular/material/icon'; +import {MatIconModule} from '@angular/material/icon'; import {MatListModule} from '@angular/material/list'; import {MatSidenavModule} from '@angular/material/sidenav'; import {MatToolbarModule} from '@angular/material/toolbar'; @@ -52,7 +52,6 @@ export class DevAppLayout { private _dir = inject(Directionality) as DevAppDirectionality; private _changeDetectorRef = inject(ChangeDetectorRef); private _document = inject(DOCUMENT); - private _iconRegistry = inject(MatIconRegistry); private _route = inject(ActivatedRoute); state = getAppState(); @@ -227,10 +226,6 @@ export class DevAppLayout { ? 'theme-m3.css' : 'theme.css'; } - - this._iconRegistry.setDefaultFontSetClass( - value ? 'material-symbols-outlined' : 'material-icons', - ); this.state.m3Enabled = value; setAppState(this.state); } diff --git a/src/dev-app/index.html b/src/dev-app/index.html index 37466cfede07..17a0c541f05e 100644 --- a/src/dev-app/index.html +++ b/src/dev-app/index.html @@ -8,7 +8,6 @@ - - + Angular Material Universal Kitchen Sink Test - +