Favicon notifications inspired by original tinycon. Styled with CSS!
$ component install component/noticon
Noticon utilizes component/style to enable CSS styling for Canvas rasters. For example the default style is:
.noticon {
color: white;
background: #ED372A;
}
Initialize a new Noticon
with optional CSS selector
used
for styling, this defaults to ".noticon".
Update the number to n
, this will automatically
draw the bubble and replace the favicon.
MIT