Skip to content

Commit beee33b

Browse files
committed
refactor: add missing CSS Variables
1 parent b5d3fb6 commit beee33b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scss/_tables.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
//
44

55
.table {
6+
--#{$variable-prefix}table-color: #{$table-color};
67
--#{$variable-prefix}table-bg: #{$table-bg};
8+
--#{$variable-prefix}table-border-color: #{$table-border-color};
79
--#{$variable-prefix}table-striped-color: #{$table-striped-color};
810
--#{$variable-prefix}table-striped-bg: #{$table-striped-bg};
911
--#{$variable-prefix}table-active-color: #{$table-active-color};
@@ -13,9 +15,9 @@
1315

1416
width: 100%;
1517
margin-bottom: $spacer;
16-
color: $table-color;
18+
color: var(--#{$variable-prefix}table-color);
1719
vertical-align: $table-cell-vertical-align;
18-
border-color: $table-border-color;
20+
border-color: var(--#{$variable-prefix}table-border-color);
1921

2022
// Target th & td
2123
// We need the child combinator to prevent styles leaking to nested tables which doesn't have a `.table` class.

0 commit comments

Comments
 (0)