Essentials stay in the card header
Cards used to show everything, and people had to hunt for what they needed, even when it was just a total. Now the card header surfaces it by default or on hover: the total, the category, whatever matters first.
01 · Finance
Finance, store comparison and ABC Curve: big numbers, a quiet filter, titles outside the card.
Open chapter02 · Warranties
Every claim went through three checks. Now the system handles the first one.
Open chapter03 · Lenses
Layers, treatments on the photo, and the thickness view. About 20% more premium lens sales in the 2 months after launch.
Open chapter04 · CRM
Every conversation gets a temperature and a stage, so stores stop losing customers who were one step from buying.
Open chapter05 · On this page
Gestor Diniz · Chapter 05
The system behind the screens: two token layers, the interactions stores feel every day, and the playbook that makes the AI stick to the design language instead of inventing its own. The Design system menu at the top opens the real components.
Design system
The home got its own tokens; forms and windows sit in a quieter layer. No module paints its own brand anymore.
Hubs, tables, forms and workspaces don't fit one mold. Consistency doesn't mean making everything look the same when each one needs a different focus.
I rebuilt 6 screens from scratch, and they became the AI's context. Every new screen follows the playbook.
Every Gestor screen was migrated or rebuilt. The six at the core: Warranties, Sales analysis, ABC Curve, Catalog/Inventory, CDL and Courier pouches. The AI has a standing rule: follow the playbook and the design-ui book for every new screen.
I left the product samples in Portuguese because Gestor is a Brazilian product and these are its real screens.
Its typography, tiles and atmosphere set the standard. A new screen starts from a sibling in the same area.
Titles, empty states and errors say what to do now and, if something breaks, what to try next.
Hubs, lists, forms and workspaces each have their own rules. The old and new versions ran side by side.
Saturation, a bevel of light and isolated text. On hover, only the active surface lifts.
Before there could be rules, someone had to create order.
I rebuilt screens by hand until a pattern existed; only then did I write the playbook the AI follows. Accessibility is built in from the first screen: readable contrast, 44px touch targets and focus you can always see.
See the full playbook“Open a sibling component from the same domain and match its spacing, typography and tokens; don't refactor whole files unless asked.”
A rule the AI follows · design-system-dashboard.mdc, translated
Boa tarde, AnaDisplay · 48 / 1.02
Garantias Solicitações de garantiaTitle 36 · subtitle 20
HistóricoSection · 24
AtualizarPill · 14 / 20
EstoqueEyebrow · 10 · 0.16em
Color · product tokens
--dash-bg#f2f2f2#141416 · Shell background--dash-surface#ffffff#1c1c1e · Cards and windows--dash-text#1a1a18#f5f5f7 · Text--dash-text-muted#4f5664#98989d · Secondary text and empty states--dash-border#c8d0dc#2c2c30 · Borders and dividers--dash-catalog-accent#3d5d8a#6b8fc4 · Catalog--dash-instance-accent#2a4238#2a4238 · Instances--dash-garantias-accent#6d5228#c9b08a · WarrantiesStates
Nenhuma loja com esse nome.
Falha ao carregarTente de novo.
Instância conectadaA sessão está ativa nesta loja.
Motion
Almost everything uses one curve, cubic-bezier(0.22, 1, 0.36, 1). Springs only where a finger pushes something.
More screens
One step open at a time, and each choice is summed up in the step's title. Name the campaign to open the first step.
A conversation list that feels like WhatsApp. Connecting opens the shell's standard modal.
No longer just a list. The active item uses the same material as the home.
All with fictional data. The instances haven't been tested in stores yet.
Appendix · Playbook
When I joined, every screen came from asking the AI to build it however it liked, with no shared language and nobody making the calls. I rebuilt the ABC Curve by hand, then Finance, then Warranties, until a real pattern emerged. Only then did I write the rules below, so the AI follows that language instead of inventing its own.
The playbook is the recipe for fitting hubs, tables and forms into one shell, without every module reinventing its own header, icons and modals.
| Token | Font | Size | Line height | Example | Use |
|---|---|---|---|---|---|
dash-type-page-title | Geist Bold | 32–48 | 1.02 | Boa tarde | Home greeting. Display type, not a module title. |
dash-page-title | Geist Bold | 22–36 | normal | Garantias | Shell title, in shell gray #636780, not the text color. |
dash-page-subtitle | Geist Medium | 15–20 | normal | Solicitações de garantia | Subtitle on the same line. Hidden below 768 px. |
dash-curve-abc-section-title | Geist Semibold | 18–24 | normal | Histórico | Section title on a hub, outside the card. |
dash-editorial-label | Geist | 10 | 1.25 | Estoque | Eyebrow: 0.16em, all caps. |
dash-liquid-glass | Geist Medium | 14 | 20 | Atualizar | Pill text and menu item. |
| Token | Where | px | rem | Example |
|---|---|---|---|---|
gap-items | Liquid glass menu | 4 | 0.25 | |
gap-icon / pad | Pill icon, menu padding | 8 | 0.5 | |
header-stack | Title → pills | 12 | 0.75 | |
toolbar / pill-x | Between pills, 16 padding | 16 | 1 | |
shell-gap | DashPageShell < md | 24 | 1.5 | |
shell-gap-md | DashPageShell ≥ md | 32 | 2 | |
page-pb | End of page | 48–56 | 3–3.5 | |
playbook-block | Between playbook blocks | 44 | 2.75 | |
playbook-rule | Lede → rule | 52 | 3.25 |
JSON
{
"gutter": "12–20px",
"insetInline": "16–88px",
"insetBlock": "32px",
"maxWidth": "1440px",
"shellGap": "24 → 32px",
"playbookMargin": "2.75rem",
"playbookRule": "3.25rem",
"playbookSection": "6vh"
}| Token | Type | Example |
|---|---|---|
dash-pill-control | Outline | Atualizar |
dash-pill-control-search | Search | Buscar loja |
header-pill--action | Action | Atualizar |
header-pill--store | Store | Selecionar a loja |
header-date | Ghost | 8 meses |
dash-pill-control | Disabled | |
liquid-glass-close | Text only | Fechar |
dash-icon-ui | 16 · stroke 1.5 | |
dash-icon-hero | 20 · stroke 1.75 | |
dash-icon-action | 18 · stroke 2 | |
module radius | 13 px | |
menu radius | 26 px | |
card radius | 38 px |
DashPageShell with a two-row header. Title in shell gray, not the text color.
Three scales: 16, 20 and 18 px, with 1.5, 1.75 and 2 stroke. Instances and the lab use plain Lucide.
DashDialogShell on desktop. Token, status, barcode and connect never get a window of their own.
One step open at a time; the previous one collapses into a summary. 44 px pill, liquid glass menu below.
Finance and ABC Curve. Store and period pills in the header. The chart never holds the title.
See ABC Curve →ListWarranties and Instances. Row actions appear on hover. Status and connect use the shell's modal.
See Warranties →StepCampaign on desktop, ABC Curve on the phone. Each choice is summed up in the step's title.
See Campaigns →OutsideThe visualizer, instance chat and tracking need the full screen. The playbook also says what stays outside the shell.
See the visualizer →Cards used to show everything, and people had to hunt for what they needed, even when it was just a total. Now the card header surfaces it by default or on hover: the total, the category, whatever matters first.
The AI applies the pattern now, but someone had to create it first. Store comparison came after these rules and still fit the same shell and the same card. See the comparison
End of the case
24 of 24 stores on the new version, warranty claims down from 48 s to 21 s and about 20% more premium lens sales in the 2 months after launch.