mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Docs: fix typo in Color modes page (#38198)
This commit is contained in:
parent
a3f8480d5b
commit
2a2c4abaf4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user