Coder Social home page Coder Social logo

Comments (17)

bowmande avatar bowmande commented on June 9, 2024

Can you gist your screen.scss?

Drew Bowman

On Thursday, June 13, 2013 at 7:54 AM, Kevin Kaland wrote:

Is it possible to make this work with Compass? Currently getting:
/Users/kevin/meteor/apps/scheduler/sass/screen.scss: Sass compiler error: :1: error: error reading file "compass"


Reply to this email directly or view it on GitHub (#3).

from meteor-scss.

wizonesolutions avatar wizonesolutions commented on June 9, 2024

https://gist.github.com/wizonesolutions/0bf97f3bc2fa8faa9682

from meteor-scss.

bowmande avatar bowmande commented on June 9, 2024

It would work, but you would need to get the actual scss files from compass and put them in your project. Also in Meteor, you don't need to do imports because all of the scss files are compiled together in the project.

Drew Bowman

On Thursday, June 13, 2013 at 10:50 AM, Kevin Kaland wrote:

https://gist.github.com/wizonesolutions/0bf97f3bc2fa8faa9682


Reply to this email directly or view it on GitHub (#3 (comment)).

from meteor-scss.

fourseven avatar fourseven commented on June 9, 2024

I'll look at making them a part of the package soon, sass isn't as good without compass!

from meteor-scss.

wizonesolutions avatar wizonesolutions commented on June 9, 2024

@fourseven That'd be cool. I'll be watching and push it to the team to try scss again.

@bowmande I have working familiarity with SCSS, and I can use Compass as a CLI app, but I am not too savvy on how the actual imports work. Is it possible to add a quick guide to the README on how to add the files to the Meteor project itself? Something I could follow blindly and be reasonably confident it'd work like I expected. That could be a viable workaround since it gets preprocessed anyway, so it's not going to bloat our client-delivered code.

from meteor-scss.

wizonesolutions avatar wizonesolutions commented on June 9, 2024

Tried including the Compass files, but hesitant to do so without understanding the full scope of what I'm doing. Also, Compass itself uses @import...and I can't really rewrite all those...or at least it's not worth it vs. just compass watch.

Looking at sass/node-sass#54, it seems the prospect of Compass support in meteor-scss's current incarnation is grim (Compass isn't SassScript). Unless it is changed to a wrapper around compass compile or something...I dunno.

from meteor-scss.

fourseven avatar fourseven commented on June 9, 2024

@wizonesolutions you're right, most of compass is written in ruby, current node-based compass packages call out to the ruby version. To remove the ruby dependancy it would need to be ported, and right now I don't have the time or ability to achieve that. I'll keep this issue open until the documentation part is done and then I'll close it.

from meteor-scss.

rmolinares avatar rmolinares commented on June 9, 2024

+1 for native Compass support. I would greatly appreciate that. regardless, great work, fourseven.

from meteor-scss.

krazyjakee avatar krazyjakee commented on June 9, 2024

+1 for compass support. Where do I get this "compass.scss" file?

from meteor-scss.

fourseven avatar fourseven commented on June 9, 2024

@krazyjakee there is no current way to use compass in this project. Compass relies on Ruby, and this is not using Ruby to compile the SCSS.

from meteor-scss.

nihaopaul avatar nihaopaul commented on June 9, 2024

to convert all the sass files from bootstrap in sass i used..
sass-convert --from sass --to scss -R .
now i'm now trying to find a compas.sass or compas.scss

Update: now looking at https://github.com/nathggns/node-compass.. requires the compass ruby gem

from meteor-scss.

fourseven avatar fourseven commented on June 9, 2024

As I said, compass without ruby isn't possible yet, follow along here for updates - sass/libsass#82. I'm going to close this, it's not in scope for this project until the other work is finished first.

from meteor-scss.

mitar avatar mitar commented on June 9, 2024

What about running Ruby?

from meteor-scss.

fourseven avatar fourseven commented on June 9, 2024

I strongly believe in not using ruby for this project, so compass is not possible. If you'd like to fork this project feel free, but I want to keep it Javascript-only.

from meteor-scss.

neoeno avatar neoeno commented on June 9, 2024

Raising this in case it's still relevant to anyone. Found https://github.com/francocatena/meteor-compass — seems to use the last version of compass which works with the current libsass. Looks very promising!

from meteor-scss.

LeCoupa avatar LeCoupa commented on June 9, 2024

Yes, Meteor-Compass works great.

 meteor add francocatena:compass

Check README for package configuration.

from meteor-scss.

askucher avatar askucher commented on June 9, 2024

You need just sass and bower

bower install compass-sass-mixins
@import "bower_components/compass-sass-mixins/lib/compass"
//@import "node_modules/compass-sass-mixins/lib/compass"

/*
use your sass mixins here
*/

repository and list of funtions

https://github.com/askucher/compass-sass-mixins

from meteor-scss.

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.