Standardize admin buttons; bundle post fields into PostInput

Standardize admin buttons; bundle post fields into PostInput

#21 in tonybierman/dx-blog — merged 2026-05-31

Summary

  • Standardize admin action controls on rounded catalog buttons, with primary actions using the theme accent (Primary--secondary-color-2/brand-500):
    • ActionButton default variant LinkOutline; Comments Approve is now Primary.
    • Posts list: "New post" link → Primary button; per-row "Edit" link → Outline button matching the Delete button's size.
    • Taxonomy: rename SavePrimary, and Edit GhostOutline so it matches the Posts list Edit button.
  • Bundle the seven post create/update form fields into a PostInput DTO. This fixes three pre-existing clippy::too_many_arguments warnings and removes the easy-to-misorder positional argument lists at the call sites.

Notes

  • Earlier commits on this branch also cover the text-input/textarea border fixes and catalog surface re-tint.
  • Not included: the /account page vertical-spacing issue — that page body is arium's AccountSettings component (separate ../arium repo), so the fix belongs there, not in dx-blog.

Testing

  • cargo fmt
  • cargo clippy --features server — clean
  • cargo check --no-default-features --features web --target wasm32-unknown-unknown — clean

🤖 Generated with Claude Code

Last updated 2026-05-31