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

Material Design with Polymer

Material Design with Polymer

第49回 HTML5とか勉強会 https://atnd.org/events/53826 で使用したスライドです。本編40分。

YouTube: http://youtu.be/G7hIDm4aK5g?t=1h25m43s

※普段よりもスライドの情報量すくなめで、口頭とデモ多めでした。Paper Elementsを使ったコーディングと、Polymer Designerを使ったコーディング(?)のデモなど。

Ayumu Sato

July 28, 2014
Tweet

More Decks by Ayumu Sato

Other Decks in Technology

Transcript

  1. Profile • גࣜձࣾαΠόʔΤʔδΣϯτ • WebϑϩϯτΤϯυΤϯδχΞ • PHPer + SE →

    Frontend + Node + Android + AWS͋ • HTML5 Experts.jp ʹ͓͚Δ༓ྶ෦һͷͻͱΓ • ࠷ۙͷ೰Έ͸ɺࣾ಺ͰΦοαϯʹݟΒΕΔ͜ͱʢΞϥαʔʣ
  2. Agenda • Google I/O ͷײ૝ • Material Design ͷ͓͞Β͍ •

    ίϯηϓτ • ΨΠυϥΠϯͷαϚϦʔ • Web Ͱ࢖͏ • Polymer • Papaer Elements
  3. Polymer and Web Components change everything you know about Web

    development https://www.youtube.com/watch?v=8OJ7ih8EE7s
  4. How we built Chrome Dev Editor with the Chrome platform

    https://www.youtube.com/watch?v=NNLnTz6yIc4
  5. • Animation • Style • Layout • Components • Patterns

    • Usability • Resources Authentic Motion Responsive Interaction Meaningful Transitions Delightful Detail Animation
  6. • Animation • Style • Layout • Components • Patterns

    • Usability • Resources Color Typography Icons Imagery Style
  7. • Animation • Style • Layout • Components • Patterns

    • Usability • Resources Principles Metrics and Keylines Structure Layout
  8. • Animation • Style • Layout • Components • Patterns

    • Usability • Resources Button Sheets Buttons Cards Chips Dialogs Grids … Components
  9. • Animation • Style • Layout • Components • Patterns

    • Usability • Resources Selection Gestures Promoted Actions Settings Imagery Treatment Search Patterns
  10. • Animation • Style • Layout • Components • Patterns

    • Usability • Resources Accesibility Usability
  11. • Animation • Style • Layout • Components • Patterns

    • Usability • Resources Layout Tempaltes Sticker Sheets Roboto Font Color Palettes Resources
  12. 2010೥ࠒ • ͳΜͰ΋͔ΜͰ΋ iOS ͬΆ͍ײ͕͡ྲྀߦΔ • ActionSheet ΍ AletView Έ͍ͨͳUIΛϒϥ΢βͰ࠶ൃ໌

    • ͭΒ͍ • ͋ɺjQuery Mobile ͞Μ… • Android ͷීٴɺσβΠϯϦςϥγʔͷ޲্ɹɹɹɹɹɹɹ ϑϥοτσβΠϯͷོ੝ͳͲͰϑΣʔυΞ΢τ
  13. 2012೥ࠒ • Twitter Bootstrap ͷྲྀߦ • ਺ଟ͘ͷ؅ཧπʔϧ͕ Bootstrap Խ •

    ΤϯδχΞʹେਓؾ • ΦʔϓϯιʔεϓϩδΣΫτͷαΠτͱ͔΋ Bootstrap • ͜Ε͸͍·ͩʹଓ͍ͯΔҹ৅
  14. ʠ http://sachagreif.com/flat-pixels/ This style offers the best of both world:

    realism's affordances and subtle hints combined with the purity and simplicity off flat design.
  15. ࠓޙ • Material Design ͷৄࡉͳεϖοΫ͸ࢀߟʹͳΔ • ࣮૷͢΂͖۩ମత಺༰ͱ࣮૷ࡁͷίʔυ͕ଘࡏ͢Δͷ͕ڧΈ • Android L

    ΄͔ Android ϑΝϛϦʔͰ׆༂༧ఆʁ • Webϒϥ΢βͷੈքʹ͸ਐग़Ͱ͖Δ͔ʁ • ͕͢͞ʹ౰࣌ͷ iOS ΄Ͳͷঢ়ଶ͸๚Εͳ͍ؾ͕…
  16. ! !

  17. </> <core-toolbar> <paper-icon-button id="paper_icon_button" icon="menu" isToggle></paper-icon-button> <p>Hello my-app</p> </core-toolbar> <core-drawer-panel

    id="core_drawer_panel" selected="{{$.paper_icon_button.active ? 'drawer' : 'main'}}"> <section drawer>This is Drawer</section> <section main>This is Main</section> </core-drawer-panel>
  18. </> <core-style id=“shared”> :host { display: block color: white; }

    </core-style> <polymer-element noscript> <template> <core-style ref=“shared”> </core-style> </template> </polymer-element> <core-style>
  19. Unlock the next era of UI development with Polymer https://www.youtube.com/watch?v=HKrYfrAzqFA

    http://www.slideshare.net/rob_dodson/unlock-the-next-era-of-ui-design-with-polymer
  20. FAQ

  21. ʠ http://www.polymer-project.org/resources/faq.html#frameworks Nope. Polymer isn’t like things that have come

    before. Polymer is the first of a new kind of library taking advantage of Web Components.
  22. ʠ http://www.polymer-project.org/resources/faq.html#materialdesign Polymer played a key role in material design’s

    development: it was used to quickly prototype and iterate on design concepts.
  23. ΉΉΉ… • Web Components ࣗମ͕ Chrome 36 ͕΍ͬͱ͜ରԠ • Platform.js

    ͋Δ͚Ͳɺ͍͔ʹ΋ Developer Preview • ϞόΠϧͰ Polymer/Web Componentsେৎ෉͔ • γϟυ΢ͱΞχϝʔγϣϯͷଟ༻͸ϒϥ΢βWebͷఱఢ • Material Design ͦͷ΋ͷ͕ɺAndroid L ʹ޲͚ͯ͜Ε͔Β • Android ͷ UIWidget ྨ΋ɺ·ͩΑ͘͸ಈ͔ͳ͍
  24. : )

  25. • Material Design ͕ྲྀߦΔ͔͸ผͱͯ͠ษڧʹͳΔ • Web ༻ʹ͸ Polymer + Paper

    Elements Λར༻Ͱ͖Δ • Material Design ΋ Polymer (Web Components) ΋ൃల్্ • ϓϩμΫγϣϯ༻్Ͱීٴ͠͏Δͷ͸ɺ΋͏গ͠ઌͷະདྷ