diff options
| author | Thomas Coleman <[email protected]> | 2014-06-25 15:00:41 +0100 |
|---|---|---|
| committer | Thomas Coleman <[email protected]> | 2014-06-25 15:00:41 +0100 |
| commit | 41f27fd81367f1f4bda48f02de6f3ed9999ad421 (patch) | |
| tree | 2ae5485fbf75e7a551e41c0f3768d014f2ed1d6d | |
| parent | 4abb0957833c7158563244d1770ab9a5e6966150 (diff) | |
| download | bootstrap-41f27fd81367f1f4bda48f02de6f3ed9999ad421.tar.xz bootstrap-41f27fd81367f1f4bda48f02de6f3ed9999ad421.zip | |
Added @gray-base variable to make @gray-{shade} reference, also allows @gray-base to be modified with less#modifyVars and the vars to cascade
| -rw-r--r-- | less/variables.less | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/less/variables.less b/less/variables.less index 582f0f8d3..91cf3d5c8 100644 --- a/less/variables.less +++ b/less/variables.less @@ -7,11 +7,12 @@ // //## Gray and brand colors for use across Bootstrap. -@gray-darker: lighten(#000, 13.5%); // #222 -@gray-dark: lighten(#000, 20%); // #333 -@gray: lighten(#000, 33.5%); // #555 -@gray-light: lighten(#000, 46.7%); // #777 -@gray-lighter: lighten(#000, 93.5%); // #eee +@gray-base: #000; +@gray-darker: lighten(@gray-base, 13.5%); // #222 +@gray-dark: lighten(@gray-base, 20%); // #333 +@gray: lighten(@gray-base, 33.5%); // #555 +@gray-light: lighten(@gray-base, 46.7%); // #777 +@gray-lighter: lighten(@gray-base, 93.5%); // #eee @brand-primary: #428bca; @brand-success: #5cb85c; |
