Skip to content

styleModifiers are not included in pseudo patterns #474

@gael-boyenval

Description

@gael-boyenval

I am using Pattern Lab Node v2.5.0 on Mac, with Node v6+, using the Gulp Edition.

Expected Behavior

for a given pattern X and his pseudo pattern :

patternX:

<h2>{{ data }}</h2>
{{> patternY:modifier--foo }}

patternX~pseudo.json:

{ data: "yyy" }

this should output the included pattern Y with the style modifier
patternX-pseudo html output :

<h2> yyy </h2>
<div class="patternY modifier--foo">
       bar
</div>
Actual Behavior

The styleModifier is not included :

<h2> yyy </h2>
<div class="patternY">
       bar
</div>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions