Update src/packages/core/components/icon/icon.element.ts

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
This commit is contained in:
Lone Iversen
2024-07-18 11:37:15 +02:00
committed by Jacob Overgaard
parent 6c9827b7e8
commit 3025ffdbc3

View File

@@ -52,7 +52,7 @@ export class UmbIconElement extends UmbLitElement {
const value = this.#color || this.#fallbackColor;
if (!value) {
this._style = { '--uui-icon-color': undefined };
this._style = { '--uui-icon-color': 'inherit' };
return;
}