drupal-lab
drupal-lab copied to clipboard
Using pattern states?
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.