From 37de11e386e069938e2a6adeac2f961fe7314fa5 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 19 Dec 2016 21:50:31 -0800 Subject: [PATCH] Rename -bg-inverse to -inverse-bg; add -inverse-color (#21371) --- scss/_tables.scss | 8 ++++---- scss/_variables.scss | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/scss/_tables.scss b/scss/_tables.scss index 3d8000045b1d..19106f8bfbc8 100644 --- a/scss/_tables.scss +++ b/scss/_tables.scss @@ -105,8 +105,8 @@ .thead-inverse { th { - color: #fff; - background-color: $table-bg-inverse; + color: $table-inverse-color; + background-color: $table-inverse-bg; } } @@ -118,8 +118,8 @@ } .table-inverse { - color: $body-bg; - background-color: $table-bg-inverse; + color: $table-inverse-color; + background-color: $table-inverse-bg; th, td, diff --git a/scss/_variables.scss b/scss/_variables.scss index 9d98b1e709bb..0a97cfcda069 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -324,7 +324,9 @@ $table-cell-padding: .75rem !default; $table-sm-cell-padding: .3rem !default; $table-bg: transparent !default; -$table-bg-inverse: $gray-dark !default; + +$table-inverse-bg: $gray-dark !default; +$table-inverse-color: $body-bg !default; $table-bg-accent: rgba(0,0,0,.05) !default; $table-bg-hover: rgba(0,0,0,.075) !default;