diff options
| author | Priyansh <[email protected]> | 2021-11-28 14:27:57 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-28 14:27:57 -0500 |
| commit | d53094ec16ba385faae2973ddee648698b32ab24 (patch) | |
| tree | 9fe907f4f5a4ed57fff915526f36eca9dd05f07e /scss/_tables.scss | |
| parent | 52cd86f8710f8049a744b5bcb9f4a7ce19114b6e (diff) | |
| parent | 5290080d4df3047d04c8a232bca5dc7f8eaa4bc6 (diff) | |
| download | bootstrap-d53094ec16ba385faae2973ddee648698b32ab24.tar.xz bootstrap-d53094ec16ba385faae2973ddee648698b32ab24.zip | |
Merge branch 'twbs:main' into main
Diffstat (limited to 'scss/_tables.scss')
| -rw-r--r-- | scss/_tables.scss | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scss/_tables.scss b/scss/_tables.scss index e10e4c4e4..30e898b58 100644 --- a/scss/_tables.scss +++ b/scss/_tables.scss @@ -3,7 +3,9 @@ // .table { + --#{$variable-prefix}table-color: #{$table-color}; --#{$variable-prefix}table-bg: #{$table-bg}; + --#{$variable-prefix}table-border-color: #{$table-border-color}; --#{$variable-prefix}table-accent-bg: #{$table-accent-bg}; --#{$variable-prefix}table-striped-color: #{$table-striped-color}; --#{$variable-prefix}table-striped-bg: #{$table-striped-bg}; @@ -14,9 +16,9 @@ width: 100%; margin-bottom: $spacer; - color: $table-color; + color: var(--#{$variable-prefix}table-color); vertical-align: $table-cell-vertical-align; - border-color: $table-border-color; + border-color: var(--#{$variable-prefix}table-border-color); // Target th & td // We need the child combinator to prevent styles leaking to nested tables which doesn't have a `.table` class. |
