Skip to content

Polish the rail and inspector with shadcn controls#63

Merged
ankitsejwal merged 3 commits into
mainfrom
feat/shadcn-controls
Jun 28, 2026
Merged

Polish the rail and inspector with shadcn controls#63
ankitsejwal merged 3 commits into
mainfrom
feat/shadcn-controls

Conversation

@ankitsejwal

Copy link
Copy Markdown
Member

The middle sheet stays exactly as-is. This brings shadcn to the two areas that felt least finished.

Right rail. The six native <select>s (Location, Date, Font, Frame, Paper, Thickness) become shadcn Select, and the three checkboxes become Switch toggles. Labels use the shadcn Label. Cohesive with the black Button now.

Inspector pill. The zoom range becomes a Radix Slider, and the icon-only buttons (border swatches, reset, remove, done) and the per-page shape icons get Tooltips for discoverability. The pill keeps its bespoke rounded shape.

Pulled in via the shadcn CLI (new-york, the project's existing config), plus tw-animate-css so the dropdown/tooltip open-close actually animates. Kept the colour swatches and the +/- stepper custom — no shadcn equivalent and they're already good.

@ankitsejwal ankitsejwal merged commit 4f72827 into main Jun 28, 2026
1 check passed
@ankitsejwal ankitsejwal deleted the feat/shadcn-controls branch June 28, 2026 20:07
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