Skip to content

Support each function #121

@iKonan-ru

Description

@iKonan-ru

LESS 3.7.0 introduces each function: http://lesscss.org/functions/#list-functions-each
Postcss-less should support it.

  • Node Version: 8.12.0
  • NPM Version: 6.4.1
  • postcss Version: 7.0.5
  • postcss-less Version: 3.0.2

LESS

@colors: red, green, blue;
each(@colors, {
    .@{value}-color {
        color: @value;
    }
});

Errors

Unknown word   CssSyntaxError

Expected Behavior

Process each function normally.

Actual Behavior

Having errors.

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