Skip to content

Using pattern states? #20

@kevinquillen

Description

@kevinquillen

So I am checking out this repo, and wanted to try using this feature of PL to track progress on things:

http://patternlab.io/docs/pattern-states.html

While changing any filename to @inprogress, or @inreview or @complete does change the class on the menu item to 'sg-pattern-state', it fails to also add the state itself as a class.

The result is that the PL navigation only has a generic grey dot beside pattern names without color.

To see an example of what I mean, go here and look under Blocks:

http://demo.patternlab.io/

There are two listed as @inreview and therefore yellow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions