Skip to content

v0.5.5

Choose a tag to compare

@karthikeyankc karthikeyankc released this 05 Jul 16:36
· 22 commits to main since this release
e791eac

Added

  • Playwright browser test suite: 28 automated tests covering colour resolution, dark mode, semantic token hierarchy, widget rendering, form validation, and interactions.
  • placeholder option: pass placeholder to new DiscussWidget({...}) to override the default comment textarea placeholder text.

Changed

  • Semantic CSS tokens: all internal shorthand tokens renamed to explicit semantic names (--text-primary, --surface-base, --brand-600, --border-default, etc.). Rename applied at build time with no runtime aliases and no size overhead.
  • Comment body text uses --text-secondary for visual separation from the commenter name, which stays at --text-primary.

Fixed

  • Dark mode code block bug: <pre> blocks rendered with a near-white background when darkSelector was active.
  • Share highlight dark detection now uses this.darkSelector instead of a hardcoded .dark class check.