Skip to content

Commit

Permalink
Merge pull request #11283 from quarto-dev/bugfix/11282
Browse files Browse the repository at this point in the history
blend colors against background instead of hard-coding to lighten
  • Loading branch information
cscheid authored Nov 1, 2024
2 parents 6e5b32f + 1892616 commit 80bf6b5
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/resources/formats/html/bootstrap/_bootstrap-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,14 @@ $code-annotation-higlight-bg: #aaaaaa22 !default;
$breadcrumb-divider: quote(">") !default;

// table variable overrides
$table-group-separator-color: lighten(
$table-group-separator-color: mix(
if(variable-exists(body-color), $body-color, $gray-900),
$body-contrast-bg,
50%
) !default;
$table-group-separator-color-lighter: lighten(
$table-group-separator-color-lighter: mix(
if(variable-exists(body-color), $body-color, $gray-900),
$body-contrast-bg,
70%
) !default;

Expand Down Expand Up @@ -267,4 +269,12 @@ $font-weight-monospace-inline: $font-weight-monospace !default;
$code-block-font-size: $code-font-size !default;
$code-inline-font-size: $code-font-size !default;
$link-weight: $font-weight-base !default;
$link-decoration: inherit !default;
$link-decoration: inherit !default;

// border colors
$border-color: mix(
if(variable-exists(body-color), $body-color, #fff),
$body-contrast-bg,
30%
) !default;
$table-border-color: $border-color !default;

0 comments on commit 80bf6b5

Please sign in to comment.