The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 04:15 UTC
fix(web): diff counts follow the selected color palette (#18288)
₿itconym committed
Oct 18, 2026 at 21:09 UTC
ba1907e8e0b26de89856e68a4f8692e08c0f28b4
2 files changed
+6
-4
apps/web/src/components/GitActionsControl.tsx
+4
-2
@@ -1843,8 +1843,10 @@ export default function GitActionsControl({
1843
<FileDiffIcon className={THREAD_DETAILS_PANEL_ICON_CLASS} aria-hidden />
1844
<span className={cn("flex-1 text-left", THREAD_DETAILS_PANEL_LABEL_CLASS)}>Changes</span>
1845
<span className="flex items-center gap-1 font-mono text-2xs tabular-nums">
1846
- <span className="text-success">+{formatDiffCount(changesTotals?.insertions ?? 0)}</span>
1847
- <span className="text-destructive">
1846
+ <span className="text-diff-addition">
1847
+ +{formatDiffCount(changesTotals?.insertions ?? 0)}
1848
+ </span>
1849
+ <span className="text-diff-deletion">
1850
-{formatDiffCount(changesTotals?.deletions ?? 0)}
1851
</span>
1852
</span>
apps/web/src/components/chat/V2ItemInspector.tsx
+2
-2
@@ -288,8 +288,8 @@ export const V2ItemInspector = memo(function V2ItemInspector(props: V2ItemInspec
288
</span>
289
{item.additions !== undefined || item.deletions !== undefined ? (
290
<span>
291
- <span className="text-success">+{formatDiffCount(item.additions ?? 0)}</span>{" "}
292
- <span className="text-destructive">-{formatDiffCount(item.deletions ?? 0)}</span>
291
+ <span className="text-diff-addition">+{formatDiffCount(item.additions ?? 0)}</span>{" "}
292
+ <span className="text-diff-deletion">-{formatDiffCount(item.deletions ?? 0)}</span>
293
</span>
294
) : null}
295
{item.runId !== null ? (