@@ -241,22 +241,21 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003
241
241
242
242
// scss-docs-start table-color-functions
243
243
@function table-color-map ($background ) {
244
- $table-bg : $background ;
245
244
$color : color-contrast (opaque ($body-bg , $background ));
246
245
$striped-bg : mix ($color , $background , percentage ($table-striped-bg-factor ));
247
246
$active-bg : mix ($color , $background , percentage ($table-active-bg-factor ));
248
247
$hover-bg : mix ($color , $background , percentage ($table-hover-bg-factor ));
249
248
250
249
@return (
251
- " table- bg" : $background ,
252
- " table- color" : $color ,
253
- " table- border-color" : mix ($color , $background , percentage ($table-border-factor )),
254
- " table- striped-bg" : $striped-bg ,
255
- " table- striped-color" : color-contrast ($striped-bg ),
256
- " table- active-bg" : $active-bg ,
257
- " table- active-color" : color-contrast ($active-bg ),
258
- " table- hover-bg" : $hover-bg ,
259
- " table- hover-color" : color-contrast ($hover-bg )
250
+ " bg" : $background ,
251
+ " color" : $color ,
252
+ " border-color" : mix ($color , $background , percentage ($table-border-factor )),
253
+ " striped-bg" : $striped-bg ,
254
+ " striped-color" : color-contrast ($striped-bg ),
255
+ " active-bg" : $active-bg ,
256
+ " active-color" : color-contrast ($active-bg ),
257
+ " hover-bg" : $hover-bg ,
258
+ " hover-color" : color-contrast ($hover-bg )
260
259
);
261
260
}
262
261
// scss-docs-end table-color-functions
0 commit comments