Skip to content

docs(preview): prefer dot-notation padding in Dart preview files#8

Merged
tilucasoli merged 1 commit intomainfrom
tilucasoli/replace-border-padding
Apr 17, 2026
Merged

docs(preview): prefer dot-notation padding in Dart preview files#8
tilucasoli merged 1 commit intomainfrom
tilucasoli/replace-border-padding

Conversation

@tilucasoli
Copy link
Copy Markdown
Collaborator

Summary

  • Finishes the dot-notation sweep from docs: prefer dot-notation utilities across Mix docs #5 in packages/mix_docs_preview, converting .paddingAll/.paddingX/.paddingY shortcuts to .padding(.all/.horizontal/.vertical(...)) across 6 preview files so the Dart examples match the preferred API already shown in the .mdx docs.

Test plan

  • Confirm preview snippets still render correctly on the docs site
  • Spot-check homepage/buttons_showcase.dart and tutorials/creating_a_widget/design_system_button.dart in the in-browser preview

🤖 Generated with Claude Code

Finishes the dot-notation sweep from #5 in packages/mix_docs_preview by
converting .paddingAll/.paddingX/.paddingY shortcuts to
.padding(.all/.horizontal/.vertical(...)) so previews match the
preferred API shown in the .mdx examples.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@docs-page
Copy link
Copy Markdown

docs-page bot commented Apr 16, 2026

To view this pull requests documentation preview, visit the following URL:

docs.page/btwld/mix-docs~8

Documentation is deployed and generated using docs.page.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mix-docs Ready Ready Preview, Comment Apr 16, 2026 9:37pm

@tilucasoli tilucasoli merged commit 51ae07a into main Apr 17, 2026
4 checks passed
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