Skip to content

Commit

Permalink
Dark mode: Masonry example (#2369)
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
  • Loading branch information
louismaximepiton and julien-deramond committed Dec 4, 2023
1 parent 6129b29 commit a229bf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ $initialism-font-size: $small-font-size !default;

$blockquote-margin-y: $spacer !default;
$blockquote-font-size: $font-size-xlg !default;
$blockquote-footer-color: $gray-700 !default;
$blockquote-footer-color: var(--#{$prefix}placeholder-color) !default; // Boosted mod: instead of `$gray-600`
$blockquote-footer-font-size: $small-font-size !default;
$blockquote-line-height: 1.5 !default; // Boosted mod
$blockquote-letter-spacing: $letter-spacing-base * .25 !default; // Boosted mod
Expand Down
8 changes: 4 additions & 4 deletions site/content/docs/5.3/examples/masonry/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h5 class="card-title">Card title that wraps to a new line</h5>
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption class="blockquote-footer mb-0 text-body-secondary">
<figcaption class="blockquote-footer mb-0">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</figure>
Expand All @@ -57,12 +57,12 @@ <h5 class="card-title">Card title</h5>
</div>
</div>
<div class="col-sm-6 col-lg-4 mb-4">
<div class="card bg-dark border-secondary text-center p-3">
<div class="card bg-black border-dark text-center p-3" data-bs-theme="dark">
<figure class="mb-0">
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption class="blockquote-footer mb-0 bg-dark">
<figcaption class="blockquote-footer mb-0">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</figure>
Expand All @@ -88,7 +88,7 @@ <h5 class="card-title">Card title</h5>
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption class="blockquote-footer mb-0 text-body-secondary">
<figcaption class="blockquote-footer mb-0">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</figure>
Expand Down

0 comments on commit a229bf6

Please sign in to comment.