Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The updated color-modes.md file to go with Dark Mode using ampersands for variables. #37674

Closed
3 tasks done
Tracked by #37549
RichDeBourke opened this issue Dec 20, 2022 · 0 comments · Fixed by #37676
Closed
3 tasks done
Tracked by #37549

Comments

@RichDeBourke
Copy link

Prerequisites

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants