Skip to content

Minification doesn't respect RGB values in CSS #62

@jandreaucodes

Description

@jandreaucodes

When minifying CSS, color values using RGB are breaking.

An example is:

Pre-minification: background: rgb(255, 255, 255, 1.0) !important;
Post-minification: background: #ffffff01 !important;

Compressing the RGB value seems to work in that it converts to ffffff, but it's including the opacity in the hex value, which causes it to break.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions