aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-06-20 15:36:49 -0700
committerMark Otto <[email protected]>2013-06-20 15:36:49 -0700
commit3c60645ec023b48910946d3e2d1d10da5c851773 (patch)
treea04fd51937f72e0ae442bfb3948980982d923c68
parent83832095215f0ba03d3f23fcb7e37c5782395237 (diff)
parentcd09f3213ba2e07b988708dec6b888f95660b0f9 (diff)
downloadbootstrap-3c60645ec023b48910946d3e2d1d10da5c851773.tar.xz
bootstrap-3c60645ec023b48910946d3e2d1d10da5c851773.zip
Merge pull request #8237 from luishdez/feature/var-heading-family
Add heading font family variable
-rw-r--r--less/type.less1
-rw-r--r--less/variables.less1
2 files changed, 2 insertions, 0 deletions
diff --git a/less/type.less b/less/type.less
index 9a6811e3d..852f7f32f 100644
--- a/less/type.less
+++ b/less/type.less
@@ -54,6 +54,7 @@ a.text-success:focus { color: darken(@state-success-text, 10%); }
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
+ font-family: @headings-font-family;
font-weight: @headings-font-weight;
line-height: @headings-line-height;
small {
diff --git a/less/variables.less b/less/variables.less
index 13ba8885c..4a573a283 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -53,6 +53,7 @@
@line-height-base: 1.428571429; // 20/14
@line-height-computed: floor(@font-size-base * @line-height-base); // ~20px
+@headings-font-family: @font-family-sans-serif;
@headings-font-weight: 500;
@headings-line-height: 1.1;