Skip to content

Commit 3e20657

Browse files
committed
blend colors against background instead of hard-coding to lighten
1 parent 6e5b32f commit 3e20657

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/resources/formats/html/bootstrap/_bootstrap-variables.scss

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,14 @@ $code-annotation-higlight-bg: #aaaaaa22 !default;
234234
$breadcrumb-divider: quote(">") !default;
235235

236236
// table variable overrides
237-
$table-group-separator-color: lighten(
237+
$table-group-separator-color: mix(
238238
if(variable-exists(body-color), $body-color, $gray-900),
239+
$body-contrast-bg,
239240
50%
240241
) !default;
241-
$table-group-separator-color-lighter: lighten(
242+
$table-group-separator-color-lighter: mix(
242243
if(variable-exists(body-color), $body-color, $gray-900),
244+
$body-contrast-bg,
243245
70%
244246
) !default;
245247

@@ -267,4 +269,8 @@ $font-weight-monospace-inline: $font-weight-monospace !default;
267269
$code-block-font-size: $code-font-size !default;
268270
$code-inline-font-size: $code-font-size !default;
269271
$link-weight: $font-weight-base !default;
270-
$link-decoration: inherit !default;
272+
$link-decoration: inherit !default;
273+
274+
// border colors
275+
$border-color: mix($body-color, $body-contrast-bg, 30%) !default;
276+
$table-border-color: $border-color !default;

0 commit comments

Comments
 (0)