Comments (3)
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?
from csscss.
@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.
@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)
- Terminology HOT 4
- Unable to install HOT 4
- "command not found: csscss" HOT 3
- Include SASS files from the cli HOT 7
- Don't know what to do with "@keyframes" HOT 2
- Line numbers HOT 1
- less @import statements with relative paths fail HOT 1
- undefined method `downcase' HOT 8
- csscss has problems with unicode even when ruby version is 2.0 HOT 1
- Add Gulp extension to community extensions HOT 1
- http://connectionrequired.com/ is down HOT 1
- csscss hanging/giving no output HOT 2
- No check for duplicate selector HOT 1
- Duplicate CSS selectors not returned int result HOT 1
- Multiple Rulesets with exact same Selector HOT 1
- Community extension: csscssbeauty
- Comments/charset declarations are included in selectors
- charset followed by comment with code inside raises error
- Requirement of saas Gem
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 csscss.