[Bug]: config prefix hardcoded to 'cds' in zone.scss for background and color properties #14827
Closed
2 tasks done
Labels
Milestone
Package
@carbon/styles
Browser
No response
Package version
11.33.0
React version
No response
Description
Lines 39 and 40 set the background and color properties scoped to given zone class. However, they are hardcoded with the
cds
prefix rather than dynamically using the prefix from config. This break when a user of your system sets a different prefix.suggested:
Reproduction/example
https://github.com/carbon-design-system/carbon/blob/release/v11.33.0/packages/styles/scss/_zone.scss
Steps to reproduce
Set the prefix to something other than
cds
. Check zoned styles to see if background and color are brokenSuggested Severity
None
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: