Add relativeSize

This commit is contained in:
pyoor 2017-06-28 12:01:34 -07:00
parent b1e9ec82c5
commit 33c3d3ab6d

View file

@ -34,6 +34,10 @@ make.font = {
make.unit.percent()
])
},
relativeSize: function () {
let value = random.number(8)
return random.item(['', '+', '-']) + value
},
genericFamily: function () {
return random.pick(['serif', 'sans-serif', 'cursive', 'fantasy', 'monospace'])
},