FortAwesome / Font-Awesome

The iconic SVG, font, and CSS toolkit
https://fontawesome.com
Other
73.65k stars 12.19k forks source link

Distribute as web components #3742

Open sethladd opened 10 years ago

sethladd commented 10 years ago

Would love to use font awesome as custom elements and scoped style sheets.

wballard commented 10 years ago

I'm quite interested in this too, do you have a proposed element syntax? Have you 'fought' the @font-face cannot be defined in shadow dom, only at root?

sethladd commented 10 years ago

I wasn't aware of @font-face issues and the shadow dom.

richiksc commented 9 years ago

how about <fa-icon icon="play" size="2x"></fa-icon> no fa- prefixes for icon name, not necessary.