Skip to content

v0.4.4

@wishborn wishborn tagged this 27 Apr 01:04
Theme colors are now validated against an allow-list of CSS color formats
(hex, rgb/rgba, hsl/hsla, bare keywords) before being interpolated into
the inline style attribute of token spans. Untrusted custom themes
containing CSS injection (e.g. "red; background: url(...)") fall back to
"inherit".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Assets 2
Loading