Skip to content

css variables doesn't get interpolated #98

@PlopTheReal

Description

@PlopTheReal

For the given json:

{
    "backgroundColor": "#3215B3",
}

the following doesn't work ($backgroundColor doesn't get replaced):

:root {
  --backgroundColor: $backgroundColor;  
}

but this one works:

html {
  color: #3215B3; 
}

I'm using the CLI.

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