Repository navigation
Massive update from v1.1.0 covering 7 minor releases.
Highlights
v1.8.x — Data-driven color panel (top-N hex aggregation)
- scan_dom aggregates color/bg/border usage by walking every DOM text node
- Panel shows top 5 text / top 4 bg / top 3 border, cross-theme universal
- Frequency-semantic naming: 主要 Primary / 次要 Secondary / 强调 Highlight / 装饰 Accent / 偶用 Subtle
- Pinned tooltip with swatch + value per row
- Smart extract: A-class inline → DOM rewrite to
var(); B/C/D → copy AI prompt to clipboard - Toolbar dual-display 中 / EN switcher (was single-toggle)
- Export Clean (ε scheme): inline
var()restored to hex so clipping to Notion/email preserves colors
v1.7.0 — Size/Layout collapse
- Colors 38 → ≤12 grouped by role
- Size 25 → ≤10 in 3 tiers (Heading / Body / Auxiliary)
- Layout adds Line Height slider;
ZT Gaprenamed toCard Gap
v1.5.0 — Style Prompt revolution
- 6 preset cards now copy a complete AI prompt instead of applying CSS
- Scenarios: Cloud Native · Swiss Grid · Editorial Magazine · Sunlit Warmth · Terminal Hacker · Y2K Kawaii
v1.4.0 — Toolbar + i18n
- Draggable toolbar with localStorage persistence
data-i18nattribute system, auto-detect navigator.language
See README Changelog for full details.
Install
pip install beautifulsoup4
python scripts/adapt.py your-report.html