Skip to content

Resolve theming-related build-time warning by updating igniteui-theming to 20 or later #51

@turbobobbytraykov

Description

@turbobobbytraykov

Currently the demos here use igniteui-theming ^17.1.0 which is from april.
With that version we get the following build-time warnings when building the demos:
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use meta.type-of instead.

More info and automated migrator: https://sass-lang.com/d/import


19 │ @if type-of($shadow) != list {
│ ^^^^^^^^^^^^^^^^

../../../igniteui-theming/sass/elevations/_functions.scss 19:9 -is-shadow()
../../../igniteui-theming/sass/elevations/_functions.scss 81:13 box-shadow()
../../../igniteui-theming/sass/elevations/presets/_material.scss 26:6 @forward
../../../igniteui-theming/sass/elevations/presets/_index.scss 21:1 @use
../../../../projects/finance-grid/src/finance-grid.scss 4:1 root stylesheet

DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use meta.type-of instead.

More info and automated migrator: https://sass-lang.com/d/import

That problem was solved in https://github.com/IgniteUI/igniteui-theming/pull/453/files#diff-41a4145b7131e7cd42a08b25e1f0c7647b861c3cee4e9d3c4610821a11bb540e which was first introduces in igniteui-theming 20.0.0 - from September this year.

Furthermore, the latest major version of igniteui-theming is 24

Metadata

Metadata

Labels

🐛 bugSomething isn't working✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions