Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

CSS Variables #309

@McRaeSoftware

Description

@McRaeSoftware

When trying to use CSS variables the linter constantly displays the error "Expected RBRACE at line number, col number"

example CSS;

:root
{
/* these variables flag errors -> "Expected RBRACE at line number, col number"*/
--primaryColour: #23d5ab;
--secondaryColour: #17a2b8;
}

.example
{
background-color: Black;
/*this line displayes error -> " Expected color but found 'var(--primaryColour)" */
color: var(--primaryColour);
}

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