Skip to content

Add support for CSS variable replacementΒ #425

Open
@Jaeiya

Description

@Jaeiya

Before conversion

root: {
  --red: #ff0000;
}
.myclass { color: var(--red); }

After conversion

.myclass { color: #ff0000; }

I have a very large file with all the variables inside it for theme management; it would be nice to remove all those long names and just replace them with the colors. It would save a huge amount of space.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions