]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
feat: keep contrast on `.table-dark`
authorCatalin Zalog <c@zalog.ro>
Sun, 16 Sep 2018 08:06:53 +0000 (11:06 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Fri, 19 Oct 2018 10:01:38 +0000 (13:01 +0300)
In case we set `$body-bg` to a dark color, we have to keep table contrast relevant.

scss/_variables.scss

index 79169319bf500f58a4b8856246740127b14b9705..a8fc43280611333dd4c1dc0057a6f7c20e8f5146 100644 (file)
@@ -343,7 +343,7 @@ $table-dark-bg:               $gray-900 !default;
 $table-dark-accent-bg:        rgba($white, .05) !default;
 $table-dark-hover-bg:         rgba($white, .075) !default;
 $table-dark-border-color:     lighten($gray-900, 7.5%) !default;
-$table-dark-color:            $body-bg !default;
+$table-dark-color:            $white !default;
 
 $table-striped-order:         odd !default;