Skip to content

SCSS compilation error #133

@UliZappe

Description

@UliZappe

In the latest published version (2.3.84) at least, SCSS compilation breaks at the following code:

:root
{
    --activeColor: #{$activeColor};
}

This is perfectly legal code, but the compiler throws the following error and stops compilation:

Syntax error: Invalid CSS after "    -": expected number or function, was "-activeColor..."
        on line 3 of ~/Sites/Test/test.scss
  Use --trace for backtrace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions