Coder Social home page Coder Social logo

Comments (6)

mirisuzanne avatar mirisuzanne commented on August 21, 2024

Susy works fine with Compass 0.10.5, but I don't know much about the Rails setup.

Do you have a "require susy" line in your compass config for the project? Blueprint is included in the compass core, so may not require a similar line. I'll look into it more if that doesn't work.

from susy.

lailsonbm avatar lailsonbm commented on August 21, 2024

Hi Eric, thanks for your fast response.
I found the problem. It's on the installer compass init. When it finishes, it asks to include the scss files on the application template, instead of the css files:
= stylesheet_link_tag 'compiled/screen.scss', :media => 'screen, projection'
= stylesheet_link_tag 'compiled/print.scss', :media => 'print'
= stylesheet_link_tag 'compiled/ie.scss', :media => 'screen, projection'

Can you please correct that? It's simple, but it can confuse many people (like me). Thanks for this great project.

from susy.

DEfusion avatar DEfusion commented on August 21, 2024

How did you get susy working with compass in a rails project, I'm getting Undefined mixin container the SASS is exactly what the compass create foo -r susy -u susy command output to _base.scss & the gem is defined in my Gemfile.

from susy.

chriseppstein avatar chriseppstein commented on August 21, 2024

@lailsonbm If you has installed using compass init -r susy --using susy then the stylesheets it recommended would have been correct I think. Is that the issue you have? If so, maybe there's just a documentation issue here.

from susy.

DEfusion avatar DEfusion commented on August 21, 2024

@chriseppstein, I think you were replying to me.

I added the gem to my Gemfile (the rails project was already using compass) and copied the styles from the example to my stylesheet and now I get the Undefined mixin container

If I dump the frameworks that Compass has loaded it shows susy as being there, just not getting any of the mixins.

from susy.

DEfusion avatar DEfusion commented on August 21, 2024

Ah if I change the imports from:
@import "susy/susy";

To:
@import "susy";
@import "susy/susy";

Then it works fine.

from susy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.