开发者

Getting compass blueprint and sass to work in ruby on rails

开发者 https://www.devze.com 2023-03-05 13:10 出处:网络
I have setup a new project and used compass to generate the blueprint style sheets. I now have the following code in my screen.scss

I have setup a new project and used compass to generate the blueprint style sheets. I now have the following code in my screen.scss

body.bp {
  @include blueprint-typography开发者_开发技巧(true);
  @include blueprint-utilities;
  @include blueprint-debug;
  @include blueprint-interaction;

    $font-color: #C6C6C6;
}

The font in my document does not change however. Using just color:#C6C6C6; works fine. What am I missing here


$font-color is a variable, not the color specification itself, so it should be something like this:

$font-color: #C6C6C6;

body.bp {
  @include blueprint-typography(true);
  @include blueprint-utilities;
  @include blueprint-debug;
  @include blueprint-interaction;

  color: $font-color;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消