From 79f9ea5c9270051044143894bbdb80b1a74f0a68 Mon Sep 17 00:00:00 2001 From: kyeongmin Date: Fri, 22 May 2026 02:49:43 +0900 Subject: [PATCH] feat(#78): IMP-49 dx_sw_necessity partial Figma provenance fix (u1~u3) Replace eyeballed PROMOTED green hex (#296B55, #123328) with verbatim upstream values from figma_to_html_agent/blocks/1171281198/index.html: - border + check mark: #1d4d3e (upstream :208 -webkit-text-stroke) - header gradient: rgb(15, 50, 30) / rgb(60, 52, 34) (upstream :54, :64) Document .f20b__* as authoring-ordinal namespace (NOT Figma frame_id 1171281198); structural link via data-frame-id attribute. No selector rename, no catalog edit. Add focused regression test (tests/test_imp49_partial_figma_provenance.py) extracting + +
{{ slot_payload.title }}
diff --git a/tests/test_imp49_partial_figma_provenance.py b/tests/test_imp49_partial_figma_provenance.py new file mode 100644 index 0000000..39421f9 --- /dev/null +++ b/tests/test_imp49_partial_figma_provenance.py @@ -0,0 +1,64 @@ +"""IMP-49 #78 — partial Figma provenance regression test. + +For `templates/phase_z2/families/dx_sw_necessity_three_perspectives.html`, +extract color literals (hex + rgb/rgba, whitespace-preserving) from the +", re.DOTALL) + + +def _extract_style_block(html_text: str) -> str: + match = STYLE_RE.search(html_text) + assert match, f"partial {PARTIAL_PATH} must contain a