fabric-ds / elements

https://elements.fabric-ds.io
1 stars 3 forks source link

Port elements to inline css #124

Closed digitalsadhu closed 1 year ago

digitalsadhu commented 1 year ago

This PR ports the rest of the elements over to using the new constructed stylesheet for inline CSS.

The use of a shareable constructed stylesheet means that the same reference to the same object containing styles is used for each component thereby improving performance. Loading styles in this way also avoids the FOUC issues caused by including an external stylesheet. This is the recommended way of doing styles in Lit Elements.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.2.0-next.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: