Skip to content

Commit

Permalink
chore: drop deprecated .btn-close-white (#2593)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored Jul 2, 2024
1 parent bf87f2d commit 013e234
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 22 deletions.
13 changes: 0 additions & 13 deletions scss/_close.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,3 @@
// OUDS mod: no opacity
}
}

// Deprecated in v5.3.3
// OUDS mod: changing color instead of using filter
.btn-close-white {
--#{$prefix}btn-close-color: #{$btn-close-white-color}; // OUDS mod
--#{$prefix}btn-close-bg: #{$btn-close-white-bg}; // OUDS mod
--#{$prefix}btn-close-border-color: #{$btn-close-white-border-color}; // OUDS mod
--#{$prefix}btn-close-hover-color: #{$btn-close-white-hover-color}; // OUDS mod
--#{$prefix}btn-close-active-color: #{$btn-close-white-active-color}; // OUDS mod
--#{$prefix}btn-close-active-border-color: #{$btn-close-white-active-border-color}; // OUDS mod
--#{$prefix}btn-close-disabled-color: #{$btn-close-white-disabled-color}; // OUDS mod
}
// End mod
9 changes: 0 additions & 9 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2226,15 +2226,6 @@ $btn-close-padding-sm: subtract($btn-icon-padding-x, $spacer * .25) !de
// End mod
// scss-docs-end close-variables

// Deprecated in v5.3.3: all `$btn-close-white-*`
$btn-close-white-color: $white !default; // OUDS mod
$btn-close-white-bg: transparent !default; // OUDS mod
$btn-close-white-border-color: transparent !default; // OUDS mod
$btn-close-white-hover-color: $btn-close-white-color !default; // OUDS mod
$btn-close-white-active-color: $supporting-orange !default; // OUDS mod
$btn-close-white-active-border-color: $gray-700 !default; // OUDS mod
$btn-close-white-disabled-color: $gray-700 !default; // OUDS mod

// Offcanvas

// scss-docs-start offcanvas-variables
Expand Down
32 changes: 32 additions & 0 deletions site/content/docs/0.1/migration-from-boosted.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,35 @@ Technically, it means that you can get rid of the following things:
- Helvetica Neue woff2 files: `fonts/HelvNeue55_W1G.woff2`, `fonts/HelvNeue75_W1G.woff2`, `fonts/HelveticaNeueW20-55Roman.woff2`, and `fonts/HelveticaNeueW20-75Bold.woff2`.
- `orange-helvetica.*.css` file (default, RTL, or minified version).
- If you were customizing your Sass compilation, you can remove the `@import "orange-helvetica";` line from your Sass files if it was there.

## Components

- <span class="badge text-bg-warning">Warning</span> `.btn-close-white` class has been removed as it was deprecated in Boosted v5.3.3.

### CSS and Sass variables

- <details class="mb-2">
<summary><span class="badge text-bg-warning">Warning</span> Dropped deprecated Sass variables:</summary>
<ul>
<li><code>$btn-close-white-color</code></li>
<li><code>$btn-close-white-bg</code></li>
<li><code>$btn-close-white-border-color</code></li>
<li><code>$btn-close-white-hover-color</code></li>
<li><code>$btn-close-white-active-color</code></li>
<li><code>$btn-close-white-active-border-color</code></li>
<li><code>$btn-close-white-disabled-color</code></li>
</ul>
</details>

- <details class="mb-2">
<summary><span class="badge text-bg-warning">Warning</span> Dropped deprecated CSS variables:</summary>
<ul>
<li><code>--bs-btn-close-color</code></li>
<li><code>--bs-btn-close-bg</code></li>
<li><code>--bs-btn-close-border-color</code></li>
<li><code>--bs-btn-close-hover-color</code></li>
<li><code>--bs-btn-close-active-color</code></li>
<li><code>--bs-btn-close-active-border-color</code></li>
<li><code>--bs-btn-close-disabled-color</code></li>
</ul>
</details>

0 comments on commit 013e234

Please sign in to comment.