Git Product home page Git Product logo

Comments (3)

dcalhoun avatar dcalhoun commented on August 11, 2024

I'm experiencing the same issue. I'm not attempting to @import Compass, but Bourbon. I'd love to hear a solution to this. It seems the @import is attempting to load the file from the root of the app. I have Bourbon installed in a subdirectory _bower_components. Is there a way to provide csscss with additional load paths? Does csscss have a "loadPath" option?

screen shot 2013-12-21 at 9 45 18 pm

from csscss.

zmoazeni avatar zmoazeni commented on August 11, 2024

@D-Land I was able to run csscss by creating a config file: config.rb with these contents:

# in config.rb
require 'singularitygs'
require 'breakpoint'
ruby-2.0.0-p353 ~/projects/drewland.me (master) ∴ be csscss --compass app/_scss/main.scss 
{.footer-nav li}, {.footer-social li} AND {.index-nav li} share 8 rules
{.footer-nav} AND {.nav-links} share 7 rules
{.footer-nav} AND {.footer-social} share 6 rules
{.footer-nav li}, {.footer-social li}, {.index-nav li} AND {.nav-links li} share 6 rules
{.footer-social}, {.index-nav} AND {.nav-links} share 6 rules
{.footer-nav} AND {.index-nav} share 5 rules
{.footer-container} AND {.footer-social} share 4 rules
{.footer-copyright}, {.footer-social} AND {.nav-twitter} share 3 rules
{.nav-links} AND {.nav-links li} share 3 rules
{.index-drew-text,
.index-land-text} AND {.index-nav} share 3 rules
{.footer-container}, {.footer-social} AND {.nav-container} share 3 rules
{.footer-container:after}, {.footer-nav ul:after}, {.footer-social ul:after} AND {.nav-container:after} share 3 rules

from csscss.

zmoazeni avatar zmoazeni commented on August 11, 2024

@dcalhoun There are two different ways right now (kinda ugly at the moment). --compass-with-config config and --require file.rb. --compass will look for config.rb by default.

Those will require the ruby files which you can hijack and do whatever you need.

from csscss.

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.