cli-v2.1.9

pbakaus/impeccablecli-v2.1.9May 13, 2026by pbakaus

AI Summary

Adds a new rule to detect body text running to the viewport edge and fixes contrast and color rules to properly resolve OKLCH and CSS-var references. Also fixes anchor inheritance issues and overlay flashing.

Key Highlights

  • New rule: `body-text-viewport-edge`
  • OKLCH and CSS-var resolution improvements
  • Anchor inheritance fix for contrast rules
  • Live screenshot overlay no longer flashes solid black

New Features

  • New viewport-edge detection rule
  • Modern CSS syntax support
  • Overlay rendering fix

Full Release Notes

- **New rule: `body-text-viewport-edge`.** Catches body copy running to the absolute viewport edge with no horizontal padding (a structural AI tell where the model skipped layout and let everything butt against the window). Brings the deterministic rule count to 29.

- **OKLCH and CSS-var resolution.** The contrast and color rules now resolve `oklch(...)` and `var(--token)` references through the cascade before evaluating. A class of false positives in Tailwind v4 / shadcn / token-based codebases is gone; previously the resolver bailed on modern syntax and reported nothing or the wrong thing.

- **Anchor inheritance fix.** The contrast rules were misreading `<a>` color when the link inherited from a styled parent (e.g. a hero with a non-default text color), flagging real text as low-contrast against itself. Resolution now walks the inheritance chain correctly.

- **Live screenshot overlay no longer flashes solid black during loading.** Pages with no explicit page background painted the overlay backdrop in pure ink for a frame before the screenshot loaded. The overlay now starts transparent and resolves once the bitmap is ready.