Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PF next UXDev Meetup
Search
Andres Galante
March 26, 2018
120
0
Share
PF next UXDev Meetup
Andres Galante
March 26, 2018
More Decks by Andres Galante
See All by Andres Galante
Make Something Great! Become an Open Source Contributor
andresgalante
0
210
Make Something Great: Become an Open Source Contributor
andresgalante
0
300
How to use CSS to make your App look amazing and be accessible on any device
andresgalante
0
76
Open source - JUG BA
andresgalante
0
81
Open source - QCon19
andresgalante
0
120
CSS - Media queries o tamanho não importa
andresgalante
0
95
Cosmos
andresgalante
0
120
PatternFly 4 variable system
andresgalante
0
110
Open source
andresgalante
3
98
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
70
39k
Utilizing Notion as your number one productivity tool
mfonobong
4
290
HDC tutorial
michielstock
2
630
Everyday Curiosity
cassininazir
0
200
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
220
The Mindset for Success: Future Career Progression
greggifford
PRO
0
310
A better future with KSS
kneath
240
18k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Un-Boring Meetings
codingconduct
0
270
Evolving SEO for Evolving Search Engines
ryanjones
0
180
Ruling the World: When Life Gets Gamed
codingconduct
0
210
Transcript
None
PATTERNFLY’S HISTORY 1
2012 PATTERNFLY’S HISTORY 1
PATTERNFLY’S HISTORY 1
PATTERNFLY’S HISTORY 1 Red Hat UIs Looked “different”
“We always do ugly things... always…” Bruno Souza, Java Champion
PATTERNFLY’S HISTORY 1
PATTERNFLY’S HISTORY 1 Paul
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’S HISTORY 1
PATTERNFLY’S HISTORY 1
PATTERNFLY’S HISTORY 1
PATTERNFLY’S HISTORY 1
PATTERNFLY’S HISTORY 1
“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, fearless UXD supreme leader PATTERNFLY’S HISTORY 1
BOOTSTRAP PATTERNFLY’S HISTORY 1
= + ❤ PATTERNFLY’S HISTORY 1
PATTERNFLY’S HISTORY 1 August 22nd, 2013 First Commit
PATTERNFLY’S HISTORY 1 May 15th, 2014 First Release v1.0
PATTERNFLY’S HISTORY 1
PATTERNFLY’S HISTORY 1
2015 PATTERNFLY’S HISTORY 1
PATTERNFLY’S HISTORY 1
2016 PATTERNFLY’S HISTORY 1
“This PatternFly thing might actually work…” Paul’s thought in 2016
PATTERNFLY’S HISTORY 1
CSS is like a bear cub. Cute and inoffensive but
as he grows, he'll eat you alive. PATTERNFLY’S HISTORY 1
PATTERNFLY’S HISTORY 1
PATTERNFLY’S HISTORY 1
PATTERNFLY 3 PATTERNFLY’S HISTORY 1
None
2018 PATTERNFLY’S HISTORY 1
None
“I made a list of what was wrong on PatternFly.
PatternFly Next solves everything.” Matt Nolting, Insights team PATTERNFLY’S HISTORY 1
PATTERNFLY NEXT 2
NO BOOTSTRAP! PATTERNFLY NEXT 2
“I’m not one to say Bootstrap doesn’t have its place
in the world, it’s great for MVPs and startups. But when you have your own system, you need to be your own thing and stop leaning on the training wheels of Bootstrap” Kendall Totten, RH com lead PATTERNFLY NEXT 2
MAINTAINABILITY PATTERNFLY NEXT 2 Isolation and Modularity
PATTERNFLY NEXT 2 Let each thing be a thing
PATTERNFLY NEXT 2 Let’s first talk about HTML
PATTERNFLY NEXT 2 Components, Layouts, and Patterns. (and Demos)
PATTERNFLY NEXT 2 Layouts Layouts are the containers that allow
for organizing and grouping its immediate children on the page. pf-l-gallery
PATTERNFLY NEXT 2 Components Components are modular and independent structures
concerned with how a thing looks. pf-c-box
PATTERNFLY NEXT 2 Patterns A pattern is structure that is
made of more than one component. pf-p-name
PATTERNFLY NEXT 2 … and Demos
PATTERNFLY NEXT 2 BE and M pf-c-box pf-c-box__header pf-is-danger
PATTERNFLY NEXT 2 Let each thing be a thing
Create a modifier only if it changes state, scale, or
color PATTERNFLY NEXT 2 Look! Oxford commas .pf-c-box .pf-is-danger .pf-is-sm .pf-is-expanded
UI Structures Components Layouts PATTERNFLY NEXT 2
Components Layouts # PATTERNFLY NEXT 2
Components Layouts $ PATTERNFLY NEXT 2
PATTERNFLY NEXT 2 DEMO
Now let’s talk about PATTERNFLY NEXT 2 CSS
PATTERNFLY NEXT 2 Variables Global vs Component variables https://css-tricks.com/theming-with-variables-globals-and-locals/
Global and component variables, when combined, can be super powerful,
make CSS more maintainable, and even collaborative. Geoff Graham PATTERNFLY NEXT 2
PATTERNFLY NEXT 2 Global variables global variables keep consistency across
components --pf-global--concept--modifier--state--PropertyCamelCase
PATTERNFLY NEXT 2
PATTERNFLY NEXT 2 Component variables component variables are scoped to
theme-able component properties --pf-c-block__element--modifier--state--PropertyCamelCase
PATTERNFLY NEXT 2
PATTERNFLY NEXT 2 —pf-c-box--PaddingTop —pf-c-button--PaddingTop —pf-c-alert--PaddingTop —pf-c-box--primary--Color —pf-c-button--primary--Color —pf-c-alert--primary--Color —pf-global--spacer--md
—pf-global--primary--color Global Component
PATTERNFLY NEXT 2
PATTERNFLY NEXT 2 —pf-c-box--PaddingTop —pf-c-button--PaddingTop —pf-c-alert--PaddingTop —pf-c-box--primary--Color —pf-c-button--primary--Color —pf-c-alert--primary--Color —pf-global--spacer--md
—pf-global--primary--color Global Component
PATTERNFLY NEXT 2
PATTERNFLY NEXT 2 —pf-c-box--PaddingTop —pf-c-button--PaddingTop —pf-c-alert--PaddingTop —pf-c-box--primary--Color —pf-c-button--primary--Color —pf-c-alert--primary--Color —pf-global--spacer--md
—pf-global--primary--color Global Component
Sass nesting PATTERNFLY NEXT 2 To create BEM entities. Always
keep specificity to the minimum.
PATTERNFLY NEXT 2 DEMO
Documentation driven development PATTERNFLY NEXT 2 If it’s not documented
it doesn’t exists
LIQUID CAT Responsive Accessible Documented PATTERNFLY NEXT 2
PATTERNFLY NEXT 2 Freedom! You can do whatever you want,
as long as you follow the rules.
PATTERNFLY NEXT 2 seriously… follow the rules! SERIUSLY…
PATTERNFLY NEXT 2 A good design system empowers designers to
code, and developers to design.
YOU CSS UI PATTERNFLY NEXT 2
YOU CSS UI PATTERNFLY NEXT 2
PATTERNFLY NEXT 2 Systems are built to change!
PATTERNFLY NEXT 2 What do you think?
LET’S SEE IT IN ACTION 3
None
Header Main Sidbar
Header Header
Context Selector Brand Secondary Nav Toolbar Toolbar Toolbar Toolbar Toolbar
Page Header Toolbar
List List item List item List item List header List
body
split main split secondary Toolbar
Main Nav