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

Delivering Flexible Cross Platform Design Systems

Delivering Flexible Cross Platform Design Systems

(Presented at Design Systems London 2018)

The affordances & aesthetics of a design system are only the tip of the iceberg for engineering teams operating at scale. The implementation of colors, typography, individual component interactions, and other aspects of the design language must be flexible enough to enable teams that may use multiple platforms (such as React & React native), multiple CSS approaches (such as class-based or inline-based CSS styling), or even multiple brands (i.e. white labeling).

This talk will explore delivery & implementation approaches for these aspects of design systems with a focus on developer experience. It will provide battle-hardened techniques and strategies that answer some of the most important engineering questions on how to deliver a flexible system into production Web & Native applications consistently across a large organization with several independent product teams.

Charlie Robbins

November 16, 2018
Tweet

More Decks by Charlie Robbins

Other Decks in Technology

Transcript

  1. UXCore2 Our design system ABOUT 50 COMPONENTS REACT BASED OVER

    100 CONTRIBUTORS STARTED IN LATE 2015 SUPPORTS REACT NATIVE ~40% OF FRONT END ENGINEERS
  2. NO

  3. λ-CALCULUS OF COLOR SELECTION WHAT IF A BRAND WANTS TO

    USE “SECONDARY” FOR “PRIMARY” BUTTON? MORE BUTTON-SPECIFIC VARIABLES FOR REBINDING In λ-calculus this is an “α-conversion”
  4. AS SIMPLE possible with as CLEAR REQUIRE / IMPORT USAGE

    DESIGN DOCUMENTATION PLATFORM SPECIFIC EXAMPLES ZERO CONFIG, SANE DEFAULTS
  5. can break publishing NPM INSTALL & UNIT TESTS UPSTREAM BUILD

    TOOLCHAINS REACT NATIVE APPS MISCONFIGURED CONSUMERS
  6. WARNING: CONSUMER BUNDLES SHOULD NOT INCLUDE YOUR DESIGN SYSTEM OR

    DEPENDENCIES THAT CHANGE INFREQUENTLY PLEASE BE ADVISED.
  7. ANY ORDINARY WEBPACK BUNDLE MODULE LOADER – THE “FACTORY” MODULE

    0 module.exports = /* module 0’s code */ MODULE 1 module.exports = /* module 1’s code */ MODULE 2 module.exports = /* module 2’s code */ MODULE 3 module.exports = /* module 3’s code */
  8. ANY ORDINARY WEBPACK BUNDLE MODULE LOADER – THE “FACTORY” MODULE

    0 module.exports = /* module 0’s code */ MODULE 1 module.exports = /* module 1’s code */ MODULE 2 module.exports = /* module 2’s code */ MODULE 3 module.exports = /* module 3’s code */ module.exports = window.path.to.module2;
  9. warehouse.ai Using npm dist-tag add @your/[email protected] prod makes this trivial

    ... TRY IT OUT! HTTPS://GITHUB.COM/GODADDY/WAREHOUSE.AI
  10. ... YOU CAN’T AVOID IT WARNING: ON A LONG ENOUGH

    TIMELINE, IF LEFT UNCHECKED ALL SOFTWARE WILL CRUMBLE FROM TECHNICAL DEBT PLEASE BE ADVISED.
  11. UPGRADING TO NEW VERSIONS: REACT, BABEL, WEBPACK, ETC. REMOVING DEPRECATED

    APIS E.G. componentWillReceiveProps, etc. USING LATEST APIS – E.G. PORTALS, REACT@16 CONTEXT, etc.
  12. IT ADDS UP QUICKLY UPGRADING TO NEW VERSIONS: REACT, BABEL,

    WEBPACK, ETC. REMOVING DEPRECATED APIS E.G. componentWillReceiveProps, etc. USING LATEST APIS – E.G. PORTALS, REACT@16 CONTEXT, etc.
  13. MAY THE SOURCE BE WITH YOU SLIDES WILL BE POSTED

    ON TWITTER SHORTLY – FOLLOW ME @INDEXZERO THANKS FOR LISTENING!