]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Don't redefine `$border-color` in `table-variant` mixin (#37239)
authorJulien Déramond <julien.deramond@orange.com>
Sun, 2 Oct 2022 14:33:11 +0000 (16:33 +0200)
committerGitHub <noreply@github.com>
Sun, 2 Oct 2022 14:33:11 +0000 (16:33 +0200)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
scss/mixins/_table-variants.scss

index ae43ec63d9c866ef50db14d310e817b8538ba6a1..5fe1b9b20da59206b86bc97c81bb372d56ba53bf 100644 (file)
@@ -5,11 +5,11 @@
     $hover-bg: mix($color, $background, percentage($table-hover-bg-factor));
     $striped-bg: mix($color, $background, percentage($table-striped-bg-factor));
     $active-bg: mix($color, $background, percentage($table-active-bg-factor));
-    $border-color: mix($color, $background, percentage($table-border-factor));
+    $table-border-color: mix($color, $background, percentage($table-border-factor));
 
     --#{$prefix}table-color: #{$color};
     --#{$prefix}table-bg: #{$background};
-    --#{$prefix}table-border-color: #{$border-color};
+    --#{$prefix}table-border-color: #{$table-border-color};
     --#{$prefix}table-striped-bg: #{$striped-bg};
     --#{$prefix}table-striped-color: #{color-contrast($striped-bg)};
     --#{$prefix}table-active-bg: #{$active-bg};