You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(webapp): stop the Colors tables repeating every theme inside every theme
The measured tables sit inside an Audit, which renders its children once per
theme - and the table was building the five themes a second time internally. The
result was twenty-five mode blocks per table, each one a full Token / Fill /
Ratio / Verdict set, which made the section unreadable.
The table is back to one mode: token details, then Fill, Ratio and Verdict. The
themes come only from the Audit columns around it. That works without the table
knowing anything about themes, because each column is already a `data-theme`
context and the ratios are measured off the DOM, so the same table reports that
column's answer.
Audit takes a column width now, since a block holding four sub-columns needs more
room than one holding a single sample.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@@ -836,6 +791,7 @@ export default function Story_() {
836
791
>
837
792
<StorySubSectiontitle="Status & text tokens">
838
793
<Audit
794
+
columnMin={CONTRAST_COLUMN_MIN}
839
795
title="Status and text accents"
840
796
where={["tailwind.css"]}
841
797
note="The four status tokens carry every run, deployment, batch, waitpoint and queue state in the app, plus the timeline and trace bars."
@@ -846,6 +802,7 @@ export default function Story_() {
846
802
847
803
<StorySubSectiontitle="Environment tokens">
848
804
<Audit
805
+
columnMin={CONTRAST_COLUMN_MIN}
849
806
title="Environment accents"
850
807
where={["tailwind.css","EnvironmentLabel.tsx"]}
851
808
note="Staging is the one env token that still differs per mode. Preview and its branch labels are blue in every theme now, so they read the same at both ends of the `system` setting."
@@ -856,6 +813,7 @@ export default function Story_() {
note="29 accents, one per nav section. Several land on the same hue (metrics / regions / aiMetrics are all green; concurrency / errors / apiKeys are all amber), so the accent identifies a section only in combination with its icon."
@@ -866,6 +824,7 @@ export default function Story_() {
title="Palette utilities used directly in components"
870
829
where={[
871
830
"TaskRunStatus.tsx",
@@ -884,6 +843,7 @@ export default function Story_() {
884
843
885
844
<StorySubSectiontitle="Run-status chart series">
886
845
<Audit
846
+
columnMin={CONTRAST_COLUMN_MIN}
887
847
title="Run status chart colors"
888
848
where={["tailwind.css","TaskRunStatus.tsx"]}
889
849
note="17 series on one chart, deliberately spaced within three families (blues, roses, charcoals). Judged at 3:1 against the plot surface — and, separately, against each other."
@@ -894,6 +854,7 @@ export default function Story_() {
894
854
895
855
<StorySubSectiontitle="Callout accents">
896
856
<Audit
857
+
columnMin={CONTRAST_COLUMN_MIN}
897
858
title="Callout text and icon accents"
898
859
where={["Callout.tsx","tailwind.css"]}
899
860
note="Measured against this card, not the callout's own tint — the real ratio inside a callout is a little lower for the text tokens and a little higher for the icons."
0 commit comments