AndrewRqy commited on
Commit ·
843df41
1
Parent(s): 966abce
Drop demo_card_backdrop image — pipeline-demo panels use CSS only
Browse files544 unmodified lines545546547548549550551552544 unmodified lines# Pixel-art sprites + backdrop pre-loaded as data URIs. The# `_sprite_data_uri_app` helper caches per name, so reading the same# sprite twice in this function only hits disk once.bg = _sprite_data_uri_app("demo_card_backdrop")bg_style = f"background-image:url('{bg}');" if bg else ""tag_inscribes = _t("demo_tag_inscribes", lang)tag_meets = _t("demo_tag_meets", lang)tag_somehow = _t("demo_tag_somehow", lang)544 unmodified lines545546547548549550551552553554555544 unmodified lines# Pixel-art sprites + backdrop pre-loaded as data URIs. The# `_sprite_data_uri_app` helper caches per name, so reading the same# sprite twice in this function only hits disk once.# PERF: skip the demo card backdrop image. The PNG was the complex# painted background behind the wizard's three pipeline-mode dream# panels; ~200-400 KB. The panels still have their own CSS borders# and shading so the layout still reads.bg_style = ""tag_inscribes = _t("demo_tag_inscribes", lang)tag_meets = _t("demo_tag_meets", lang)tag_somehow = _t("demo_tag_somehow", lang)
app.py+5-2