Skip to content

docs: load el-form CSS + live themed AutoForm showcase#95

Merged
colorpulse6 merged 1 commit into
mainfrom
docs/theme-inline-examples
Jun 14, 2026
Merged

docs: load el-form CSS + live themed AutoForm showcase#95
colorpulse6 merged 1 commit into
mainfrom
docs/theme-inline-examples

Conversation

@colorpulse6

Copy link
Copy Markdown
Owner

Adds live, interactive themed example forms to the Styling & Themes guide, and fixes a styling regression in the docs.

What

  • Live themed showcase (ThemeShowcase.tsx, embedded in the styling guide): the same AutoForm rendered in default / dark / minimal themes + a classNames override demo (purple submit, proving an unlayered class beats the @layer el-form base). Renders from the workspace source — works immediately at localhost and after deploy, not gated on the npm publish.
  • Regression fix: the docs site never imported el-form's CSS. Now that AutoForm emits semantic .el-form-* classes (Tailwind-free), every live AutoForm example in the docs (auto-form, quick-start, etc.) had silently gone unstyled. The docs now import el-form-react-components/styles.css globally (via custom.css), restyling them all.

Notes

  • Added el-form-react-components as a direct docs dep (to resolve the ./styles.css export — el-form-react/styles.css is stale and not used).
  • ThemeShowcase is wrapped in <BrowserOnly> (SSR-safe; AutoForm touches FileList).
  • Reviewed: the global el-form CSS is fully class-scoped (.el-form-*), @layer-contained, --el-form-*-prefixed — no impact on Docusaurus chrome. Verified site-wide + a real-browser screenshot (0 console errors).
  • Docs-only; no changeset / npm release.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@colorpulse6
colorpulse6 merged commit 37b9bb3 into main Jun 14, 2026
8 checks passed
@colorpulse6
colorpulse6 deleted the docs/theme-inline-examples branch June 14, 2026 06:56
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