scania-digital-design-system/sdds

Improvement - Change name of the prefix in SCSS

Closed this issue · 0 comments

Describe current situation
Describe what the current situation and what problem it is causing for this improvement

Right now the prefix is .sdds which makes it impossible to use it on variables names.
This also effects the theming in VS code, breaking the theming

Describe the improvement
A clear and concise description of what kind of improvement you have in mind.

Remove . before the prefix name, add it on every class that use the prefix instead
Add the prefix for the variable name

.#{prefix}-class instead of #{$prefix}-class

If applicable, please provide steps to reproduce
Steps to reproduce the behavior:

  1. Go to any SCSS file
  2. See error

Screenshots
If applicable, add screenshots to help explain your ideas.

image

Additional context
Add any other context about the suggestion here.

AB#371