Skip to content

Document Local Variable Scoping in Import Files #437

Closed
@BerkeleyTrue

Description

@BerkeleyTrue

Took me a while to figure this out and it would help others if it was explicitly documented.

&{ import "./foo.less" }

Prevents variables in foo.less from overwriting variables globally.

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