Files
fusion/packages/dashboard/app/components/ErrorBoundary.css
gsxdsm 282b06949e FN-6688: replace dashboard primary text alias
Replace undefined dashboard primary text aliases with the canonical theme-aware text token.

- Swap non-Command-Center CSS references from `--text-primary` to `--text` across dashboard components.
- Extend text token canonicalization tests to block future `--text-primary` usage and root alias definitions.
- Document the dashboard CSS token rule and add a patch changeset for the published CLI bundle.

Files changed:
 .changeset/fn-6688-text-primary-cleanup.md          |  5 +++++
 docs/dashboard-guide.md                             |  2 ++
 .../__tests__/text-token-canonicalization.test.ts   | 18 ++++++++++++++++--
 .../dashboard/app/components/ActiveAgentsPanel.css  |  4 ++--
 .../dashboard/app/components/CliBinaryPanel.css     |  2 +-
 .../app/components/ConversationHistory.css          |  6 +++---
 .../dashboard/app/components/DesktopLaunchGate.css  |  2 +-
 packages/dashboard/app/components/ErrorBoundary.css |  2 +-
 .../dashboard/app/components/LanguageSelector.css   |  2 +-
 packages/dashboard/app/components/MobileNavBar.css  |  4 ++--
 packages/dashboard/app/components/QuickEntryBox.css |  6 +++---
 packages/dashboard/app/components/ScriptsModal.css  | 21 +++++++++++++--------
 .../dashboard/app/components/SkillMultiselect.css   |  2 +-
 .../dashboard/app/components/TaskFieldsSection.css  |  4 ++--
 .../app/components/WorkflowFieldsPanel.css          |  2 +-
 packages/dashboard/app/styles.css                   |  2 +-
 16 files changed, 55 insertions(+), 29 deletions(-)

Fusion-Task-Id: FN-6688

Fusion-Task-Lineage: 96e47af2-8bf5-4326-be24-2816530fd646
2026-06-19 01:33:13 -07:00

73 lines
1.3 KiB
CSS

/* === Error Boundary === */
.error-boundary {
display: flex;
flex-direction: column;
align-items: center;
padding: var(--space-xl);
background: var(--surface);
border-radius: var(--radius-lg);
border: 1px solid var(--color-error);
max-width: 480px;
margin: auto;
text-align: center;
color: var(--text);
}
.error-boundary--root {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.error-boundary--page {
padding: var(--space-2xl) var(--space-xl);
}
.error-boundary--modal {
padding: var(--space-xl);
}
.error-boundary__icon {
color: var(--color-error);
margin-bottom: var(--space-md);
}
.error-boundary__icon svg {
width: 40px;
height: 40px;
}
.error-boundary__title {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: var(--space-sm);
}
.error-boundary__message {
font-size: 0.85rem;
color: var(--text-muted);
background: var(--bg);
padding: var(--space-sm) var(--space-md);
border-radius: var(--radius-sm);
margin: var(--space-md) 0;
overflow-x: auto;
text-align: left;
font-family: var(--font-mono);
white-space: pre-wrap;
word-break: break-word;
max-height: 120px;
overflow-y: auto;
width: 100%;
box-sizing: border-box;
}
.error-boundary__actions {
display: flex;
gap: var(--space-sm);
justify-content: center;
margin-top: var(--space-lg);
}