]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: modify remaining `.bg-{color}-subtle` to `.bg-subtle-{color}` usage (#42564)
authorJulien Déramond <juderamond@gmail.com>
Fri, 26 Jun 2026 04:10:45 +0000 (06:10 +0200)
committerGitHub <noreply@github.com>
Fri, 26 Jun 2026 04:10:45 +0000 (06:10 +0200)
site/src/content/docs/components/carousel.mdx

index 74682b602e89eadbbbdb545fd3f634a4e3120af7..83216a72a953420e0a392ca2923178bdec62bacb 100644 (file)
@@ -125,21 +125,21 @@ You can put any markup you like inside each `.carousel-item`. Add content, then
 <Example code={`<div id="carouselExampleContent" class="carousel slide">
     <div class="carousel-inner rounded-5">
       <div class="carousel-item active">
-        <div class="d-flex flex-column justify-content-center bg-primary-subtle p-9 bg-1 rounded-5" style="min-height: 320px;">
+        <div class="d-flex flex-column justify-content-center bg-subtle-primary p-9 bg-1 rounded-5" style="min-height: 320px;">
           <h3>Build anything</h3>
           <p class="text-secondary-emphasis mb-3">Compose slides from your own markup—text, buttons, cards, or media.</p>
           <div><a class="btn-solid theme-primary" href="#">Get started</a></div>
         </div>
       </div>
       <div class="carousel-item">
-        <div class="d-flex flex-column justify-content-center text-center bg-success-subtle p-9 bg-2 rounded-5" style="min-height: 320px;">
+        <div class="d-flex flex-column justify-content-center text-center bg-subtle-success p-9 bg-2 rounded-5" style="min-height: 320px;">
           <h3>Style it your way</h3>
           <p class="text-secondary-emphasis mb-3">Use utilities or custom CSS to size and theme each slide however you need.</p>
           <div><a class="btn-solid theme-success" href="#">Learn more</a></div>
         </div>
       </div>
       <div class="carousel-item">
-        <div class="d-flex flex-column justify-content-center text-end bg-warning-subtle p-9 bg-3 rounded-5" style="min-height: 320px;">
+        <div class="d-flex flex-column justify-content-center text-end bg-subtle-warning p-9 bg-3 rounded-5" style="min-height: 320px;">
           <h3>Mix and match</h3>
           <p class="text-secondary-emphasis mb-3">Combine custom content with controls, indicators, and the overlay layout.</p>
           <div><a class="btn-solid theme-inverse" href="#">Browse examples</a></div>