浅念
5797638caf
feat: trade-pro skeleton theme package (Phase 2)
...
Fifth built-in theme: English-first international B2B skeleton registered
via manifest discovery, builds real sites end-to-end. pro.html derives
from industrial with lang=en, href-set value-comparison English fallback
nav (header + footer), sf-tp-* button classes and hard-coded #0b3d91
theme-color until the map entry lands. pages/ ships all 14 kinds; macro
library is an English passthrough copy pending the Phase 3 cms port.
Co-Authored-By: Claude Code <noreply@anthropic.com >
2026-10-22 18:19:30 +08:00
浅念
702253f387
polish: copy_blocks_css minors + record editor dual-source observation
...
Co-Authored-By: Claude Code <noreply@anthropic.com >
2026-10-22 17:58:05 +08:00
浅念
960f7b1002
feat: theme-level blocks.css takes priority over platform asset
...
Co-Authored-By: Claude Code <noreply@anthropic.com >
2026-10-22 17:49:12 +08:00
浅念
712ccac058
polish: env_for hardening per code review (M1-M3)
...
- env_for validates theme against THEMES whitelist (defense in depth)
- degraded single-path envs are no longer cached
- tests: unknown-theme rejection, real macro shadowing semantics,
degraded branch path + no-cache
Co-Authored-By: Claude Code <noreply@anthropic.com >
2026-10-22 17:45:40 +08:00
浅念
67b469d56d
feat: per-theme Jinja env enables theme-level macro override
...
Co-Authored-By: Claude Code <noreply@anthropic.com >
2026-10-22 17:33:05 +08:00
浅念
b1b4d12a19
polish: discovery hardening per code review (review round 2 minors)
...
- Fail fast with clear RuntimeError when themes/ directory is missing
- Document underscore-prefix skip rule
- Tests: broken-manifest/mismatch/no-manifest skip case, missing-dir fail-fast
- tests/test_theme_pro_v3.py: drop fourth hardcoded list, import from core
Co-Authored-By: Claude Code <noreply@anthropic.com >
2026-10-22 17:28:57 +08:00
浅念
204c5039ab
feat: single-source theme discovery replaces three hardcoded whitelists
...
Co-Authored-By: Claude Code <noreply@anthropic.com >
2026-10-22 17:14:44 +08:00