Skip to content

Issue with Hex Colors with Alpha (#RRGGBBAA) in SCSS Files #182

@samex

Description

@samex

Hey,
I am encountering an issue with the plugin where hex colors with alpha values in the format #RRGGBBAA (e.g., #7d9917e0) are ignored during compilation. These colors are not processed or output in the compiled CSS file, which causes inconsistencies and breaks styles that depend on these colors.

Steps to Reproduce:

  1. Add a hex color with alpha, like #7d9917e0, to an SCSS file.
.example {
    background-color: #7d9917e0;
}
  1. Compile the SCSS file using the plugin.
  2. Check the output CSS file.

Expected Behavior: The hex color with alpha (#7d9917e0) should be compiled and present in the output CSS file.

Actual Behavior: The hex color with alpha is completely ignored and does not appear in the output file.

Environment:

Extension Version: v2.3.53
Operating system: linux
Editor: VSCodium

Is there a workaround or a fix available for this issue? If not, could support for the #RRGGBBAA hex format be added?

Thank you for your assistance!

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