diff --git a/web/src/components/home/Pricing/PriceCard.tsx b/web/src/components/home/Pricing/PriceCard.tsx index 87222db..ca7f9ac 100644 --- a/web/src/components/home/Pricing/PriceCard.tsx +++ b/web/src/components/home/Pricing/PriceCard.tsx @@ -37,7 +37,9 @@ export default function PriceCard({ pkg }: PriceCardProps) { // booking button reacts textAlign="center" > - + {/* Smaller than the design's 1.75rem: stays clearly below the + 30px section h2 (owner's request) */} + {pkg.name} {/* accent.deep instead of the design's accent: meets 4.5:1 (NFR-HP-01) */} diff --git a/web/src/components/home/Testimonials/TestimonialSlide.tsx b/web/src/components/home/Testimonials/TestimonialSlide.tsx index e98fb40..85a4438 100644 --- a/web/src/components/home/Testimonials/TestimonialSlide.tsx +++ b/web/src/components/home/Testimonials/TestimonialSlide.tsx @@ -51,9 +51,11 @@ export default function TestimonialSlide({ {/* Plain elements, not Chakra's Blockquote: its slot recipe would pull shared code into the chunk the hero waits for */} + {/* Smaller than the design's clamp(1.35rem, 2.2vw, + 1.75rem) at the owner's request: 18.4px to 22px */} diff --git a/web/src/theme.ts b/web/src/theme.ts index c3c37a3..54a0a19 100644 --- a/web/src/theme.ts +++ b/web/src/theme.ts @@ -180,11 +180,12 @@ const config = defineConfig({ lineHeight: '1', }, }, - // The h2 of a homepage section (SectionHeading) + // The h2 of a homepage section (SectionHeading); smaller than the + // design's 2.5rem at the owner's request, 30px at every width sectionTitle: { value: { fontFamily: 'heading', - fontSize: { base: '1.85rem', md: '2.125rem', xl: '2.5rem' }, + fontSize: '1.875rem', lineHeight: '1.15', }, },