iter49-卡3:营地五界面真窗口化批(窗壳形态换装):WINDOW_SIZE 720×640单点+modal_shell窗壳骨架+career同壳+screen_flow_probe V1-V8窗壳形态段

This commit is contained in:
DKChan committed 2026-11-02 07:30:34 +08:00
1 parent 240f1a1769
commit 041d509b4d
19 files changed
+524 -132

No files matched your search

+12
View File
@@ -1209,6 +1209,18 @@ def run_screen_checks(scr, zones, board_origin, frames_strip, frames_meta, s6_im
weakest = min(ratios, key=lambda r: r[1])
check("S1", "整屏①全部文字对直接背景 ≥4.5:1(WCAG AA)", all(r[1] >= 4.5 for r in ratios),
"最弱 %s=%.2f;全部 %s" % (weakest[0], weakest[1], ratios))
# S1b 意图徽标四色墨对 PANEL_DATA 垫牌 ≥4.5:1(色值对表——镜像实装同值;垫牌=ui_kit PANEL_DATA #E9D9B8,
# 与 draw_standee 徽标垫矩形 fill 同源;四墨=意图色表 damage/buff/debuff/charge 四值)
panel_data = (233, 217, 184)
intent_inks = [("攻击墨", (150, 44, 36)), ("增益墨", (30, 90, 150)),
("减益墨", (122, 66, 148)), ("蓄力墨", (116, 80, 11))]
iratios = [(n, round((max(wcag_lum(a), wcag_lum(panel_data)) + 0.05)
/ (min(wcag_lum(a), wcag_lum(panel_data)) + 0.05), 2))
for n, a in intent_inks]
iweak = min(iratios, key=lambda r: r[1])
check("S1b", "意图徽标四色墨对 PANEL_DATA 垫牌 ≥4.5:1(WCAG AA·色值对表)",
all(r[1] >= 4.5 for r in iratios),
"最弱 %s=%.2f;全部 %s" % (iweak[0], iweak[1], iratios))
# S2 整屏②明度三档带 + 世界底层两子带(§2;舞台=实测区域读数,格底=实测板面;WCAG 0–1 域)
stage_l = _region_wcag(scr, (300, 190, 600, 220))
bx, by = board_origin