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

PatternFly 4 variable system

Andres Galante
September 25, 2018
83

PatternFly 4 variable system

Andres Galante

September 25, 2018
Tweet

Transcript

  1. https://www.nngroup.com/articles/top-10-mistakes-web-design/ “...when things always behave the same, users don't have

    to worry about what will happen. Instead, they know what will happen based on earlier experiences” Jakob Nielsen PATTERNFLY 3 1
  2. “If you give a mockup to 10 developers you’ll get

    10 different results and none of them will look like the original mockup” Paul, UXD supreme leader PATTERNFLY 3 1
  3. Global and component variables, when combined, can be super powerful,

    make CSS more maintainable, and even collaborative. Geoff Graham PATTERNFLY 4 VARIABLES 2
  4. Comment This is a an example of a title Here

    goes some body text that the component might have Home Dashboard Reports Users Help Logout Navigation
  5. Comment This is a an example of a title Here

    goes some body text that the component might have Home Dashboard Reports Users Help Logout Navigation
  6. Global link color = BLUE Navigation link color = Global

    link color Comment link color = Global link color PATTERNFLY 4 VARIABLES 2
  7. Global link color = YELLOW Navigation link color = Global

    link color Comment link color = Global link color PATTERNFLY 4 VARIABLES 2
  8. Comment This is a an example of a title Here

    goes some body text that the component might have Home Dashboard Reports Users Help Logout Navigation
  9. Global link color = YELLOW Navigation link color = Global

    link color Comment link color = RED PATTERNFLY 4 VARIABLES 2
  10. Comment This is a an example of a title Here

    goes some body text that the component might have Home Dashboard Reports Users Help Logout Navigation
  11. Global spacer xl = 32px Modal Box padding = Global

    spacer xl PATTERNFLY 4 VARIABLES 2
  12. Global spacer md = 16px Modal Box padding = Global

    spacer md PATTERNFLY 4 VARIABLES 2 Global spacer xl = 32px
  13. PATTERNFLY 4 VARIABLES 2 Global spacer md 16px Modal padding

    top Global spacer md Global spacer xl 32px