Skip to main content

Module badge

Module badge 

Source
Expand description

A small mark over the corner of something: how many new things are behind it, or only that there are some.

Constantsยง

COUNT_SIZE ๐Ÿ”’
How tall a count is, and how wide at the least: a circle around one figure.
DOT_SIZE ๐Ÿ”’
How wide and tall the mark is that only says there is something.

Functionsยง

count_badge
count, small, on the accent colour: for over the corner of a button.
dot_badge
A dot of the accent colour: there is something new, however much.
on_accent ๐Ÿ”’
content, on the accent colour, with its ends rounded all the way.