-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Short
Since the a major use of this will be to handle work done in and around the Salesforce ecosystem, I'd like to request a way to append the slds imprort in each component.
Long
On sfdc platform, all components automatically receive access to the Salesforce Design System css. I believe this is because sfdc doesn't actually use the shadow dom, but a polyfill for it. This presents an issues in that the OSS lwc version does use shadow DOM. I'd like to style my compoents using
the slds without having to manually add the css to each component.
Work Around
For those components, that don't have css file. I update the empty.css to include a slds import( as demonstrated in the example). This works for components without css but doesn't for those that do.