Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Patternfly next short
Search
Andres Galante
June 06, 2018
Technology
1
70
Patternfly next short
Andres Galante
June 06, 2018
Tweet
Share
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
290
How to use CSS to make your App look amazing and be accessible on any device
andresgalante
0
67
Open source - JUG BA
andresgalante
0
70
Open source - QCon19
andresgalante
0
100
CSS - Media queries o tamanho não importa
andresgalante
0
82
Cosmos
andresgalante
0
110
PatternFly 4 variable system
andresgalante
0
100
Open source
andresgalante
3
87
Other Decks in Technology
See All in Technology
AIBuildersDay_track_A_iidaxs
iidaxs
4
1.1k
[Neurogica] 採用ポジション/ Recruitment Position
neurogica
1
110
Amazon Quick Suite で始める手軽な AI エージェント
shimy
1
1.7k
"人"が頑張るAI駆動開発
yokomachi
1
110
20251218_AIを活用した開発生産性向上の全社的な取り組みの進め方について / How to proceed with company-wide initiatives to improve development productivity using AI
yayoi_dd
0
640
AI との良い付き合い方を僕らは誰も知らない
asei
0
230
New Relic 1 年生の振り返りと Cloud Cost Intelligence について #NRUG
play_inc
0
220
Lookerで実現するセキュアな外部データ提供
zozotech
PRO
0
200
[Data & AI Summit '25 Fall] AIでデータ活用を進化させる!Google Cloudで作るデータ活用の未来
kirimaru
0
3.3k
SREが取り組むデプロイ高速化 ─ Docker Buildを最適化した話
capytan
0
130
日本Rubyの会: これまでとこれから
snoozer05
PRO
5
230
まだ間に合う! Agentic AI on AWSの現在地をやさしく一挙おさらい
minorun365
17
2.5k
Featured
See All Featured
Test your architecture with Archunit
thirion
1
2.1k
Code Review Best Practice
trishagee
74
19k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
25
Bash Introduction
62gerente
615
210k
30 Presentation Tips
portentint
PRO
1
170
A Soul's Torment
seathinner
1
2k
Odyssey Design
rkendrick25
PRO
0
430
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
120
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
37
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
52
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
65
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
Transcript
None
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-m-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-m-danger .pf-m-sm .pf-m-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 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
A good design system empowers designers to code, and developers
to design. PATTERNFLY NEXT
Thanks! PATTERNFLY NEXT