Git Product home page Git Product logo

patterns's Introduction

patterns

Phila.gov Pattern Library

Using Phila.gov Patterns

The patterns CSS includes a customized 24-column grid version of Foundation 5.5.2. Just add a few lines to <head>. For a sticky footer, also include the patterns.min.js file.

The bare minimum

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cityofphiladelphia.github.io/patterns/dist/0.11.1/css/patterns.css">
<script type='text/javascript' src='//cityofphiladelphia.github.io/patterns/dist/0.11.1/js/patterns.min.js'></script>

Also recommended

Ionicons are used in alerts and modernizr is included for sad, old browsers.

<link rel="stylesheet" href="//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<script type='text/javascript' src='//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.js?ver=2.8.3'></script>

Local Setup

Phila.gov Patterns uses Jekyll to generate pattern files.

  1. Install Jekyll $ gem install jekyll
  2. Clone this repository
  3. cd into the patterns directory
  4. Run: $ jekyll serve --baseurl ''
  5. Navigate to http://localhost:4000

Versioning

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}

###Guidelines

  1. Breaking backward compatibility bumps the major (and resets the minor and patch)
  2. New patterns (without breaking backward compatibility) bumps the minor (and resets the patch)
  3. Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit http://semver.org.

patterns's People

Contributors

karissademi avatar atogle avatar gsf avatar timwis avatar

Watchers

Kevin Curry avatar Colin Powell avatar Jacques Tardie avatar Garrett Wilkin avatar James Cloos avatar  avatar Chris Bond avatar Andrew Jawitz avatar Em Burnett avatar Chris Eaton avatar Zoe Lang avatar Kitty Wilkin avatar Nick Kaufmann avatar Shannon McHarg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.