feat(app): diffs colour added lines and +N green, removed lines and -N red

This commit is contained in:
2026-10-23 18:34:59 +01:00
parent cd1faea3ce
commit d46b10d7f6
6 changed files with 92 additions and 14 deletions
@@ -114,7 +114,8 @@ class _FileDiffViewerState extends State<FileDiffViewer> {
changeKindTitle(file.kind),
style: Theme.of(context).textTheme.titleMedium,
),
if (stat.isNotEmpty) Text(stat, style: mono),
if (stat.isNotEmpty)
ChangeStatText(stat, style: mono),
if (tags.isNotEmpty)
Text(
tags.join(' · '),