You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/src/content/docs/components/alerts.mdx
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,6 @@ import { getData } from '@libs/data'
10
10
11
11
Alerts are available for any length of text, as well as an optional close button. For proper styling, use one of the eight **required** contextual classes (e.g., `.alert-success`). For inline dismissal, use the [alerts JavaScript plugin](#dismissing).
12
12
13
-
<Callout>
14
-
**Heads up!** As of v5.3.0, the `alert-variant()` Sass mixin is deprecated. Alert variants now have their CSS variables overridden in [a Sass loop](#sass-loops).
Copy file name to clipboardExpand all lines: site/src/content/docs/components/carousel.mdx
+5-9Lines changed: 5 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -272,15 +272,11 @@ Carousels support swiping left/right on touchscreen devices to move between slid
272
272
</button>
273
273
</div>`} />
274
274
275
-
## Dark variant
275
+
## Dark carousel
276
276
277
-
<DeprecatedInversion="5.3.0" />
277
+
Add `data-bs-theme="dark"` to the `.carousel` for darker controls, indicators, and captions. Controls are inverted compared to their default white fill with the `filter` CSS property. Captions and controls have additional Sass variables that customize the `color` and `background-color`.
278
278
279
-
Add `.carousel-dark` to the `.carousel` for darker controls, indicators, and captions. Controls are inverted compared to their default white fill with the `filter` CSS property. Captions and controls have additional Sass variables that customize the `color` and `background-color`.
Copy file name to clipboardExpand all lines: site/src/content/docs/components/close-button.mdx
-6Lines changed: 0 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,6 @@ Disabled close buttons change their `opacity`. We’ve also applied `pointer-eve
18
18
19
19
## Dark variant
20
20
21
-
<DeprecatedInversion="5.3.0" />
22
-
23
-
<Callouttype="warning">
24
-
**Heads up!** As of v5.3.0, the `.btn-close-white` class is deprecated. Instead, use `data-bs-theme="dark"` to change the color mode of the close button.
25
-
</Callout>
26
-
27
21
Add `data-bs-theme="dark"` to the `.btn-close`, or to its parent element, to invert the close button. This uses the `filter` property to invert the `background-image` without overriding its value.
Copy file name to clipboardExpand all lines: site/src/content/docs/components/dropdowns.mdx
+3-7Lines changed: 3 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -335,13 +335,9 @@ Button dropdowns work with buttons of all sizes, including default and split dro
335
335
336
336
## Dark dropdowns
337
337
338
-
<DeprecatedInversion="5.3.0" />
338
+
Opt into darker dropdowns to match a dark navbar or custom style by adding `data-bs-theme="dark"` onto an existing `.dropdown-menu`. No changes are required to the dropdown items.
339
339
340
-
Opt into darker dropdowns to match a dark navbar or custom style by adding `.dropdown-menu-dark` onto an existing `.dropdown-menu`. No changes are required to the dropdown items.
Copy file name to clipboardExpand all lines: site/src/content/docs/components/list-group.mdx
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,10 +124,6 @@ Add `.list-group-horizontal` to change the layout of list group items from verti
124
124
125
125
## Variants
126
126
127
-
<Callout>
128
-
**Heads up!** As of v5.3.0, the `list-group-item-variant()` Sass mixin is deprecated. List group item variants now have their CSS variables overridden in [a Sass loop](#sass-loops).
129
-
</Callout>
130
-
131
127
Use contextual classes to style list items with a stateful background and color.
132
128
133
129
<Examplecode={[
@@ -267,12 +263,6 @@ As part of Bootstrap’s evolving CSS variables approach, list groups now use lo
0 commit comments