Skip to content

polish(booking): date/time picker sizing, brand-aware colors, dark mode#166

Open
Cookie-Cat21 wants to merge 3 commits into
masterfrom
fix/booking-datetime-picker-polish
Open

polish(booking): date/time picker sizing, brand-aware colors, dark mode#166
Cookie-Cat21 wants to merge 3 commits into
masterfrom
fix/booking-datetime-picker-polish

Conversation

@Cookie-Cat21

Copy link
Copy Markdown
Member

Summary

  • Resize the calendar cells and time-slot pills for better tap targets, with a Cal.com-style flush layout (nav arrows at the container edges, month centered)
  • Simplify the loading skeleton to plain pulsing blocks instead of mimicking full pill anatomy
  • Time slot pills now derive their background/border from the business's own --booking-accent instead of hardcoded neutral slate, so they match whatever brand color each business sets
  • Fix dark mode: --booking-accent-muted/-soft always mixed toward pure black, so businesses with an already-dark brand color (e.g. near-black) had slot pills invisible against the black canvas — now mixes toward an elevated gray instead
  • Center the dot+time label as a group within each pill

Test plan

  • npm run lint
  • Verified sizing/spacing via live preview at desktop (1440px) and mobile (375px), no horizontal overflow
  • Verified brand-color derivation on both a near-black accent business (Wax in the City) and the default cobalt-blue accent (Test Salon), light and dark mode
  • Confirmed light mode styling is untouched (diff scoped to .dark [data-booking-theme] block only)

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

Cookie-Cat21 and others added 3 commits July 2, 2026 21:41
Enlarge the calendar and time-slot pills for better tap targets, flush
the calendar nav/grid to its container edges, switch slot indicators
to the brand green (#00D492), and simplify the loading skeleton to
plain pulsing blocks (matching cal.com's minimal approach) instead of
mimicking full pill anatomy.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Slot pills used hardcoded neutral slate tokens regardless of the
business's accent color, so they visually clashed with branded pages
(e.g. dark-accent businesses). Rest/hover states now derive from
--booking-accent-muted/-soft like the rest of the booking surface.
Also center the dot+time label as a group instead of left-aligning.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Dark mode always mixed the tenant accent toward pure black for
--booking-accent-muted/-soft. For businesses with an already dark or
near-black brand color, the result was indistinguishable from the
black page background (e.g. slot pills disappearing into the canvas).
Mix toward an elevated gray instead, so tinted surfaces stay visible
regardless of how light or dark the chosen accent is.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
dinaya Error Error Jul 2, 2026 4:14pm

@mergify

mergify Bot commented Jul 2, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

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