refactor(ui): DiffView CSS module + drop duplicate snapshot type

This commit is contained in:
hsiegeln
2026-04-23 13:43:15 +02:00
parent 1a97e2146e
commit 25d2a3014a
3 changed files with 34 additions and 27 deletions

View File

@@ -63,3 +63,30 @@
.logTimestamp {
color: var(--text-muted);
}
/* ConfigPanel.tsx / DiffView */
.diffList {
font-family: monospace;
font-size: 12px;
}
.diffEntry {
margin-bottom: 8px;
}
.diffPath {
color: var(--text-muted);
margin-bottom: 2px;
}
.diffRemoved {
background: var(--red-bg, rgba(239, 68, 68, 0.15));
border-left: 2px solid var(--red, #ef4444);
padding: 2px 6px;
}
.diffAdded {
background: var(--green-bg, rgba(34, 197, 94, 0.15));
border-left: 2px solid var(--green, #22c55e);
padding: 2px 6px;
}