Skip to content

Commit ad77f01

Browse files
xr843claude
andcommitted
style(kg-map): unified arc color + entity search with simp/trad
- Arc color: solid yellow #eab308 (was cyan→magenta gradient) - Entity search: AutoComplete with opencc-js simp↔trad support - Fly-to on search result selection - Taiwan label: pre-patch style.json to show 台灣省 - School dots: blue #2563eb (was orange, too close to person red) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 17f7a3e commit ad77f01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/src/components/kg-map/DeckGLMap.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ export default function DeckGLMap({
224224
data: filteredArcs,
225225
getSourcePosition: (d) => [d.teacher_lng, d.teacher_lat],
226226
getTargetPosition: (d) => [d.student_lng, d.student_lat],
227-
getSourceColor: [6, 182, 212, 200],
228-
getTargetColor: [219, 39, 119, 200],
227+
getSourceColor: [234, 179, 8, 200],
228+
getTargetColor: [234, 179, 8, 200],
229229
getWidth: 1.5,
230230
greatCircle: true,
231231
pickable: true,

frontend/src/pages/KGMapPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export default function KGMapPage() {
229229
))}
230230
{showArcs && (
231231
<span className="kg-map-legend-item">
232-
<span className="kg-legend-line" style={{ background: "linear-gradient(90deg, #06b6d4, #db2777)" }} />
232+
<span className="kg-legend-line" style={{ background: "#eab308" }} />
233233
师承
234234
</span>
235235
)}

0 commit comments

Comments
 (0)