开发者

Getting compass blueprint and sass to work in ruby on rails

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜