astroturf
astroturf copied to clipboard
Better Styling through Compiling: CSS-in-JS for those that want it all.
hi guys! I have some misunderstanding how to use together babel-loader & astroturf/loader when moving from styled-components to astroturf. In my case, when I configure webpack like this: ```js {...
`style-loader` 2.0 now returns ES module and breaks Astroturf’s `require()` --- Right now code like: ```js const styles = css` .button { color: black; border: 1px solid black; background-color: white;...
I'm trying to write an inline style element component, but Astroturf is getting in the way. This fails: ```js function InlineStyle({value, ...props}) { return ( ); } ``` With this...
It would be great to see rollup plugin/loader or example in the docs if it's already possible.
I have file with theme colors: ```js export default { alpha: 'red', beta: 'blue', // ... } ``` When i try to import file and use `astroturf`: ``` import {...
API musings
Since we've got a lot of new-ish api surface area i thought it would be helpful to maybe talk through a more unified vision and approach. Below are a few...
I'm trying to reference another components by using a component in a selector as if it were referencing a class selector. I am trying to change the opacity of a...
First, thanks for creating astroturf, it has almost everything I'd like in a CSS-in-JS library! I'm trying to use it with Parcel, but lots of files are being generated (saved...
Hey, so I've integrated astroturf into my project and I'm curious if there is a way to use global imports. I have added postcss and have tried using https://github.com/scherebedov/postcss-global-import#readme but...