refactor(ui): DiffView CSS module + drop duplicate snapshot type
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user