The City of Philadelphia has released new guidelines surrounding digtal standards that includes design, code, and content. Learn more at http://standards.phila.gov/.
This repository will remain intact, but will no longer be updated.
Phila.gov Patterns uses Jekyll to generate pattern files. Jekyll requires the following dependencies:
- Install Jekyll
$ gem install jekyll - Install Pygments
$ gem install pygments.rb - Clone this repository
- cd into the patterns directory
- Install additional dependencies
$ npm install - Start the Jekyll development server
$ jekyll serve - Navigate to
http://localhost:4000/patterns
To watch your local files for changes and update the compressed code being used on the Jekyll site:
- Open a second Terminal window
- Navigate into the root of the patterns directory
- Run
$ grunt watch
Phila.gov Patterns will be maintained under the Semantic Versioning guidelines as much as possible. Releases will be numbered with the following format:
{major}.{minor}.{patch}
- Breaking backward compatibility bumps the major (and resets the minor and patch)
- New patterns (without breaking backward compatibility) bumps the minor (and resets the patch)
- Bug fixes and misc changes bumps the patch
For more information on SemVer, please visit http://semver.org.
- Foundation 6!
- Added grunt-postcss to dev process.
There have been a number of markup changes in foundation 6, which developers will need to be aware of when updating to Patterns 1.0. Here is the list of elements to watch out for:
| Site | Source | Version |
|---|---|---|
| alpha.phila.gov | repo | 1.2.1 |
| analytics.phila.gov | repo | 1.1.2 |
| Bullet Voting | repo | 0.12.1 |
| Crashboard: Service Monitor Status | repo | 1.4.0 |
| Community Health Explorer | repo | 1.4.0 |
| Jekyll Patterns Template | repo | 1.4.0 |
| Make a Payment | repo | 0.1.1 |
| Metadata Catalog | repo | 0.12.6 |
| Open Budget | repo | 0.1.1 |
| Open Contract Data | repo | 0.2.0 |
| Phila.gov Patterns | repo | 1.2.0 |
| Property | repo | 1.2.1 |
| ROWS | repo | 0.8.1 |
| Street Closures | repo | |
| Trashday | repo | 0.12.5 |