Skip to content

Commit

Permalink
Docs: fix typo in Color modes page (#38198)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlife authored Mar 8, 2023
1 parent a3f8480 commit 2a2c4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/5.3/customize/color-modes.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Our new dark mode option is available to use for all users of Bootstrap, but it'

We use a custom Sass mixin, `color-mode()`, to help you control _how_ color modes are applied. By default, we use a `data` attribute approach, allowing you to create more user-friendly experiences where your visitors can choose to have an automatic dark mode or control their preference (like in our own docs here). This is also an easy and scalable way to add different themes and more custom color modes beyond light and dark.

In case you want to use media queries and only make color modes automatic, you can change the mixin's default type via Sass variable. Consider the following snippet and it's compiled CSS output.
In case you want to use media queries and only make color modes automatic, you can change the mixin's default type via Sass variable. Consider the following snippet and its compiled CSS output.

```scss
$color-mode-type: data;
Expand Down

0 comments on commit 2a2c4ab

Please sign in to comment.