Skip to content

Sprite images with names matching color names replaced with color value #1240

Open
@RobinDaugherty

Description

@RobinDaugherty

I have some sprites declared. Some of the sprites have images named "white", "yellow", etc.

In development, these sprites work perfectly. When I turn on compression, the sprite class names that correspond to these images change from (for example) "icon-white" to "icon-#fff". Of course, these selectors are not valid.

Two issues I found in the compass project give me some clue: #381 and #910. This comment seems to point out the culprit: 84d207f#commitcomment-378039

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions