The updated color-modes.md file to go with Dark Mode using ampersands for variables.
Created by: RichDeBourke
Prerequisites
-
I have searched for duplicate or closed issues -
I have validated any HTML to avoid common problems -
I have read the contributing guidelines
Describe the issue
In the Building with Sass section, the examples are using an ampersand for the Sass variables, but I think they’re supposed to be dollar signs.
@color-mode-type: data !default;
@color-mode-type: media-query;
Change to:
$color-mode-type: data !default;
$color-mode-type: media-query;
Reduced test cases
Entering @color-mode-type: media-query;
into a Sass file on VS Code causes an error.
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
No response
What version of Bootstrap are you using?
5.3.0