sass - Using Compass style library without their command line tool -
i'm working on web application. have build process compiles our .scss
files final .css
stylesheet. we'd adopt compass, , use semantic blueprint mixins.
however, compass seems want "own" project structure. have build tool (brunch), , want use compass' mixins, not whole workflow.
is there way access compass' mixins vanilla sass?
or, alternatively,
is there way limit compass' command line tool only .scss
files, , leave images , javascript alone?
i'm not sure if need here's do:
i have custom compass_config.rb set paths how want them:
http_path = '/' sass_dir = 'your/sass/path' css_dir = 'your/css/path' images_dir = 'your/image/path' javascripts_dir = 'your/javascript/path'
then use compass command line tool following parameters: compass compile --sass-dir other/sass/path/stylesheets --css-dir other/css/path/stylesheets -c path/to/compass_config.rb
it may seem silly important thing here can:
- configure default paths need them in
compass_config.rb
(of course can name file wish) - tell compass needs perform when executed through command options
- you can use
watch
instead odcompile
continuously poll changes , compile when happen
please have @ compass -h
, compass compile
or here.
i hope helps.
Comments
Post a Comment