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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Andres Galante
June 06, 2018
Technology
1
71
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
300
How to use CSS to make your App look amazing and be accessible on any device
andresgalante
0
74
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
93
Other Decks in Technology
See All in Technology
データマネジメント戦略Night - 4社のリアルを語る会
ktatsuya
1
160
今日から始められるテスト自動化 〜 基礎知識から生成AI活用まで 〜
magicpod
1
120
イベントで大活躍する電子ペーパー名札を作る(その2) 〜 M5PaperとM5PaperS3 〜 / IoTLT @ JLCPCB オープンハードカンファレンス
you
PRO
0
190
Tebiki Engineering Team Deck
tebiki
0
27k
スピンアウト講座02_ファイル管理
overflowinc
0
1.1k
脳が溶けた話 / Melted Brain
keisuke69
1
820
1GB RAMのラズピッピで何ができるのか試してみよう / 20260319-rpijam-1gb-rpi-whats-possible
akkiesoft
0
830
「コントロールの三分法」で考える「コト」への向き合い方 / phperkaigi2026
blue_goheimochi
0
140
「通るまでRe-run」から卒業!落ちないテストを書く勘所
asumikam
2
460
大規模ECサイトのあるバッチのパフォーマンスを改善するために僕たちのチームがしてきたこと
panda_program
1
370
AIエージェント×GitHubで実現するQAナレッジの資産化と業務活用 / QA Knowledge as Assets with AI Agents & GitHub
tknw_hitsuji
0
180
Kiroで見直す開発プロセスとAI-DLC
k_adachi_01
0
120
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Building an army of robots
kneath
306
46k
Mobile First: as difficult as doing things right
swwweet
225
10k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.5k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
490
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
360
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.5k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Site-Speed That Sticks
csswizardry
13
1.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