You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove the global theme mixins from the fintech grid and fintech tree grid component styles #1909
With emulated encapsulation these lines have no visible effect today. The app's global styles.scss already includes the theme, either from the custom theme option or the prebuilt CSS theme.
The next major of igniteui-theming (IgniteUI/igniteui-theming#680) writes the global rules to :root, :scope, :host instead of :root. In a component stylesheet, :host becomes the component's host, so these lines will start theming the component and its subtree:
fintech tree grid: the component switches to the default Material palette and typography. With a custom app theme, its secondary color turns from the app's blue to pink.
fintech grid: the component gets the Material type scale and font, overriding the app's typography.
The rest of the page doesn't change.
Fix
Remove these lines from both templates. The .fin-dark-theme blocks, which call dark-theme() inside a selector, stay as they are.
The removal changes nothing with the current igniteui-theming, so it can ship now, before an igniteui-angular release depends on the new major.
Existing projects
Projects already generated from these templates keep the lines. They're affected only when they update to the igniteui-angular release that moves to the new igniteui-theming major. That release's notes should tell them to remove top-level core(), typography() and theme() calls from component stylesheets.
Correction to the fix above: core() stays. The dark-theme() call under .fin-dark-theme relies on the components that core() registers, and loses its overlay and toggle styles without it. core() itself only emits structural rules and spacing variables that resolve the same on the host. Only typography() and theme($default-palette) need to go, see #1910.
Activity
simeonoff commentedon Nov 25, 2026
Correction to the fix above:
core()stays. Thedark-theme()call under.fin-dark-themerelies on the components thatcore()registers, and loses its overlay and toggle styles without it.core()itself only emits structural rules and spacing variables that resolve the same on the host. Onlytypography()andtheme($default-palette)need to go, see #1910.