我想知道为什么我不能使用LESS在twitter bootstrap中设置变量。我在使用bootstrap_and_overrides.css.less文件的rails上使用ruby。它有以下声明Twitter Bootstrap LESS css
// Your custom LESS stylesheets goes here
//
// Since bootstrap was imported above you have access to its mixins which
// you may use and inherit here
//
// If you'd like to override bootstrap's own variables, you can do so here as well
// See http://twitter.github.com/bootstrap/less.html for their names and documentation
//
// Example:
// @linkColor: #ff0000;
所以我的理解是,我可以在这里设置我的变量。所以我设置
@black: #333;
,然后在我的application.css调用@black
文件,但它不工作,用它尝试过?即不呈现#333
。
我的理解是错误的吗?,我所有的变量和css样式都在bootstrap和override文件中吗?
任何意见赞赏