bryanveloso / avalonstar-tv-chat

[ARCHIVED] The Ember.js application currently powering Avalonstar's chat overlay.
4 stars 0 forks source link

Increase Luminosity of Usernames #5

Closed VxJasonxV closed 9 years ago

VxJasonxV commented 9 years ago

Function adapted from http://www.sitepoint.com/javascript-generate-lighter-darker-color/ , I presume that 50% lighter is a good starting point ( the 0.5 in https://github.com/VxJasonxV/avalonstar-live/blob/5c1dffeed145be2d42f317bf6e07b5106a12466e/app/models/message.coffee#L27 ), but it definitely needs to be evaluated, and I have no idea what the best way to accomplish that is.

coffeelint isn't complaining, but that doesn't mean much.

VxJasonxV commented 9 years ago

I suspect this doesn't actually work because it's not getting rid of the #. Again, I'm not sure of how to test this :).

bryanveloso commented 9 years ago

Just have to slice out the #, I believe. Did that in 33bfab986aca0283ac3382fa7f866207e504dd34.