Skip to content

Commit

Permalink
Dark mode: revert some changes linked to main temporary .text-* u…
Browse files Browse the repository at this point in the history
…tilities usage before dark mode (#2414)
  • Loading branch information
julien-deramond authored Dec 20, 2023
1 parent 2380662 commit 925329e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ $blockquote-line-height: 1.5 !default; // Boosted mod
$blockquote-letter-spacing: $letter-spacing-base * .25 !default; // Boosted mod

$hr-margin-y: $spacer !default;
$hr-color: var(--#{$prefix}heading-color) !default; // Boosted mod
$hr-color: inherit !default;

// fusv-disable
$hr-bg-color: null !default; // Deprecated in v5.2.0
Expand Down
6 changes: 0 additions & 6 deletions site/assets/scss/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -140,22 +140,16 @@

.dropdown-menu {
--bs-dropdown-bg: #{mix($blue-500, $blue-600)};
--bs-dropdown-link-color: var(--bs-white);
--bs-dropdown-link-active-color: var(--bs-white);
--bs-dropdown-link-active-bg: #{$blue-700};
--bs-dropdown-link-hover-color: var(--bs-white);
--bs-dropdown-link-hover-bg: #{$blue-600};
}

.btn-dropdown {
--bs-btn-color: var(--bs-white);
--bs-btn-bg: #{mix($gray-600, $blue-400, .5)};
--bs-btn-border-color: #{rgba($white, .25)};
--bs-btn-hover-bg: #{darken(mix($gray-600, $blue-400, .5), 5%)};
--bs-btn-hover-color: inherit;
--bs-btn-hover-border-color: #{rgba($white, .25)};
--bs-btn-active-bg: #{darken(mix($gray-600, $blue-400, .5), 10%)};
--bs-btn-active-color: inherit;
--bs-btn-active-border-color: #{rgba($white, .5)};
--bs-btn-focus-border-color: #{rgba($white, .5)};
--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .2);
Expand Down
4 changes: 2 additions & 2 deletions site/content/docs/5.3/components/spinners.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The border spinner uses `currentColor` for its `border-color`, meaning you can c
<div class="spinner-border text-primary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<div class="spinner-border" role="status">
<div class="spinner-border text-secondary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
{{< /example >}}
Expand Down Expand Up @@ -72,7 +72,7 @@ Once again, this spinner is built with `currentColor`, so you can easily change
<div class="spinner-grow text-primary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<div class="spinner-grow" role="status">
<div class="spinner-grow text-secondary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
{{< /example >}}
Expand Down

0 comments on commit 925329e

Please sign in to comment.