Skip to content

Commit d75d81e

Browse files
committed
Improve WEB UI
1 parent 16382f9 commit d75d81e

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

nextjs-frontend/src/app/globals.css

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,20 +105,33 @@
105105
}
106106

107107
.graph-edge.highlighted {
108-
@apply stroke-primary stroke-2;
108+
stroke: hsl(var(--primary));
109+
stroke-width: 2;
109110
}
110111

111112
/* Diff viewer styles */
112113
.diff-line-added {
113-
@apply bg-green-100 dark:bg-green-900/30;
114+
background-color: rgb(220 252 231);
115+
}
116+
117+
.dark .diff-line-added {
118+
background-color: rgb(20 83 45 / 0.3);
114119
}
115120

116121
.diff-line-removed {
117-
@apply bg-red-100 dark:bg-red-900/30;
122+
background-color: rgb(254 226 226);
123+
}
124+
125+
.dark .diff-line-removed {
126+
background-color: rgb(127 29 29 / 0.3);
118127
}
119128

120129
.diff-line-modified {
121-
@apply bg-yellow-100 dark:bg-yellow-900/30;
130+
background-color: rgb(254 243 199);
131+
}
132+
133+
.dark .diff-line-modified {
134+
background-color: rgb(120 53 15 / 0.3);
122135
}
123136

124137
/* File tree styles */

nextjs-frontend/src/components/analysis/FunctionAnalysisDashboard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export function FunctionAnalysisDashboard({ data, onFunctionSelect }: FunctionAn
243243
<div className="grid grid-cols-3 gap-4">
244244
<div className="text-center">
245245
<div className="text-3xl font-bold text-green-600">{metrics.highConfidenceMatches}</div>
246-
<div className="text-sm text-muted-foreground">High Confidence (>80%)</div>
246+
<div className="text-sm text-muted-foreground">High Confidence (&gt;80%)</div>
247247
</div>
248248
<div className="text-center">
249249
<div className="text-3xl font-bold text-yellow-600">
@@ -253,7 +253,7 @@ export function FunctionAnalysisDashboard({ data, onFunctionSelect }: FunctionAn
253253
</div>
254254
<div className="text-center">
255255
<div className="text-3xl font-bold text-red-600">{metrics.lowConfidenceMatches}</div>
256-
<div className="text-sm text-muted-foreground">Low Confidence (<50%)</div>
256+
<div className="text-sm text-muted-foreground">Low Confidence (&lt;50%)</div>
257257
</div>
258258
</div>
259259
</CardContent>

0 commit comments

Comments
 (0)