Skip to content

Feat/recipe dropdown paper#53

Merged
Eric-Zhang-Developer merged 5 commits into
mainfrom
feat/recipe-dropdown-paper
Jan 25, 2026
Merged

Feat/recipe dropdown paper#53
Eric-Zhang-Developer merged 5 commits into
mainfrom
feat/recipe-dropdown-paper

Conversation

@Eric-Zhang-Developer
Copy link
Copy Markdown
Owner

Summary

Revamps the RecipeCard UI with a Minecraft book aesthetic and improves mobile responsiveness.

Changes

Visual Overhaul

  • Replaced paper.png background with pure CSS "Minecraft book" style
    • Parchment gradient background (#e8dcc4 to #d4c4a8)
    • CSS-generated lined paper effect
    • Dark leather binding strip on the left edge
  • Added reusable Badge component with two variants (time/macro) for visual differentiation
  • Added SectionDivider component with gradient line between sections
  • Styled ingredient bullets with diamond () markers
  • Styled instruction steps with numbered badge boxes

Mobile Responsiveness

  • Collapsed cards now use minHeight: unset to remove forced 140px height
  • Reduced padding on mobile (p-3 sm:p-4 for collapsed, p-4 sm:p-10 for expanded)
  • Titles wrap naturally instead of truncating
  • Responsive text sizes and gaps throughout

Button & Badge Consistency

  • Unified button styles with dark leather primary (#5c3d2e) for Copy and Detailed Instructions
  • Cost Breakdown button uses secondary parchment style (#d4c4a8)
  • Cost breakdown badges themed to match paper aesthetic
  • "You Save" badge uses greenish parchment (#a8c9a8) accent

Other

  • Added pb-16 to results section for footer breathing room
  • Added StepNumber component in InstructionsSection
  • Added additionalButtons prop support to InstructionsSection

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 25, 2026

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

Project Deployment Review Updated (UTC)
mealcraft Ready Ready Preview, Comment Jan 25, 2026 9:41am

@Eric-Zhang-Developer Eric-Zhang-Developer merged commit c82f0c5 into main Jan 25, 2026
3 checks passed
@Eric-Zhang-Developer Eric-Zhang-Developer deleted the feat/recipe-dropdown-paper branch January 25, 2026 09:42
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.

2 participants