Slide 1

Slide 1 text

Adam Onishi Financial Times @onishiweb Design Systems and Web Components

Slide 2

Slide 2 text

Design Systems

Slide 3

Slide 3 text

A design system is a living, funded product with a roadmap & backlog, serving an ecosystem. Nathan Curtis https://twitter.com/nathanacurtis/status/656829204235972608

Slide 4

Slide 4 text

https://www.lightningdesignsystem.com/

Slide 5

Slide 5 text

http://rizzo.lonelyplanet.com/styleguide/

Slide 6

Slide 6 text

https://www.futurelearn.com/pattern-library

Slide 7

Slide 7 text

http://codepen.io/guide/

Slide 8

Slide 8 text

http://origami.ft.com/

Slide 9

Slide 9 text

@onishiweb

Slide 10

Slide 10 text

http://registry.origami.ft.com/components o-header o-table o-card

Slide 11

Slide 11 text

Web Components

Slide 12

Slide 12 text

Create your own HTML elements with self-contained styling

Slide 13

Slide 13 text

Natively in the browser without a framework

Slide 14

Slide 14 text

What does that mean‽ @onishiweb

Slide 15

Slide 15 text

@onishiweb

Slide 16

Slide 16 text

Slide 17

Slide 17 text

text text text

Slide 18

Slide 18 text

https://github.com/w3c/webcomponents • Custom Elements

Slide 19

Slide 19 text

https://github.com/w3c/webcomponents • Custom Elements • Shadow DOM

Slide 20

Slide 20 text

https://github.com/w3c/webcomponents • Custom Elements • Shadow DOM • HTML Templates

Slide 21

Slide 21 text

Development with Web Components

Slide 22

Slide 22 text

Reusable/interoperable third party components? @onishiweb

Slide 23

Slide 23 text

Web Components in Design Systems @onishiweb

Slide 24

Slide 24 text

Origami and Web Components

Slide 25

Slide 25 text

http://origami-build.ft.com/v2/ Origami Build Service

Slide 26

Slide 26 text

If only there was a spec or suite of specs that handled distribution of HTML… Alice Bartlett Origami Lead Developer

Slide 27

Slide 27 text

text text text

Slide 28

Slide 28 text

Developers are lazy!

Slide 29

Slide 29 text

Slide 30

Slide 30 text

text text text

Slide 31

Slide 31 text

No more BEM! @onishiweb

Slide 32

Slide 32 text

Enforcing design standards @onishiweb

Slide 33

Slide 33 text

Other design systems

Slide 34

Slide 34 text

Design tokens @onishiweb

Slide 35

Slide 35 text

CSS variables and CSS mixins @onishiweb

Slide 36

Slide 36 text

Challenges

Slide 37

Slide 37 text

Upgrading Design Systems to Web Components @onishiweb

Slide 38

Slide 38 text

https://github.com/Financial-Times/o-header

Slide 39

Slide 39 text

o-header@^6.10.0

Slide 40

Slide 40 text

o-header@^7.0.0

Slide 41

Slide 41 text

Using Web Components today

Slide 42

Slide 42 text

Libraries @onishiweb

Slide 43

Slide 43 text

@onishiweb • Polymer • x-tag • Bosonic • SkateJS

Slide 44

Slide 44 text

Adam Onishi Financial Times @onishiweb Thank you!