diff --git a/icon/lib/_icon.scss b/icon/lib/_icon.scss index e7761160de..d96867aeda 100644 --- a/icon/lib/_icon.scss +++ b/icon/lib/_icon.scss @@ -49,13 +49,12 @@ $_custom-property-prefix: 'icon'; -moz-osx-font-smoothing: grayscale; } - span { - ::slotted(svg) { - fill: currentColor; - } - ::slotted(*) { - height: var(--_size); - width: var(--_size); - } + ::slotted(svg) { + fill: currentColor; + } + + ::slotted(*) { + height: var(--_size); + width: var(--_size); } } diff --git a/icon/lib/icon.ts b/icon/lib/icon.ts index d169ad57de..5b01f14fdc 100644 --- a/icon/lib/icon.ts +++ b/icon/lib/icon.ts @@ -11,6 +11,6 @@ import {html, LitElement} from 'lit'; */ export class Icon extends LitElement { protected override render() { - return html``; + return html``; } }