Remove make.font.globalValue from wrappers

This commit is contained in:
pyoor 2017-04-25 11:07:35 -04:00
parent 549c529210
commit c5791d6250
1 changed files with 2 additions and 6 deletions

View File

@ -7,10 +7,10 @@ make.font = {
return random.pick(["inherit", "initial", "unset"]);
},
style: function () {
return random.pick(["italic", "normal", "oblique", "inherit", make.font.globalValue()]);
return random.pick(["italic", "normal", "oblique", "inherit"]);
},
variant: function () {
return random.pick(["normal", "small-caps", "inherit", make.font.globalValue()]);
return random.pick(["normal", "small-caps", "inherit"]);
},
weight: function () {
return random.pick([
@ -20,8 +20,6 @@ make.font = {
["bolder", "lighter"],
/* numeric values */
[100, 200, 300, 400, 500, 600, 700, 800, 900],
/* Global values */
make.font.globalValue()
]);
},
size: function () {
@ -34,8 +32,6 @@ make.font = {
make.numbers.unsignedNumber() + make.units.units(),
/* <percentage> values */
make.units.percent(),
/* Global values */
make.font.globalValue()
]);
},
genericFamily: function () {