aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baker <[email protected]>2016-04-27 19:37:44 -0700
committerChristopher Baker <[email protected]>2016-04-27 19:37:44 -0700
commit84f801833d19be05c53e864bf7476bebbb9cafac (patch)
tree4b886021a3b5ce9a044cca5dd4f8c10c902a4107
parent859c12a04405fcc8d4fd89343fa680cf8d6c119e (diff)
downloadbootstrap-84f801833d19be05c53e864bf7476bebbb9cafac.tar.xz
bootstrap-84f801833d19be05c53e864bf7476bebbb9cafac.zip
add $inverse-bg and $inverse-color
-rw-r--r--scss/_variables.scss6
-rw-r--r--scss/utilities/_background.scss4
2 files changed, 6 insertions, 4 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 5ef5bcb4b..cc65867ba 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -99,8 +99,10 @@ $border-width: 1px !default;
//
// Settings for the `<body>` element.
-$body-bg: #fff !default;
-$body-color: $gray-dark !default;
+$body-bg: #fff !default;
+$body-color: $gray-dark !default;
+$inverse-bg: $gray-dark !default;
+$inverse-color: $gray-lighter !default;
// Links
diff --git a/scss/utilities/_background.scss b/scss/utilities/_background.scss
index 737731c95..000f3ab22 100644
--- a/scss/utilities/_background.scss
+++ b/scss/utilities/_background.scss
@@ -5,8 +5,8 @@
// Inverse
// TODO: redo this as a proper class
.bg-inverse {
- color: $body-bg;
- background-color: $body-color;
+ color: $inverse-color;
+ background-color: $inverse-bg;
}
.bg-faded {