Playfair Display + Source Sans 3
playfairFree font pair (Google Fonts): classic, luxury, magazine.
Install
$ npx paper-motion add playfairMerges into brand/tokens.json; keeps your own values unless you pass --force.
Tune it, then add it to your kit
Make it move.
Body text for captions and lines that explain.
Playfair DisplaySource Sans 3Source Code Pro
Parameters
display
text
mono
displayWeight
tracking
{
"fonts": {
"display": {
"family": "Playfair Display",
"weights": [
600
],
"css": "https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap",
"license": "OFL"
},
"text": {
"family": "Source Sans 3",
"weights": [
400,
600
],
"css": "https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600&display=swap",
"license": "OFL"
},
"mono": {
"family": "Source Code Pro",
"weights": [
400
],
"css": "https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400&display=swap",
"license": "OFL"
}
},
"type": {
"reference": 1080,
"display": {
"font": "display",
"weight": 600,
"size": 200,
"lineHeight": 0.95,
"tracking": "-0.01em"
},
"title": {
"font": "display",
"weight": 600,
"size": 96,
"lineHeight": 1,
"tracking": "-0.01em"
},
"body": {
"font": "text",
"weight": 400,
"size": 28,
"lineHeight": 1.45,
"tracking": "0em"
},
"caption": {
"font": "mono",
"weight": 400,
"size": 20,
"lineHeight": 1.3,
"tracking": "0em"
}
}
}Defaults
Notes
- Fonts load from Google Fonts at render time; for offline renders, download the files into brand/assets/fonts/ and set
fileinstead ofcss. - Sizes are for a 1080 px short side; B.type() scales them for other formats.
Spec
- Id
- playfair
- Type
- Font pairs
- Version
- 1.0.0
- Engine
- >=0.2.0
- License
- OFL
- Data
- r/playfair.json