From 1c05c1dbf11ad272c142b1007e2ded1aa5cf3d7b Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Thu, 25 Jul 2019 09:41:13 +0200 Subject: Drop `color()`, `theme-color()` & `gray()` functions (#29083) Drop `color()`, `theme-color()` & `gray()` functions in favor of variables. The functions just called a `map-get()` of a map where just the variables were defined. Also the `theme-color-level()` now accepts any color you want instead of only `$theme-colors` colors. The first value now is a variable instead of the `$theme-colors` key. --- scss/_tables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scss/_tables.scss') diff --git a/scss/_tables.scss b/scss/_tables.scss index 20177384b..288f3b44b 100644 --- a/scss/_tables.scss +++ b/scss/_tables.scss @@ -106,7 +106,7 @@ // inheritance to nested tables. @each $color, $value in $theme-colors { - @include table-row-variant($color, theme-color-level($color, $table-bg-level), theme-color-level($color, $table-border-level)); + @include table-row-variant($color, color-level($value, $table-bg-level), color-level($value, $table-border-level)); } @include table-row-variant(active, $table-active-bg); -- cgit v1.2.3