From c5791d62507900afd779e0aba24486135a0ecd43 Mon Sep 17 00:00:00 2001 From: pyoor Date: Tue, 25 Apr 2017 11:07:35 -0400 Subject: [PATCH] Remove make.font.globalValue from wrappers --- lib/make/fonts.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/make/fonts.js b/lib/make/fonts.js index b5433a2..4413998 100644 --- a/lib/make/fonts.js +++ b/lib/make/fonts.js @@ -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(), /* values */ make.units.percent(), - /* Global values */ - make.font.globalValue() ]); }, genericFamily: function () {