]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix Utilities > Theme examples text in some cases
authorJulien Déramond <juderamond@gmail.com>
Fri, 9 Jan 2026 19:18:43 +0000 (20:18 +0100)
committerMark Otto <markdotto@gmail.com>
Fri, 9 Jan 2026 23:08:04 +0000 (15:08 -0800)
site/src/content/docs/utilities/theme.mdx

index 59c42b39460473895418dbe0eb80c76df35cc64a..0ddf1e7cd9eea95ee15be580869ddf9af7e829c3 100644 (file)
@@ -29,7 +29,7 @@ Subtle pairs the `bg-subtle` theme token with the `text` text color for a lower-
 
 And with borders:
 
-<Example class="d-grid gap-2" code={getData('theme-colors').map((themeColor) => `<div class="p-2 theme-${themeColor.name} theme-subtle theme-border">.theme-${themeColor.name} .theme-subtle</div>`)} />
+<Example class="d-grid gap-2" code={getData('theme-colors').map((themeColor) => `<div class="p-2 theme-${themeColor.name} theme-subtle theme-border">.theme-${themeColor.name} .theme-subtle .theme-border</div>`)} />
 
 ### Muted
 
@@ -39,7 +39,7 @@ Muted pairs the `bg-muted` theme token with the `text-emphasis` text color for a
 
 And with borders:
 
-<Example class="d-grid gap-2" code={getData('theme-colors').map((themeColor) => `<div class="p-2 theme-${themeColor.name} theme-muted theme-border">.theme-${themeColor.name} .theme-muted</div>`)} />
+<Example class="d-grid gap-2" code={getData('theme-colors').map((themeColor) => `<div class="p-2 theme-${themeColor.name} theme-muted theme-border">.theme-${themeColor.name} .theme-muted .theme-border</div>`)} />
 
 ## Comparison