feat(ui): 3D 측점 라벨 라운드 + 사이드 컨테이너 외곽선 강화·B07 적용

2026-08-06 사용자 지시 2건:
- 3D 측점 라벨 배경을 fillRect → roundRect(반경 10)로 — 둥근 판
- 사이드 컨테이너 외곽선: 어제 45% 혼합이 아직 흐리다는 재보고로 보조색
  비중 75%로 상향. 공통 클래스(ui-sidebar-section)가 테두리 두께·형태까지
  소유하도록 강화 — 자체 테두리 없는 컨테이너도 클래스만 붙이면 동일 외곽선.
  테마 변수 혼합이라 라이트/다크 자동 대응
- B04~B06만 적용돼 있던 것을 B07 설계 도면 그룹에도 적용(+라운드·패딩)

실측: 3D 라벨 라운드, B05·B07 외곽선 라이트/다크 모두 선명, 콘솔 에러 0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-06 18:22:56 +09:00
co-authored by Claude Fable 5
parent 7ab4816edd
commit 673487ceaa
4 changed files with 16 additions and 4 deletions
+4 -1
View File
@@ -299,7 +299,10 @@ export function createRouteMarkers(scene: THREE.Scene, getBounds: () => ModelBou
// 캔버스 크기를 바꾸면 컨텍스트가 초기화되므로 폰트를 다시 지정해야 한다.
context.font = `600 ${fontPx}px sans-serif`;
context.fillStyle = "rgba(15, 23, 42, 0.72)";
context.fillRect(0, 0, canvas.width, canvas.height);
// 모서리 라운드 배경(2026-08-06 사용자 지시) — 각진 사각형 대신 둥근 판.
context.beginPath();
context.roundRect(0, 0, canvas.width, canvas.height, 10);
context.fill();
context.fillStyle = "#fef3c7";
context.textBaseline = "middle";
context.fillText(text, padPx, canvas.height / 2);
@@ -137,7 +137,8 @@ function buildDrawingSidePanel(
for (const [label, kind, items] of groups) {
if (!items.length) continue;
const section = document.createElement("section");
section.className = "b07-drawing-group ui-collapsible";
// ui-sidebar-section: 사이드 컨테이너 공통 외곽선(B04~B06과 통일, 2026-08-06 사용자 지시).
section.className = "b07-drawing-group ui-collapsible ui-sidebar-section";
section.dataset.kind = kind;
const sectionTitle = document.createElement("h3");
sectionTitle.className = "ui-collapsible__title";
@@ -44,6 +44,9 @@
display: flex;
flex-direction: column;
gap: var(--spacing-4);
/* 테두리 색·두께는 공통 ui-sidebar-section이 준다 — 여기선 형태(라운드·안쪽 여백)만. */
border-radius: var(--radius-lg);
padding: var(--spacing-8);
}
/* 횡단도는 2열 배치 */
+7 -2
View File
@@ -241,7 +241,12 @@
}
/* 사이드 패널 내부 컨테이너 공통 외곽선 — 기본 --color-border가 두 테마 모두 흐려
안 보인다는 보고(2026-08-05). 본문 보조색을 절반 섞어 어느 테마에서든 뚜렷하게. */
안 보인다는 보고(2026-08-05). 본문 보조색을 섞어 어느 테마에서든 뚜렷하게.
45%는 아직 흐리다는 재보고(2026-08-06)로 보조색 비중을 75%로 올렸다 — 테마 변수
기반 혼합이라 라이트/다크 모두 자동으로 맞는다. 테두리 두께·형태도 여기서 통일해
자체 테두리가 없는 컨테이너(B07)도 클래스만 붙이면 같은 외곽선을 얻는다. */
.ui-sidebar-section {
border-color: color-mix(in srgb, var(--color-border) 45%, var(--color-text-secondary));
border-width: 1px;
border-style: solid;
border-color: color-mix(in srgb, var(--color-border) 25%, var(--color-text-secondary));
}