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
72
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Patternfly next short
Andres Galante
June 06, 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 工作流:Agent Skill + MCP 實戰工作坊
appleboy
0
500
本当の”仕事”を手放せる未来が見えた
mu7889yoon
0
220
はてなのサービス基盤を支える Kubernetes《足腰》
masayoshimaezawa
0
430
AIDLC_ヤフーショッピングの取り組み
lycorptech_jp
PRO
0
510
ゼロをイチにする仕事が終わったあと
smasato
0
270
攻撃者がいなくてもAIエージェントはインシデントを起こす
nomizone
0
190
End-to-Endで考える信頼性 —LINEアプリにおけるクライアント開発×SRE連携の実践
maruloop
0
120
型は壁、Rustでもバグを直すな、表現できなくせよ
nwiizo
5
390
AIで政治は変わるのか? — 中高生と考えたAI時代の民主主義(東海高校サタデープログラム)
eitarosuda
0
380
プライバシー保護の理論と実践
lycorptech_jp
PRO
1
240
組織における AI-DLC 実践
askul
0
300
スタートアップにおけるアジャイルの実践について #shibuyagile
murabayashi
3
2k
Featured
See All Featured
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
220
Ruling the World: When Life Gets Gamed
codingconduct
0
270
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
610
A better future with KSS
kneath
240
18k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
GitHub's CSS Performance
jonrohan
1033
470k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Docker and Python
trallard
47
3.9k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
600
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
440
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Building an army of robots
kneath
306
46k
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