azerion / phaser-input

Adds input boxes to Phaser like CanvasInput, but also works for WebGL and Mobile, made for Phaser only.
MIT License
203 stars 64 forks source link

What are the accepted values for font weight? #60

Closed georgebutter closed 6 years ago

georgebutter commented 7 years ago

I have tried:

None of them seem to make any difference.

AleBles commented 6 years ago

Our InputOptions inherit from Phaser's so any CSS weight should work, it default's to normal (400) tho. But as per the example it should work. I'd like to point out that regular is not a valid option and 400 (normal) annd medium (500) are fairly similar, however (depending on the font used) they should show a little difference.

See Common weight name mapping @ https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight

georgebutter commented 6 years ago

Perfect, thank you! Might be handy to add to the readme for properties

smartsingam commented 6 years ago

Can you help me for phaser development.. I am new in phaser development can help me basic

smartsingam commented 6 years ago

Can you help me for phaser development.. I am new in phaser development can help me basic contact mail Id singaraj671@gmail.com