Skip to content

v1.1.0 — Solid Color Extraction & Save Persistence

Choose a tag to compare

@ytisvibecoding ytisvibecoding released this 25 May 10:21
· 6 commits to main since this release

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