ruby - Overriding Foundation settings not working in Middleman -


im doing web in middleman (static ruby web generator)

i have foundation installed , working. in styleshhets folder have _settings file should override foundation's settings.

but somehow not working...

my structure this:

web  source   bower_components    foundation     components      _settings.scss    ...   images   javascript   layouts   stylesheets    ...    _settings.scss    ... 

then in _settings.scss on stlesheets folder want override example body font color red this:

// use these control various global styles // $body-bg: $white;   $body-font-color: red; 

but taking no effect.

config.rb:

# change compass configuration  compass_config |config|   config.output_style = :compact   config.add_import_path "bower_components/foundation/scss"   config.http_path = "/"   config.css_dir = "stylesheets"   config.sass_dir = "stylesheets"   config.images_dir = "images"   config.javascripts_dir = "javascripts"  end   after_configuration   @bower_config = json.parse(io.read("#{root}/.bowerrc"))   sprockets.append_path file.join "#{root}", @bower_config["directory"] end 

any ideas need able override foundations styles via _settings.scss on stylesheets folder ?

here web on github if need see whole structure :

https://github.com/giorgiomartini/giorgio-web

as long _settings.scss imported before foundation.scss should work.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -