0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-01 01:54:24 +01:00

add $inverse-bg and $inverse-color

This commit is contained in:
Christopher Baker 2016-04-27 19:37:44 -07:00
parent 859c12a044
commit 84f801833d
2 changed files with 6 additions and 4 deletions

View File

@ -99,8 +99,10 @@ $border-width: 1px !default;
// //
// Settings for the `<body>` element. // Settings for the `<body>` element.
$body-bg: #fff !default; $body-bg: #fff !default;
$body-color: $gray-dark !default; $body-color: $gray-dark !default;
$inverse-bg: $gray-dark !default;
$inverse-color: $gray-lighter !default;
// Links // Links

View File

@ -5,8 +5,8 @@
// Inverse // Inverse
// TODO: redo this as a proper class // TODO: redo this as a proper class
.bg-inverse { .bg-inverse {
color: $body-bg; color: $inverse-color;
background-color: $body-color; background-color: $inverse-bg;
} }
.bg-faded { .bg-faded {