Skip to content

Commit

Permalink
Update src/packages/core/components/icon/icon.element.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
  • Loading branch information
loivsen and iOvergaard committed Jul 18, 2024
1 parent d22c81b commit 777c693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/core/components/icon/icon.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 777c693

Please sign in to comment.