Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Styleguides

 Styleguides

A quick presentation inspired by Ian Feather's incredible work on Rizzo… showing how it could be implemented. Very excited about this.

Evan Travers

June 30, 2014
Tweet

More Decks by Evan Travers

Other Decks in Programming

Transcript

  1. css html docs = ui_component("forms/search", {label: "Search"}) <form class="search--primary" action="//www.lonelyplanet.com/search">

    <label class="accessibility" for="search-q">Search</label> <input class="search__input" id="search-q" name="q" tabindex="1" type="search" value="" /> <button class="search__button" id="search-q-submit" name="search-q-submit" type="submit">Search</button> </form>
  2. • all credit is due to Ian Feather from Lonely

    Planet’s excellent article: (http://ianfeather.co.uk/a-maintainable- style-guide/) • you can learn more about his project Rizzo at (https:// github.com/lonelyplanet/rizzo) • some other things to read/thing about: • Google Polymer • Google Design • Ember’s Component system, feeding right into custom HTML elements