From da514737823daeadbb1449d83005f3aa929ba3f1 Mon Sep 17 00:00:00 2001 From: Simeon Simeonoff Date: Wed, 25 Nov 2026 13:53:17 +0200 Subject: [PATCH] fix(angular): remove the global typography and theme from the fintech grid templates The fintech grid and fintech tree grid component stylesheets included typography() and theme($default-palette) at the top level. The app's global stylesheet already includes the theme. With the next igniteui-theming major, the global rules also target :host, so these calls would apply the default Material typography and palette to the component. core() stays, because the dark-theme() call in the component relies on the components it registers. Closes #1909 --- .../fintech-grid/files/src/app/__path__/__filePrefix__.scss | 2 -- .../files/src/app/__path__/__filePrefix__.scss | 3 --- 2 files changed, 5 deletions(-) diff --git a/packages/igx-templates/igx-ts/custom-templates/fintech-grid/files/src/app/__path__/__filePrefix__.scss b/packages/igx-templates/igx-ts/custom-templates/fintech-grid/files/src/app/__path__/__filePrefix__.scss index 1f69471a90..1ff09e9c87 100644 --- a/packages/igx-templates/igx-ts/custom-templates/fintech-grid/files/src/app/__path__/__filePrefix__.scss +++ b/packages/igx-templates/igx-ts/custom-templates/fintech-grid/files/src/app/__path__/__filePrefix__.scss @@ -227,8 +227,6 @@ } @include core(); -@include typography($font-family: $material-typeface, $type-scale: $material-type-scale); - $green-palette: palette($primary: #09f, $secondary: #72da67, $surface: #333); diff --git a/packages/igx-templates/igx-ts/custom-templates/fintech-tree-grid/files/src/app/__path__/__filePrefix__.scss b/packages/igx-templates/igx-ts/custom-templates/fintech-tree-grid/files/src/app/__path__/__filePrefix__.scss index abeacb70a5..95b273caa6 100644 --- a/packages/igx-templates/igx-ts/custom-templates/fintech-tree-grid/files/src/app/__path__/__filePrefix__.scss +++ b/packages/igx-templates/igx-ts/custom-templates/fintech-tree-grid/files/src/app/__path__/__filePrefix__.scss @@ -205,9 +205,6 @@ // Import the theme utilities first @include core(); -@include typography($font-family: $material-typeface, $type-scale: $material-type-scale); -@include theme($default-palette); - $green-palette: palette($primary: #09f, $secondary: #72da67, $surface: #333);