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

L-I-V-I-N

 L-I-V-I-N

L-I-V-I-N ... discussing how to keep on top of your front-end code when creating styleguides and pattern libraries for your designs. How documentation should be a part of the process. Deciding on the who, what and why for the code and how those answers determines decisions. Peppered with opinions on what works and what does not when developing a pattern library as part of a project.

given at:
DXN - June 2016
FrontEndNorth - September 2016
re:develop - October 2016

Stuart Robson

October 14, 2016
Tweet

More Decks by Stuart Robson

Other Decks in Technology

Transcript

  1. “We’re not designing pages, we’re designing systems of components. Stephen

    Hay @sturobson | l-i-v-i-n | @redevelopconf October 2016
  2. who is it for? » developers » designers » project

    managers » contractors » freelancers @sturobson | l-i-v-i-n | @redevelopconf October 2016
  3. who is it for? anyone involved in the project @sturobson

    | l-i-v-i-n | @redevelopconf October 2016
  4. what is it for? » a single website » html

    email » a marketing page » prototyping » all of the above and more @sturobson | l-i-v-i-n | @redevelopconf October 2016
  5. where will it go? » a 'static' website » a

    CMS » a 3rd party service » Outlook 2010 » an internal project @sturobson | l-i-v-i-n | @redevelopconf October 2016
  6. deciding on a solution » the who » the what

    » the where @sturobson | l-i-v-i-n | @redevelopconf October 2016
  7. Deciding on a solution » the team » the project

    » the timeframe » the constraints » the requirements @sturobson | l-i-v-i-n | @redevelopconf October 2016
  8. What I think is needed and what (I think) works

    @sturobson | l-i-v-i-n | @redevelopconf October 2016
  9. documentation » make it part of the process » make

    it part of the pattern library » make it part of the style guide @sturobson | l-i-v-i-n | @redevelopconf October 2016
  10. documentation » how to use the patterns or code »

    where to use the patterns or code » where not to the patterns or code @sturobson | l-i-v-i-n | @redevelopconf October 2016
  11. guidelines » a subset of documentation » specific to the

    code being written » needs to be within the documentation @sturobson | l-i-v-i-n | @redevelopconf October 2016
  12. guidelines » BEM » OOCSS, ITCSS, SMACSS » Tabs or

    Spaces @sturobson | l-i-v-i-n | @redevelopconf October 2016
  13. “...a set of standards for the writing and design of

    documents” @sturobson | l-i-v-i-n | @redevelopconf October 2016
  14. communication » be open » don't dictate » listen »

    move within existing workflows @sturobson | l-i-v-i-n | @redevelopconf October 2016
  15. buy in » your team » other teams » management

    @sturobson | l-i-v-i-n | @redevelopconf October 2016
  16. What is needed and what works » a build tool

    » an html templating language » a preprocessor » documentation » guidelines » teachable » buy in @sturobson | l-i-v-i-n | @redevelopconf October 2016
  17. L-I-V-I-N » part of the development process » easily updatable

    » single source of truth @sturobson | l-i-v-i-n | @redevelopconf October 2016
  18. // A button suitable for giving a star to someone.

    // // :hover - Subtle hover highlight. // .star-given - A highlight indicating you've already given a star. // .star-given:hover - Subtle hover highlight on top of star-given styling. // .disabled - Dims the button to indicate it cannot be used. // a.button.star{ ... &.star-given{ ... } &.disabled{ ... } } @sturobson | l-i-v-i-n | @redevelopconf October 2016
  19. /* Provides extra visual weight and identifies the primary action

    in a set of buttons. <button class="btn primary">Primary</button> */ .btn.primary { background: steelblue; color: snow; border: 2px outset steelblue; } @sturobson | l-i-v-i-n | @redevelopconf October 2016
  20. easy to read, easy to adapt, easy to author @sturobson

    | l-i-v-i-n | @redevelopconf October 2016
  21. Pattern library - what styleguides - where, how design language

    - why Design System @sturobson | l-i-v-i-n | @redevelopconf October 2016