]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: fix color schemes description in Sass customization (#39417)
authorJulien Déramond <juderamond@gmail.com>
Sat, 18 Nov 2023 08:52:03 +0000 (09:52 +0100)
committerGitHub <noreply@github.com>
Sat, 18 Nov 2023 08:52:03 +0000 (09:52 +0100)
site/content/docs/5.3/customize/sass.md

index ceadf3a98cd541e600a589e597a842128e9159ae..231bfa9d6db83d4568f8650541b14e389dcb2462 100644 (file)
@@ -338,18 +338,18 @@ Our `scss/mixins/` directory has a ton of mixins that power parts of Bootstrap a
 
 ### Color schemes
 
-A shorthand mixin for the `prefers-color-scheme` media query is available with support for `light`, `dark`, and custom color schemes. See [the color modes documentation]({{< docsref "/customize/color-modes" >}}) for information on our color mode mixin.
+A shorthand mixin for the `prefers-color-scheme` media query is available with support for `light` and `dark` color schemes. See [the color modes documentation]({{< docsref "/customize/color-modes" >}}) for information on our color mode mixin.
 
 {{< scss-docs name="mixin-color-scheme" file="scss/mixins/_color-scheme.scss" >}}
 
 ```scss
 .custom-element {
-  @include color-scheme(dark) {
-    // Insert dark mode styles here
+  @include color-scheme(light) {
+    // Insert light mode styles here
   }
 
-  @include color-scheme(custom-named-scheme) {
-    // Insert custom color scheme styles here
+  @include color-scheme(dark) {
+    // Insert dark mode styles here
   }
 }
 ```