Skip to content

Commit

Permalink
Reduce font sizes using small options
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffski committed Jun 7, 2020
1 parent d6d0ed7 commit 7c6fbef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ filters.forEach((filter) => {
let titleAsset = new Shotstack.TitleAsset;
titleAsset
.setText(filter)
.setStyle('minimal');
.setStyle('minimal')
.setSize('x-small');

let titleClip = new Shotstack.Clip;
titleClip
Expand Down
3 changes: 2 additions & 1 deletion examples/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ soundtrack
let titleAsset = new Shotstack.TitleAsset;
titleAsset
.setStyle('minimal')
.setText('Hello World');
.setText('Hello World')
.setSize('x-small');

let title = new Shotstack.Clip;
title
Expand Down
3 changes: 2 additions & 1 deletion examples/titles.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ styles.forEach((style) => {
let title = new Shotstack.TitleAsset;
title
.setStyle(style)
.setText(style);
.setText(style)
.setSize('small');

let transition = new Shotstack.Transition;
transition
Expand Down

0 comments on commit 7c6fbef

Please sign in to comment.