Add relativeSize
This commit is contained in:
parent
b1e9ec82c5
commit
33c3d3ab6d
1 changed files with 4 additions and 0 deletions
|
@ -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'])
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue