Skip to content

Variable defaults in mixins returns errors #3

@Znegl

Description

@Znegl

When using a default value for a variable, as following, an error is returned.

.background-image(@img, @repeat: " ", @important: " ") {
    background-image :e(%("url(%s%s%s)", @cdn, @img, @version)) e(@important);
    background-repeat: e(@repeat) e(@important);
}

This returns an error after @repeat:

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