better solution for iframes/web components
Opened this issue · 2 comments
threepointone commented
ref #6, #aphrodite/130
threepointone commented
here's an idea - what if css.target(window/document/tag)
returned a new css function, after having set up a style tag etc for said window? we then get a single function to style that 'window'. assuming we also support :host
etc by then, this could be a neat solution for efficiently, dynamically bringing css-in-js to web components.
amccloud commented
@threepointone I'd like to tackle iframe support. What are your thoughts on API? From what I can tell, document
, inside of sheet.js, needs to be injected.