Skip to content

The bootstrap css variable mapping file contains new variable definitions #2335

@artlowel

Description

@artlowel

Describe the bug
A few variable definitions were added to _bootstrap_variables_mapping.scss. The idea for this file is to only convert bootstrap sass variables into css variables. If new variables are defined there, they can't be easily overridden by themes.

To Reproduce
try to override the --bs-primary-bg in a theme's _theme_css_variable_overrides

Expected behavior
All new customizations to bootstrap variables should be made in sass first in _bootstrap_variables.scss, and then mapped to a css variable in _bootstrap_variables_mapping.scss. No changes should occur in _bootstrap_variables_mapping.scss

Related work
This issue was introduced by #2028

Metadata

Metadata

Assignees

Labels

bugneeds triageNew issue needs triage and/or scheduling

Type

No type

Projects

Status

✅ Done / Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions