Comments (17)
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.
https://gist.github.com/wizonesolutions/0bf97f3bc2fa8faa9682
from meteor-scss.
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.
I'll look at making them a part of the package soon, sass isn't as good without compass!
from meteor-scss.
@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.
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.
@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.
+1 for native Compass support. I would greatly appreciate that. regardless, great work, fourseven.
from meteor-scss.
+1 for compass support. Where do I get this "compass.scss" file?
from meteor-scss.
@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.
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.
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.
What about running Ruby?
from meteor-scss.
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.
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.
Yes, Meteor-Compass works great.
meteor add francocatena:compass
Check README for package configuration.
from meteor-scss.
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)
- Bug: the "original" argument must be of type function HOT 2
- Adding package gives error HOT 1
- _includePaths is not iterable in Meteor 1.8 HOT 9
- Can't get source maps working after upgrading to Meteor 1.10 HOT 1
- Error with @charset when importing Bulma HOT 6
- Can't find binary HOT 1
- :not pseudoselectors removed during compilation HOT 2
- Indented/sass format seems to be supported? HOT 4
- Can't build since update HOT 3
- "Uncaught Error: Element type is invalid" if .scss file with same base name exists in importing file's folder HOT 2
- Same SCSS import in few files will be placed to final CSS once, or each time, when I'm importing it?
- Remove prebuilding binaries a dependency for this package HOT 1
- plugin-cache for fourseven:scss gets insanely huge HOT 3
- Node-Sass deprecated; recommendation is to switch to dart-sass HOT 2
- `includePaths` no longer loading from scss-config.json HOT 4
- File to import... not found in file: undefined HOT 8
- SASS files from node_modules are not being transpiled HOT 4
- Importing sass from scss throws error HOT 2
- Using the @use rule HOT 3
- Cannot download "darwin-arm64-83_binding.node" HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-scss.