Tiny change to make it easy to override variables. #11

Merged
merged 1 commit into from Nov 29, 2011

Projects

None yet

3 participants

@bernardo
Contributor

Adds '!default' to all variable declarations so we can override them, as done in the
compass port of bootstrap (https://github.com/hecbuma/compass-bootstrap). No need for generators or anything complicated, just set
the variables you want to override before importing bootstrap with
'@import bootstrap'.

Ex.:
$gridColumns: 12;
$gridColumnWidth: 60px;
$gridGutterWidth: 20px;
@import "bootstrap";

@bernardo bernardo Adds '!default' to variables.css.scss
Adds '!default' to variables so we can override them, as done in the
compass port of bootstrap. No need for generators or anything, just set
the variables you want to override before importing bootstrap with
'@import bootstrap'.
5cd8a7c
@thomas-mcdonald
Member

Very cool.

@thomas-mcdonald thomas-mcdonald merged commit ea07f6e into twbs:master Nov 29, 2011
@aarti
aarti commented Dec 7, 2013

Exactly what I was looking for, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment