Skip to content

Commit

Permalink
Don't redefine $border-color in table-variant mixin (#37239)
Browse files Browse the repository at this point in the history
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
julien-deramond and XhmikosR committed Oct 2, 2022
1 parent d49d8ce commit 9edfed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scss/mixins/_table-variants.scss
Expand Up @@ -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};
Expand Down

0 comments on commit 9edfed8

Please sign in to comment.