You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,22 @@ The current selection is as follows. It reflects support versus patternlab-php.
64
64
##### Verbose Mode
65
65
`patternlab.json` is a file created for debugging purposes. Set `debug` to true in `.config.json` to see all the secrets.
66
66
67
+
##### Pattern States
68
+
You can set the state of a pattern by including it in `config.json` too. The out of the box styles are in progress (orange), in review (yellow), and complete (green).
69
+
Pattern states should be lowercase and use hyphens where spaces are present.
70
+
```
71
+
"patternStates": {
72
+
"colors" : "inprogress",
73
+
"fonts" : "inreview",
74
+
"three-up" : "complete"
75
+
}
76
+
```
77
+
78
+
##### Server
79
+
Running `grunt serve` will compile the patternlab front end and host it on <ahref="http://localhost:9001">http://localhost:9001</a> by default. This can be changed in the `Gruntfile.js`
80
+
81
+
**Next steps: Livereload and watches**
82
+
67
83
### Under Active Development
68
84
69
85
[](https://travis-ci.org/pattern-lab/patternlab-node) The Node version of Pattern Lab is under active development by [@bmuenzenmeyer](https://twitter.com/bmuenzenmeyer) and contributors. Pull requests welcome, but please take a moment to read the [guidelines](https://github.com/pattern-lab/patternlab-node/blob/master/CONTRIBUTING.md).
0 commit comments