From 888e9332394fb47102b76957c8000404c929339f Mon Sep 17 00:00:00 2001 From: Sylvester Damgaard Date: Mon, 27 Jul 2026 12:52:01 +0200 Subject: [PATCH] fix(console): define the design-system classes that rendered as nothing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Four `cbx-*` classes were used in Blade with no rule anywhere behind them, which fails silently — the element renders unstyled on a page that otherwise looks fine. The one that mattered: `.cbx-pill--danger` (the design system's variant is `--destructive`). On /console/nexus that made "3 triggered" — US economic-nexus thresholds crossed, an unregistered tax liability — render as the same neutral chip as any inert label. The severity signal was dropped on the page whose entire job is severity. Same class on the three import screens, where a FAILED import read as routine. Also `.cbx-card` on the topbar's clone popover, which had no background, border or shadow and so rendered transparent over the table beneath it — on every console page; `.cbx-pill--neutral`, harmless because it coincided with the default; and `.cbx-label`, which left section headings looking like body text. The first three are repointed at the real variants; `.cbx-label` is defined, matching `.cbx-kv dt` so the two read as one system. A CI guard now compares every class used in a `class="…"` attribute against every rule in the stylesheets AND in Blade `