Skip to content

docs: accuracy pass, THEMING.md, EMBED_API reconcile + embed fixes#98

Merged
bilbospocketses merged 1 commit into
masterfrom
docs/accuracy-pass-embed-fixes
Jun 4, 2026
Merged

docs: accuracy pass, THEMING.md, EMBED_API reconcile + embed fixes#98
bilbospocketses merged 1 commit into
masterfrom
docs/accuracy-pass-embed-fixes

Conversation

@bilbospocketses
Copy link
Copy Markdown
Owner

Summary

  • Reconcile the fork docs with the shipped code: README, CONTRIBUTING, STYLE, SECURITY (elix->lit), docs/tutorials/Events.md.
  • Add THEMING.md (design tokens + html[data-theme] theming + hex-guard); cross-linked from README/CONTRIBUTING/STYLE, added to markdownlint.
  • Reconcile EMBED_API.md to src/embed, then reformat it + SECURITY.md under markdownlint (all fork Markdown docs now linted).
  • Remove dead jPickerShim.ts (zero importers).
  • Embed: console.warn on wildcard origin; attach PROTOCOL_VERSION_MISMATCH + DIALOG_HANDLER_TIMEOUT error codes.

Test plan

  • npm run lint green (eslint + markdownlint 16 files + hex-guard)
  • vitest run embed -- 84/84 embed unit tests pass
  • CI e2e (Chromium + Firefox) green -- required since src/embed/{client,server}.ts changed

- Reconcile fork docs with shipped code: README, CONTRIBUTING, STYLE,
  SECURITY (elix->lit), docs/tutorials/Events.md.
- Add THEMING.md: design tokens, html[data-theme] theming, hex-guard;
  cross-linked from README/CONTRIBUTING/STYLE and added to markdownlint.
- Reconcile EMBED_API.md to src/embed (theme html[data-theme]; light/dark
  only; prompt default returns its arg; setPalette/__setPalette; wildcard +
  error-code text), then reformat it + SECURITY.md under markdownlint.
- Remove dead jPickerShim.ts (zero importers; jGraduate Lit rewrite orphan).
- Embed: console.warn on wildcard origin; attach PROTOCOL_VERSION_MISMATCH
  to the ready-reject and DIALOG_HANDLER_TIMEOUT to the timeout error event.
@bilbospocketses bilbospocketses enabled auto-merge (squash) June 4, 2026 08:11
@bilbospocketses bilbospocketses merged commit b31aa5d into master Jun 4, 2026
9 checks passed
@bilbospocketses bilbospocketses deleted the docs/accuracy-pass-embed-fixes branch June 4, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant