feat(FN-3350): tokenize task detail danger/error styling

Fixes task detail modal danger/error styling by switching to token-based CSS variables for consistent theming across dark and light modes.

Fusion-Task-Id: FN-3350
This commit is contained in:
Fusion
2026-05-04 04:04:13 -07:00
committed by gsxdsm
parent 5be5da1938
commit 6ecfb3c4ec
24 changed files with 487 additions and 53 deletions

View File

@@ -1257,7 +1257,9 @@ export function ListView({
</span>
)}
<span className="list-card-spacer" />
{isStuckState ? (
{isPaused && task.pausedByAgentId ? (
<span className="list-status-badge paused">paused by agent</span>
) : isStuckState ? (
<span className="list-status-badge stuck">Stuck</span>
) : hasStatus ? (
<span className={`list-status-badge list-status-badge--${task.column}${isFailed ? " failed" : ""}${isAgentActive ? " pulsing" : ""}`}>
@@ -1451,7 +1453,9 @@ export function ListView({
)}
{visibleColumns.has("status") && (
<td className="list-cell">
{isStuckState ? (
{isPaused && task.pausedByAgentId ? (
<span className="list-status-badge paused">paused by agent</span>
) : isStuckState ? (
<span className="list-status-badge stuck">
Stuck
</span>