HI,
Been creating some simple badges_themes for templating and dynamical badge coloring like below.
I need to further enhance it somewhat, for readability and signaling function, and need to know the precise name of the parts.
Where could we find that? text in the badge, text in the label, border of the badge and label since apparently label-badge-text-color-yellow doesn’t render a yellow text in the label (it is white) and theres no yellow border although declared as label-badge-border-color=yellow …
Also, why are some of these badge parts so awkwardly named:
label_badge_red is in fact the label_badge, and apparently there is also label-badge-blue, label-badge-green, label-badge-yellow and label-badge-grey? Are these the same parts of the label albeit colored differently, or different parts altogether ?
Why not just state label-badge=blue, label-badge=green, label-badge=yellow etc? Would make the silly code below more readable (label-badge=green, instead of label-badge-red-green…).
green_badge:
label-badge-red: green
label-badge-border-color: green
label-badge-background-color: white
label-badge-text-color: green
black_badge:
label-badge-red: black
label-badge-border-color: red
label-badge-background-color: white
label-badge-text-color: black
blue_badge:
label-badge-red: blue
label-badge-border-color: blue
label-badge-background-color: white
label-badge-text-color: blue
yellow_badge:
label-badge-red: lightgrey
label-badge-border-color: yellow
label-badge-background-color: lightgrey
label-badge-text-color: yellow
orange_badge:
label-badge-red: orange
label-badge-border-color: orange
label-badge-background-color: white
label-badge-text-color: orange
brown_badge:
label-badge-red: brown
label-badge-border-color: brown
label-badge-background-color: white
label-badge-text-color: brown
red_badge:
label-badge-red: red
label-badge-border-color: red
label-badge-background-color: white
label-badge-text-color: red