I'm using the twitter-bootstrap-rails gem (https://github.com/seyhunak/twitter-bootstrap-rails) in my project. The newest version uses the current bootstrap values (base font size 14 and line height 20 ). I want to set these values back to 13 and 18. I thought it would work by putting
@baseFontSize: 13px;
@baseLineHeight: 18px;
into bootstrap_and_overrides.css.less
. But that doesn't seem to work. So how can I change them?
Thanks
Actually what you posted works for me. Do you put the two lines at the end of the file? Or more precisely after the bootstrap imports:
@import "twitter/bootstrap/bootstrap";
@import "twitter/bootstrap/responsive";
@baseFontSize: 13px;
@baseLineHeight: 18px;
I will not work if you don't because the variables would get overridden.