drupal-lab icon indicating copy to clipboard operation
drupal-lab copied to clipboard

Using pattern states?

Open kevinquillen opened this issue 9 years ago • 0 comments

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.

kevinquillen avatar Jul 27 '16 13:07 kevinquillen