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
PatternFly Next
Search
Andres Galante
April 18, 2018
Technology
72
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PatternFly Next
Andres Galante
April 18, 2018
More Decks by Andres Galante
See All by Andres Galante
Make Something Great! Become an Open Source Contributor
andresgalante
0
220
Make Something Great: Become an Open Source Contributor
andresgalante
0
310
How to use CSS to make your App look amazing and be accessible on any device
andresgalante
0
83
Open source - JUG BA
andresgalante
0
82
Open source - QCon19
andresgalante
0
120
CSS - Media queries o tamanho não importa
andresgalante
0
100
Cosmos
andresgalante
0
130
PatternFly 4 variable system
andresgalante
0
110
Open source
andresgalante
3
99
Other Decks in Technology
See All in Technology
AI時代における最適なQA組織の作り方
ymty
3
350
そのタスクオンスケですか?
poropinai1966
0
120
なぜ私たちのSREプラクティスはなかなか機能しないのか 〜システムより先に組織を見る〜 / Why our SRE practices aren't really working
vtryo
0
170
最近評価が難しくなった
maroon8021
0
210
型は壁、Rustでもバグを直すな、表現できなくせよ
nwiizo
5
390
10x Speed With QA Agent Platform - How we scaled adoption from individual effort to organizational capability
lycorptech_jp
PRO
0
130
ゼロをイチにする仕事が終わったあと
smasato
0
270
記録をかんたんに、提案をパーソナルに ── AIであすけんが目指すもの
oprstchn
0
130
AI Agent SaaS を支える自社仮想化基盤への挑戦と実運用 / ai-agent-saas-virtualization
flatt_security
0
650
金融の未来を考える / Thinking About the Future of Finance
ks91
PRO
0
150
Text-to-SQLをAgentCoreで実現し、生成されるSQLの精度を定量的に評価する
yakumo
2
500
FinOps X 2026 Recap from Engineer Side #JapanFinOps
chacco38
0
250
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
270
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
460
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Writing Fast Ruby
sferik
630
63k
Unsuck your backbone
ammeep
672
58k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
550
Marketing to machines
jonoalderson
1
5.5k
BBQ
matthewcrist
89
10k
A Tale of Four Properties
chriscoyier
163
24k
The browser strikes back
jonoalderson
0
1.4k
Transcript
None
PATTERNFLY NEXT
“I made a list of what was wrong on PatternFly.
PatternFly Next solves everything.” Matt Nolting, Insights team PATTERNFLY NEXT
BOOTSTRAP! PATTERNFLY NEXT
“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, redhat.com design system lead PATTERNFLY NEXT
1 PATTERNFLY NEXT
None
2 PATTERNFLY NEXT
MAINTAINABILITY Isolation and Modularity PATTERNFLY NEXT
Let each thing be a thing PATTERNFLY NEXT
Let’s first talk about HTML PATTERNFLY NEXT
Components & Layouts (and Demos) Look! a hipster ampersand! PATTERNFLY
NEXT
Layouts Layouts are the containers that allow for organizing and
grouping its immediate children on the page. pf-l-gallery PATTERNFLY NEXT
Components Components are modular and independent structures concerned with how
a thing looks. pf-c-box PATTERNFLY NEXT
… and Demos PATTERNFLY NEXT
CLASS NAMING SYNTAX pf-c-block pf-c-block__element pf-is-modifier PATTERNFLY NEXT
Let each thing be a thing PATTERNFLY NEXT
Create a modifier only if it changes state, scale, or
color Look! Oxford commas .pf-c-box .pf-is-danger .pf-is-sm .pf-is-expanded PATTERNFLY NEXT
UI Structures Components Layouts PATTERNFLY NEXT
Components Layouts ! PATTERNFLY NEXT
Components Layouts " PATTERNFLY NEXT
DEMO PATTERNFLY NEXT
Now let’s talk about PATTERNFLY NEXT 2 CSS
Variables Global vs Component variables https://css-tricks.com/theming-with-variables-globals-and-locals/ PATTERNFLY NEXT
Global and component variables, when combined, can be super powerful,
make CSS more maintainable, and even collaborative. Geoff Graham PATTERNFLY NEXT
Global variables global variables keep consistency across components $pf-global--concept--PropertyCamelCase--modifier--state PATTERNFLY
NEXT
Global variables $pf-global--concept--PropertyCamelCase--modifier--state PATTERNFLY NEXT $pf-global--spacer--sm $pf-global--FontSize--sm $pf-global--LineHeight--sm
Component variables component variables are scoped to theme-able component properties
$pf-c-block__element--modifier--state--PropertyCamelCase PATTERNFLY NEXT
Component variables PATTERNFLY NEXT $pf-c-block__element--modifier--state--PropertyCamelCase $pf-c-box--Color $pf-c-box__header--PaddingTop $pf-c-box--is-primary--BorderColor
$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
$pf-global--primary-color: blue; PATTERNFLY NEXT
$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
$pf-global--primary-color: blue; $pf-c-alert--primary--Color: red; PATTERNFLY NEXT
$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
Sass nesting To create class names. Always keep specificity to
the minimum. PATTERNFLY NEXT
DEMO PATTERNFLY NEXT
PF3 Friendly PATTERNFLY NEXT
Documentation driven development If it’s not documented it doesn’t exists
PATTERNFLY NEXT
LIQUID CAT Responsive Accessible Documented PATTERNFLY NEXT
Freedom! You can do whatever you want, as long as
you follow the rules. PATTERNFLY NEXT
A good design system empowers designers to code, and developers
to design. PATTERNFLY NEXT
YOU CSS UI PATTERNFLY NEXT
YOU CSS UI PATTERNFLY NEXT
Systems are built to change! PATTERNFLY NEXT
Thanks! PATTERNFLY NEXT