{% extends "base.html" %} {% from "components/status_badge.html" import status_badge %} {% block title %}Style Guide · Energizados{% endblock %} {% block app_title %}Style Guide{% endblock %} {% block content %} {# ============================================================ Intro ============================================================ #}
Living documentation of the web console design system. Every swatch and
sample below is rendered with the real
var(--app-*) tokens — no hardcoded colors. Toggle the
light/dark switch in the topbar and the entire page
re-themes in place: swatches, components, and the displayed token values
all follow.
Each chip's background is the token itself (var(--app-*)),
so it tracks the active theme. The value shown is the live computed hex.
Brand · indigo
A comma-separated --app-primary-rgb triple is also defined
for rgba() composition (not a standalone color).
Neutrals
Semantic
Sans — --app-font-sans (Inter)
Body text — the quick brown fox jumps over the lazy dog while the electricity meter records consumption for twelve months.
Small / caption text for secondary detail.
Mono — --app-font-mono
train-20240101_120000 · AUC=0.8523 · F1=0.7810
etl:
sample:
enabled: true
custom_class: "energizados.etl.pipeline.SourceETL"
Spacing — --app-space-1 … --app-space-6
{{ token }}
{{ rem }}
Radius — --app-radius-sm / md / lg
{{ token }}
{{ rem }}
Shadow — --app-shadow-sm / md
--app-shadow-sm
--app-shadow-md
Buttons & spinner
Status badges (status_badge macro)
Metric row
Empty state
Card with header & compact table
| Run | Status | AUC |
|---|---|---|
| train-20240712_0915 | {{ status_badge('success') }} | 0.8523 |
| train-20240711_1430 | {{ status_badge('failed') }} | — |
| etl-20240712_0800 | {{ status_badge('running') }} | — |