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
200
Make Something Great: Become an Open Source Contributor
andresgalante
0
290
How to use CSS to make your App look amazing and be accessible on any device
andresgalante
0
57
Open source - JUG BA
andresgalante
0
62
Open source - QCon19
andresgalante
0
95
CSS - Media queries o tamanho não importa
andresgalante
0
74
Cosmos
andresgalante
0
95
PatternFly 4 variable system
andresgalante
0
96
Open source
andresgalante
3
81
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
810
GitHub's CSS Performance
jonrohan
1032
460k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.9k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.6k
The Art of Programming - Codeland 2020
erikaheidi
55
13k
RailsConf 2023
tenderlove
30
1.2k
How to Ace a Technical Interview
jacobian
279
23k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Bash Introduction
62gerente
615
210k
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