Skip to content

The styleModifier variabile keeps previous values #444

@dharmastyle

Description

@dharmastyle

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

Expected Behavior

When looking at a single pattern, the styleModifier should be empty (or ignored).

Actual Behavior

When styleModifier is used in a page to modify an included pattern, the single pattern inherits that styleModifier instead of being clean.

Steps to Reproduce
  1. create a pattern #1 with a styleModifier
  2. include it in a new pattern #2 and set a styleModifier for the #1 pattern
  3. compile
  4. browse to the single pattern #1
  5. it will have the styleModifier set in #2 instead of being clean

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions