webinista / colortheory

Decided to build a thing on a whim. May not finish.
http://colors.webinista.com/
1 stars 0 forks source link

Modify error message to indicate that a string needs to be trimmed #97

Open webinista opened 6 years ago

webinista commented 6 years ago

WAS: Trim white spaces from color values before updating props

If you add a space character after an input, it will attempt to update the color values everywhere.

Modifying the error message to indicate that the value is invalid because of extra spaces in probably the better way to go.