From 5102f775aecea9da61d469a4d2fa24e477ae7124 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sat, 10 Oct 2026 20:20:44 +0900 Subject: [PATCH] =?UTF-8?q?style(table):=20=EC=9E=85=EB=A0=A5=20=EC=B9=B8?= =?UTF-8?q?=20=ED=85=8C=EB=91=90=EB=A6=AC=20=EC=83=89=20=3D=20=EB=91=90=20?= =?UTF-8?q?=ED=85=8C=EB=A7=88=20=EB=B3=80=EC=88=98=20=ED=98=BC=ED=95=A9(ac?= =?UTF-8?q?cent=2060%=20=C2=B7=20canvas)=20(241-2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_018jonfdxn1Xit9bdkNJpE4G --- resources/tester/test_241_1_input_cell_border.py | 9 +++++++-- ui_template/ui_template_data_table.css | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/resources/tester/test_241_1_input_cell_border.py b/resources/tester/test_241_1_input_cell_border.py index b40553c34..6ab516573 100644 --- a/resources/tester/test_241_1_input_cell_border.py +++ b/resources/tester/test_241_1_input_cell_border.py @@ -16,8 +16,13 @@ def _rule(css: str, selector: str) -> str: def test_입력_칸_채움_색_없고_안쪽_테두리(): body = _rule(CSS.read_text(encoding="utf-8"), ".ui-data-table__input") assert "background: transparent;" in body - assert "color-mix" not in body # 옛 accent 5% 채움 없음 - assert "box-shadow: inset 0 0 0 1px var(--color-accent);" in body + assert "background: color-mix" not in body # 옛 accent 5% 채움 없음 + # 241-2 두 테마 — 진한 accent 60% + 캔버스(밝음 · 어두움 모두 캔버스 대비 3:1 넘음 · 초점 2px 와 갈림) + assert ( + "box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-accent) 60%, var(--color-canvas));" + in body + ) + assert "#" not in body # 하드코딩 색 없음 — 테마 변수만 assert "border: 0;" in body # 테두리는 inset — 칸 크기 · 줄 높이 불변 assert "height: var(--dt-row-h);" in body diff --git a/ui_template/ui_template_data_table.css b/ui_template/ui_template_data_table.css index 0d20ed184..6cc109a0f 100644 --- a/ui_template/ui_template_data_table.css +++ b/ui_template/ui_template_data_table.css @@ -169,7 +169,7 @@ padding: 0 var(--spacing-8); border: 0; background: transparent; - box-shadow: inset 0 0 0 1px var(--color-accent); + box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-accent) 60%, var(--color-canvas)); color: inherit; font: inherit; font-variant-numeric: tabular-nums;