Issues with theming after migration to v13/14
New DiscussionAfter migrating from version 11 to 14 (1 step at a time), I’m having issues with the custom components themes. Components styles do not follow the provided themes anymore.
Used version:
“@infragistics/igniteui-angular”: “^14.0.2”,
In my scss:
@import ‘igniteui-angular/lib/core/styles/themes/index’;
$igx-dark-palette: palette(…);
$custom-grid-summary-dark-theme: grid-summary-theme(
$palette: $igx-dark-palette,
$background-color: rgba(variables.$dark-theme-primary, .6),
$label-color: rgba(black, 0.6),
$result-color: rgb(255,255,255),
$border-color: transparent,
);
.dark-theme {
@include dark-theme($igx-dark-palette);
@include grid-summary($custom-grid-summary-dark-theme);
}
I tried to switch the @import to `@use “igniteui-angular/theming” as *;` as per documentation but then I get an error “Can’t find stylesheet to import. Problem persist after deleting node_modules and running npm install again.
Any idea what the problem could be?
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
3 Created On
May 09, 2023 Last Post
2 years, 9 months ago