-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
I think it's just a matter of having the right NodeJS compat for Vercel, but would be cool if we could set Greenwood's Import Attributes and refactor the inline CSS in the src/components/ directory to use Constructable StyleSheets.
So instead of all the inline CSS
- move it into its own dedicated file
- Use Import Attributes, ex
import sheet from './card.css' with { type: 'css' }
- Adopt it into the Shadow Root, instead of an inline
<style>tag in the templatethis.shadowRoot.adoptedStyleSheets = [ sheet ];
I think was attempted in #22 but Vercel didn't support the Node 18.x version we wanted, but maybe it does now?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers