feat(B05 평면): 교각점 녹색 계열 · 밝음 · 어두움 토큰 --map-route-node (423)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XWh5wNNycMkbwMpACz1rte
This commit is contained in:
2026-10-18 14:11:23 +09:00
co-authored by Claude Sonnet 5.5
parent 8e91d5ce3f
commit b5ba483d01
3 changed files with 10 additions and 1 deletions
@@ -297,7 +297,7 @@ export function drawRouteEditScene(context: CanvasRenderingContext2D, scene: Rou
? style.getPropertyValue("--color-danger") || "#dc2626"
: scene.locked[index]
? lockedColor
: style.getPropertyValue("--map-route") || "#f97316";
: style.getPropertyValue("--map-route-node") || "#15803d";
// 곡선 없는 교각점(155° 생략 · 손 지움)은 같은 크기 삼각형 · 가운데 비움(391-2).
const noCurve =
scene.curveOn.length > 0 &&
@@ -43,3 +43,9 @@ def test_그릴_때마다_토큰을_다시_읽음() -> None:
assert 'style.getPropertyValue("--map-route")' in scene # 노선
footprint = (B05 / "B05_Profile_UI_RouteEdit_Footprint.ts").read_text(encoding="utf-8")
assert "context.strokeStyle = style.getPropertyValue(token).trim() || fallback;" in footprint
def test_교각점_녹색_토큰_밝음_어두움_따로() -> None:
css = (ROOT / "ui_template" / "ui_template_theme.css").read_text(encoding="utf-8")
assert css.count("--map-route-node:") == 3 # 밝음 1 + 어두움(단추 · 시스템) 2
assert 'getPropertyValue("--map-route-node")' in RENDER
+3
View File
@@ -233,6 +233,7 @@
* ------------------------------------------------------------------------ */
--map-route: #f97316; /* 계획선 (B04 지도·B05 배수유역도 공통) */
--map-route-locked: #ca8a04; /* 계획노선 편집 — 고정한 선 · 호 · 점 황금 (평면의 주황 · 절토 붉음 · 성토 청록 · 하늘색과 구별) */
--map-route-node: #15803d; /* 계획노선 편집 — 교각점 녹색 (밝음 · 어두움 따로) */
--map-cadastral: #f97316;
--map-sigungu: #7c3aed;
--map-eupmyeondong: #22c55e;
@@ -334,6 +335,7 @@
--color-danger: #e8695a;
--panel-handle-border: #e0b64a;
--map-route-locked: #facc15;
--map-route-node: #4ade80;
--shadow-sm: rgba(0, 0, 0, 0.4) 0px 2px 4px 0px, rgba(0, 0, 0, 0.2) 0px 0px 0px 1px;
--shadow-lg: rgba(0, 0, 0, 0.5) 0px 32px 24px -12px, rgba(0, 0, 0, 0.3) 0px 3px 3px 0px;
@@ -375,6 +377,7 @@
--color-danger: #e8695a;
--panel-handle-border: #e0b64a;
--map-route-locked: #facc15;
--map-route-node: #4ade80;
}
}