← Proof benches

Section 1 · Brand — one way in

Round 2 — Brand and Font on one row

Your asks: Brand color and Font side by side, no "i", the fold link and Surprise me on the second line, "Reset" as on the rest of the site (Reset colors, Reset this chart): a link right after its control, always there, off while the value is auto. The fold is open here, with Success set to a color that fails as text — so you see Reset and the note. The link says "More tokens"; it could also stay "More from your design system".

Round 1 — picked: B1 (built)

Today the playground asks first "One color or Connect your DS?". Tested on IBM Carbon, the token scan used 4 of 327 tokens and took the wrong background. ELECT is for design systems WITHOUT data viz, so the idea is one way in: the brand color, the font, and the rest folded — every field "auto" until you set it. Fields left empty are computed by ELECT; a value you set is checked for contrast and corrected visibly. These panels are static — open the folds.

A Today

Two modes. "Connect your DS" = paste a tokens file; ELECT guesses five values by their names.

B1 Brand + font, the rest behind a link

The light fold: a link opens four more fields in place.

B2 Brand + font, the rest in an accordion

Alaric's own fold (.accordion) — a bordered box with + / −.

C Everything visible

No fold: six fields, all in sight.

Your own variable names — where do we ask?

Optional. When you give your DS's name for a value, the exported code links to it: --elect-base-brand: var(--primary, #cc6d26) — your variable, with the playground's value as the fallback (a wrong name never breaks the charts). Empty = the plain value. Type a name below: the code changes. The ELECT names on the left side of the code are illustrative until this is built.

N1 In the Export window

Asked only when you take the code. The Brand panel stays as in B1 / B2 / C.

1 · For

        

N2 Next to each value, in the Brand panel

The name sits right by its color — but the panel doubles in fields.

Brand color