// Badge

Badge

Square HUD status chips whose single chroma — the status colour — rides the text, the tint, and the border at once.

.talos-badge is the inline status chip — uppercase display font, a square (zero-radius) HUD outline, and one status colour that drives all three of its surfaces: the text, a 10%-opacity tint fill, and a 45%-opacity border. Pick a status and the whole chip recolours from a single channel.

Status variants

PREVIEW
MITOnlineBetaFailedBuild 0.0.1
<span class="talos-badge talos-badge--neutral">MIT</span>
<span class="talos-badge talos-badge--success">Online</span>
<span class="talos-badge talos-badge--warning">Beta</span>
<span class="talos-badge talos-badge--danger">Failed</span>
<span class="talos-badge talos-badge--info">Build 0.0.1</span>

The bare .talos-badge defaults to --neutral (the foreground colour). Each modifier rebinds one channel triplet, so tint, border, and text all shift together — same vocabulary as alert and toast.

Dot

PREVIEW
OnlineOffline
<span class="talos-badge talos-badge--success talos-badge--dot">Online</span>

--dot adds a leading 6px point of the status colour with a soft glow — the colour distilled to a single lit pixel cluster before the label.

Solid

PREVIEW
LiveDegradedDownv1
<span class="talos-badge talos-badge--danger talos-badge--solid">Down</span>

--solid is the loud variant: the status colour becomes a filled background with contrast (background-colour) text. Neutral solid stays monochrome; the status solids keep their hue.

Small

PREVIEW
eu-west-3OK
<span class="talos-badge talos-badge--info talos-badge--sm">eu-west-3</span>

--sm tightens the padding, drops the font a pixel, and uses the tighter HUD tracking. Composes with any status and with --dot / --solid.

Classes

ClassEffect
.talos-badgebase chip; defaults to neutral (foreground) colour
.talos-badge--neutralforeground / monochrome status
.talos-badge--successrecolours to --talos-success
.talos-badge--warningrecolours to --talos-warning
.talos-badge--dangerrecolours to --talos-danger
.talos-badge--inforecolours to --talos-info
.talos-badge--dotleading 6px glow dot in the status colour
.talos-badge--solidfilled status background, contrast text
.talos-badge--smtighter padding, smaller font + tracking