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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
810
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
150
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
200
How STYLIGHT went responsive
nonsquared
100
6.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
300
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
190
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
150
New Earth Scene 8
popppiees
3
2.1k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
120
A Soul's Torment
seathinner
6
2.7k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
110
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