From 2f8c367537ef3c310278ae38c6fa209678d1857d Mon Sep 17 00:00:00 2001 From: tkrmagid Date: Sat, 22 Aug 2026 11:27:54 +0900 Subject: [PATCH] =?UTF-8?q?Flat=20block=20rendering=20to=20match=20=C2=A71?= =?UTF-8?q?3=20palette=20exactly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 블록 하단 베벨 띠 제거 → 조각이 §13 확정 hex 색 그대로 완전 플랫하게 렌더. 목업 픽셀 대조로 조각·UI 색상이 명세서 §13과 100% 일치함을 확인. --- index.html | 2 +- src/index.template.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index bece9bd..34e98bf 100644 --- a/index.html +++ b/index.html @@ -515,8 +515,8 @@ function drawCell(ctx, sx, sy, color, ghost, cell=CELL){ ctx.setLineDash([4,3]); ctx.strokeRect(sx+2,sy+2,cell-4,cell-4); ctx.setLineDash([]); return; } + // 플랫 (§13): 단색 채움 + INK 하드 보더, 그라디언트/베벨 없음 ctx.fillStyle=color; ctx.fillRect(sx,sy,cell,cell); - ctx.fillStyle='rgba(23,22,27,.35)'; ctx.fillRect(sx,sy+cell-4,cell,4); ctx.strokeStyle='#17161B'; ctx.lineWidth=2; ctx.strokeRect(sx+1,sy+1,cell-2,cell-2); } const boardXY = (x,y)=>[x*CELL,(VIS-1-y)*CELL]; diff --git a/src/index.template.html b/src/index.template.html index 709a7a6..7816844 100644 --- a/src/index.template.html +++ b/src/index.template.html @@ -160,8 +160,8 @@ function drawCell(ctx, sx, sy, color, ghost, cell=CELL){ ctx.setLineDash([4,3]); ctx.strokeRect(sx+2,sy+2,cell-4,cell-4); ctx.setLineDash([]); return; } + // 플랫 (§13): 단색 채움 + INK 하드 보더, 그라디언트/베벨 없음 ctx.fillStyle=color; ctx.fillRect(sx,sy,cell,cell); - ctx.fillStyle='rgba(23,22,27,.35)'; ctx.fillRect(sx,sy+cell-4,cell,4); ctx.strokeStyle='#17161B'; ctx.lineWidth=2; ctx.strokeRect(sx+1,sy+1,cell-2,cell-2); } const boardXY = (x,y)=>[x*CELL,(VIS-1-y)*CELL];