-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
I totally dig this pr in postcss-prefix, I think it makes the API for globals muchhhh cleaner and agree on changes that drop deps.
butttt I wonder if it would be cool to make a new possible option called local
for example:
const html = require('choo/html')
const css = require('sheetify')
const styles = css('./component.css', { local: true})
module.exports = (state, prev, send) => html`
<div class=${styles}>Yo!</div>
`
and the css is ./component.css
is scoped to that particular component
whatchya think?
Metadata
Metadata
Assignees
Labels
No labels