Skip to content

Quality: Sass variable typo breaks text color generation#305

Open
tuanaiseo wants to merge 1 commit intomdbootstrap:masterfrom
tuanaiseo:contribai/improve/quality/sass-variable-typo-breaks-text-color-gen
Open

Quality: Sass variable typo breaks text color generation#305
tuanaiseo wants to merge 1 commit intomdbootstrap:masterfrom
tuanaiseo:contribai/improve/quality/sass-variable-typo-breaks-text-color-gen

Conversation

@tuanaiseo
Copy link
Copy Markdown

Problem

In the global color utility loop, the .#{color_name}-text class uses $color-value instead of $color_value. This is a different identifier and can cause Sass compilation errors or missing color utility output.

Severity: high
File: scss/core/_global.scss

Solution

Replace color: $color-value !important; with color: $color_value !important; and run Sass compilation to verify generated utility classes.

Changes

  • scss/core/_global.scss (modified)

Testing

  • Existing tests pass
  • Manual review completed
  • No new warnings/errors introduced

In the global color utility loop, the `.#{color_name}-text` class uses `$color-value` instead of `$color_value`. This is a different identifier and can cause Sass compilation errors or missing color utility output.

Affected files: _global.scss

Signed-off-by: tuanaiseo <221258316+tuanaiseo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant