0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-23 20:54:22 +01:00

Fix table-variants

This commit is contained in:
louismaxime.piton 2023-11-16 10:42:13 +01:00
parent 0d8f37ff2d
commit 961148378a
2 changed files with 5 additions and 3 deletions

View File

@ -741,15 +741,15 @@ $table-accent-bg: transparent !default;
$table-th-font-weight: null !default; $table-th-font-weight: null !default;
$table-striped-color: $table-color !default; $table-striped-color: inherit !default;
$table-striped-bg-factor: .05 !default; $table-striped-bg-factor: .05 !default;
$table-striped-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-striped-bg-factor) !default; $table-striped-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-striped-bg-factor) !default;
$table-active-color: $table-color !default; $table-active-color: inherit !default;
$table-active-bg-factor: .1 !default; $table-active-bg-factor: .1 !default;
$table-active-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-active-bg-factor) !default; $table-active-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-active-bg-factor) !default;
$table-hover-color: $table-color !default; $table-hover-color: inherit !default;
$table-hover-bg-factor: .075 !default; $table-hover-bg-factor: .075 !default;
$table-hover-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-hover-bg-factor) !default; $table-hover-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-hover-bg-factor) !default;

View File

@ -17,6 +17,8 @@
--#{$prefix}table-hover-bg: #{$hover-bg}; --#{$prefix}table-hover-bg: #{$hover-bg};
--#{$prefix}table-hover-color: #{color-contrast($hover-bg)}; --#{$prefix}table-hover-color: #{color-contrast($hover-bg)};
color: var(--#{$prefix}table-color);
background-color: var(--#{$prefix}table-bg);
border-color: var(--#{$prefix}table-border-color); border-color: var(--#{$prefix}table-border-color);
} }
} }