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 short
Search
Andres Galante
June 06, 2018
Technology
1
68
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
190
Make Something Great: Become an Open Source Contributor
andresgalante
0
280
How to use CSS to make your App look amazing and be accessible on any device
andresgalante
0
53
Open source - JUG BA
andresgalante
0
57
Open source - QCon19
andresgalante
0
89
CSS - Media queries o tamanho não importa
andresgalante
0
69
Cosmos
andresgalante
0
92
PatternFly 4 variable system
andresgalante
0
94
Open source
andresgalante
3
80
Other Decks in Technology
See All in Technology
Navigation3でViewModelにデータを渡す方法
mikanichinose
0
220
Uniadex__公開版_20250617-AIxIoTビジネス共創ラボ_ツナガルチカラ_.pdf
iotcomjpadmin
0
160
Postman AI エージェントビルダー最新情報
nagix
0
110
BrainPadプログラミングコンテスト記念LT会2025_社内イベント&問題解説
brainpadpr
1
160
Welcome to the LLM Club
koic
0
170
製造業からパッケージ製品まで、あらゆる領域をカバー!生成AIを利用したテストシナリオ生成 / 20250627 Suguru Ishii
shift_evolve
PRO
1
140
生成AIで小説を書くためにプロンプトの制約や原則について学ぶ / prompt-engineering-for-ai-fiction
nwiizo
4
1.8k
Node-RED × MCP 勉強会 vol.1
1ftseabass
PRO
0
140
Claude Code Actionを使ったコード品質改善の取り組み
potix2
PRO
6
2.3k
AIエージェント最前線! Amazon Bedrock、Amazon Q、そしてMCPを使いこなそう
minorun365
PRO
15
5.2k
~宇宙最速~2025年AWS Summit レポート
satodesu
1
1.8k
Delegating the chores of authenticating users to Keycloak
ahus1
0
120
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
173
14k
Scaling GitHub
holman
459
140k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
Docker and Python
trallard
44
3.4k
Rails Girls Zürich Keynote
gr2m
94
14k
The Language of Interfaces
destraynor
158
25k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Writing Fast Ruby
sferik
628
61k
We Have a Design System, Now What?
morganepeng
53
7.7k
Agile that works and the tools we love
rasmusluckow
329
21k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
KATA
mclloyd
29
14k
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