Emotion with AMP pages
I am researching using emotion with AMP pages. When styling AMP pages you need to have you styles inside a style tag with amp-custom attribute and you can only have one style tag in the DOM (AFAIU). So I need to configure emotion to only generate one style tag and I also need to…
Is there any way to use emotion's cache outside React?
I'm working on svelte-based project and I want to use shadow DOM for style encapsulation (chrome extension). Therefore I've attached <style> tag to my app node root (e.g. <div id="app"></div>). In result I have <style> tag inside aforementioned div (which is correct), but I…
Emotion tools - what styles are passed to this component?
I work with Emotion 9. Once I spot a bug, I either log variables from the problematic function, or I debug, and take a look at values. When working with Emotion's css function and passing a variable, I get a className, which might be difficult to link to the correct source. Is…