Skip to content

Values as selectors clashing with existing selector names on 3.0.0 upgrade #4

Closed
@dannyshaw

Description

@dannyshaw

Moving from version 2.0.0 to 3.0.0 caused issues with clashes between imported colors, and local CSSModule selector names.

...
@value white from colors;

.white {
   color: white;
}

2.0.0 caused output:

<div class="white_h32kjh">

3.0.0 caused output

<div class="#ffffff">

I'm sure you're aware of this issue and perhaps why the version bump was major?
I couldn't find any release notes warning of this potential breaking change so figured I'd create a note here for others who may be experiencing the same issue to find.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions