diff options
| author | Julien Déramond <[email protected]> | 2023-11-18 09:52:03 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-18 09:52:03 +0100 |
| commit | e4f0d61c8fe67e041729f8295339020969677a9c (patch) | |
| tree | 1312a3331945242a27748b041ad7a595b1587a2b | |
| parent | ee88ae64968429abc62136d7231684f90223f17d (diff) | |
| download | bootstrap-e4f0d61c8fe67e041729f8295339020969677a9c.tar.xz bootstrap-e4f0d61c8fe67e041729f8295339020969677a9c.zip | |
Docs: fix color schemes description in Sass customization (#39417)
| -rw-r--r-- | site/content/docs/5.3/customize/sass.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/site/content/docs/5.3/customize/sass.md b/site/content/docs/5.3/customize/sass.md index ceadf3a98..231bfa9d6 100644 --- a/site/content/docs/5.3/customize/sass.md +++ b/site/content/docs/5.3/customize/sass.md @@ -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 } } ``` |
