diff --git a/input.coffee b/input.coffee index 60ad1fb..2f42068 100644 --- a/input.coffee +++ b/input.coffee @@ -98,6 +98,7 @@ class exports.Input extends Layer options.autofocus ?= false options.textColor ?= "#000" options.fontFamily ?= "-apple-system" + options.fontWeight ?= "500" super options @@ -121,6 +122,7 @@ class exports.Input extends Layer @input.style.padding = _inputStyle["padding"](@) @input.style.fontFamily = options.fontFamily @input.style.color = options.textColor + @input.style.fontWeight = options.fontWeight @input.value = options.text @input.type = options.type