Переопределить меньше переменных в twitter-bootstrap-rails
Я использую твиттер-bootstrap-rails gem и в bootstrap_and_overrides.css.less
В файле у меня есть следующие строки:
// 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;
Но когда я раскомментирую @linkColor: #ff0000;
Я получаю следующую ошибку:
Invalid CSS after "...icons-halflings": expected ")", was ".png"");"
Я делаю что-то не так, или это проблема библиотеки?
1 ответ
Кажется, что удаление .png
с и так меняется
// Set the correct sprite paths
@iconSpritePath: asset-path('twitter/bootstrap/glyphicons-halflings.png');
@iconWhiteSpritePath: asset-path('twitter/bootstrap/glyphicons-halflings-white.png');
в
// Set the correct sprite paths
@iconSpritePath: asset-path('twitter/bootstrap/glyphicons-halflings');
@iconWhiteSpritePath: asset-path('twitter/bootstrap/glyphicons-halflings-white');
Решил проблему. Я думаю, что это ошибка библиотеки