You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.