1

新しいプロジェクトを設定し、コンパスを使用して青写真スタイルシートを生成しました。screen.scssに次のコードがあります

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

    $font-color: #C6C6C6;
}

ただし、ドキュメントのフォントは変更されません。使用するだけでcolor:#C6C6C6;問題ありません。ここで何が欠けていますか

4

1 に答える 1

4

$ font-colorは変数であり、色の仕様自体ではないため、次のようになります。

$font-color: #C6C6C6;

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

  color: $font-color;
}
于 2011-05-13T19:00:52.700 に答える