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:
committed by
Jacob Overgaard
parent
6c9827b7e8
commit
3025ffdbc3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user