Skip to content

Commit 80bf6b5

Browse files
authored
Merge pull request #11283 from quarto-dev/bugfix/11282
blend colors against background instead of hard-coding to lighten
2 parents 6e5b32f + 1892616 commit 80bf6b5

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

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

Lines changed: 13 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,12 @@ $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(
276+
if(variable-exists(body-color), $body-color, #fff),
277+
$body-contrast-bg,
278+
30%
279+
) !default;
280+
$table-border-color: $border-color !default;

0 commit comments

Comments
 (0)