Skip to content

Releases

v1.8.4 — Data-driven color panel + pinned tooltip + Export Clean (ε)

Choose a tag to compare

@ytisvibecoding ytisvibecoding released this 27 May 18:24

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 Gap renamed to Card 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-i18n attribute system, auto-detect navigator.language

See README Changelog for full details.

Install

pip install beautifulsoup4
python scripts/adapt.py your-report.html

v1.1.0 — Solid Color Extraction & Save Persistence

Choose a tag to compare

@ytisvibecoding ytisvibecoding released this 25 May 10:21

v1.1.0 — Solid Color Extraction & Save Persistence

Core Fix

  • extract_solid_hex_to_vars(): Now extracts hardcoded hex colors from non-gradient CSS properties (color, background, border, etc.), not just gradients. This is the biggest improvement — colors from 6 → 30 on typical HTML pages.

All Changes

TODO Fix
TODO 1 Extract solid hex colors to CSS variables
TODO 2 appB16 downgraded to warning (not hard block)
TODO 3 appB21 excludes CSS dead code (DOM-based validation)
TODO 4 --force strips old injection before parse/scan
TODO 5 Comments for _html source
TODO 6 Save size/layout slider states to localStorage
TODO 7 saveToStorage collects all color-row variables
TODO 9 Preset mapping with prefix pattern matching
TODO 10 Remove hardcoded gold-edition selectors

Breaking Changes

  • localStorage format upgraded to v3 (size/layout slider states added)
  • Hardcoded gold-edition PEM/CSS_VAR_TO_ELEMENTS/SIZE_BOUNDS removed (now fully dynamic)

Install

pip install beautifulsoup4
python scripts/adapt.py your-page.html -o your-page-editable.html

v1.0.0 — Initial Release

Choose a tag to compare

@ytisvibecoding ytisvibecoding released this 25 May 05:40

🎉 html-visual-editor v1.0.0

Turn any static HTML into a visually editable page.

Features

  • 🖱️ Inline text editing — auto-detect editable elements (headings, paragraphs, tables, cards, labels)
  • 🎨 Color panel — CSS variable extraction + gradient hex extraction
  • 🔤 Font size sliders — from host CSS rules, per real selector
  • 📐 Layout sliders — page width, padding, section/card spacing
  • 🎭 6 preset themes — Deep Ocean, Twilight Purple, Warm White, Rainbow Arc, Moss Earth, Charcoal Night
  • 🔗 Bidirectional jump — hover element → see hints; click → panel auto-navigates
  • ✅ 34 sanity checks — auto-verify before output
  • 🤖 Optional LLM labels — Anthropic/OpenAI for semantic variable names
  • 🛡️ Compatibility levels — A (full auto) / B (partial) / C (refuse)

Quick Start

pip install beautifulsoup4
python html-visual-editor/scripts/adapt.py your-report.html
open your-report-editable.html

Install as AI Agent Skill

Works with WorkBuddy, CodeBuddy, Claude Code, Cursor, or any AI coding agent.