Skip to content

SCSS compilation error #133

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions