You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have the autoprefixer gem installed and it works perfectly when building the assets for the project, but in the styleguide the styles do not have the vendor prefixes added.
Is there a way that I've missed to enable it?
The text was updated successfully, but these errors were encountered:
I’m planning to provide the option to output the CSS in a separate file instead of inline in the HTML. This should make it easy to use tools like Autoprefixer.
I’m not sure if you are using the command line or Rails integration. In case you use Middleman, this should work:
activate:autoprefixer,inline: true
In other cases, there is a workaround (which also makes compiling faster): Instead of importing your whole Sass project, just link to the generated CSS and import selected Sass files only (usually the files where you define variables etc.). I’m working like this in my projects which are all based on the upcoming version 2.
It's a Rails project, I'll have a go at importing the compiled css instead.
I'm using a Sass function for the colours not variables which wasn't working with the colour block so I'm doing that bit manually. So I don't think I'm using the variables anywhere and I might get away with just the static css.
Hello, I have the autoprefixer gem installed and it works perfectly when building the assets for the project, but in the styleguide the styles do not have the vendor prefixes added.
Is there a way that I've missed to enable it?
The text was updated successfully, but these errors were encountered: