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];