#zapatillasFromMars ππ
Frontend developer at Adevinta
Co-organizer of Murcia Frontend π
@klaufel
We are a family of digital brands
Variables are just part of that story
π
Design tokens
Colors, typography, layout, spacing, ...
π¨
DesignΒ components
βοΈ
Atomic design
Atom / Molecule / Organism / Template / Page
Methodology
π
DevelopΒ components
THEME
π¦
Catalog of components
Pattern library
Figma
Sketch
inVision
Xd
Photoshop
success - #109c42
error - #e5363a
warning - #ffa90d
Alert colors
80 - #333333
40 - #999999
20 - #cccccc
05 - #f2f2f2
00 - #ffffff
Neutral colors
Primary colors
light - #56a4c9
main - #2587b8
dark - #1d698f
Headings
Default
Family:
Open Sans (700)
Size:
28px
Line height:
40px
Normal
Family:
Open Sans (700)
Size:
20px
Line height:
28px
Small
Family:
Open Sans (700)
Size:
18px
Line height:
24px
Body
Normal
Minions ipsum chasy baboiii bappleees
Family:
Open Sans (400)
Size:
14px
Line height:
20px
8-Point grid system
4px* / 8px / 16px / 24px / 32px / 40px / 48px / 56px
xxs
xs
sm
md
lg
xl
xxl
do you need anything else?
Breakpoints
Radius
Shadows
Default button
Color token
main
Primary
Corner
sm
Radius token
/Β Β Body
normal
Color & typography token
00
Neutral
Spacing token
md
Spacing token
sm
Frontend
Funcionality, perf, construction
Design
Layout, aestethics, usability
DESIGN TOKENS
as vars to any plattform
Preprocessor
CSS-in-JS
CSS
Android
iOS
Manual or
plugin export
Design file
Preprocessor
CSS
CSS-in-JS
Android
iOS
Tokens data
colors, typography,
spacing, ... as a
single JSON file
Manual or
plugin export
Design file
Style Dictionary
CSS
Preprocessor
CSS-in-JS
Android
iOS
</>
[ ]
$
--
{ }
Tokens data
colors, typography,
spacing, ... as a
single JSON file
Design tokens
as variables
Figma API
Figma file
CSS-in-JS
CSS
Preprocessor
Android
iOS
@klaufel