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
0
110
PF next UXDev Meetup
Andres Galante
March 26, 2018
Tweet
Share
More Decks by Andres Galante
See All by Andres Galante
Make Something Great! Become an Open Source Contributor
andresgalante
0
190
Make Something Great: Become an Open Source Contributor
andresgalante
0
250
How to use CSS to make your App look amazing and be accessible on any device
andresgalante
0
44
Open source - JUG BA
andresgalante
0
55
Open source - QCon19
andresgalante
0
83
CSS - Media queries o tamanho não importa
andresgalante
0
60
Cosmos
andresgalante
0
89
PatternFly 4 variable system
andresgalante
0
83
Open source
andresgalante
3
77
Featured
See All Featured
Side Projects
sachag
452
42k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
Adopting Sorbet at Scale
ufuk
73
9.1k
Docker and Python
trallard
40
3.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Designing the Hi-DPI Web
ddemaree
280
34k
Designing Experiences People Love
moore
138
23k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Facilitating Awesome Meetings
lara
50
6.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
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