Customize text and background color?
RogerPodacter opened this issue · comments
I can change the background color by modifying this line in the source:
context.strokeStyle = 'rgba(255, 255, 255, 0.85)';
But how do I change the text color?
(Also it would be nice to have the ability to set these colors from the Notificon()
call)
Great library!
Thanks Roger. I have a number of configuration options I will put in shortly.
Hey, do you have a branch with these changes on?
The master branch (as of now) supports an options hash as the second parameter where you may specify favicon, color and stroke).
e.g Notificon('10',{color: "#ff0000", stroke: "#ffffff", favicon: "/someotherfavicon.ico"});