AbiirSkincare/Hydrogen/web/app/lib/pageTitle.ts

16 lines
814 B
TypeScript

/**
* **Primary page / section title typography** — same as the homepage
* `Testimonials` section `h2` (`app/components/Testimonials.tsx`).
*
* Implemented as `.abiir-page-title-typography` in `app/styles/tailwind.css`
* (Cormorant Garamond 300, `clamp(2.5rem, 5.5vw, 64.6px)`, `line-height: 1.12`, `letter-spacing: -0.969px`).
* Add a text color class (e.g. `text-[#1a1a18]`) or `style={{ color }}` for CMS-driven colors.
*/
export const PAGE_TITLE_TYPOGRAPHY_CLASS = 'abiir-page-title-typography';
/** Default body / on-cream title color (charcoal) when not on a dark or hero image. */
export const PAGE_TITLE_DEFAULT_TEXT_CLASS = "text-[#1a1a18]";
/** Max width for primary reading / article column (editorial / journal body). */
export const PAGE_CONTENT_MAX_WIDTH_CLASS = 'abiir-page-content-max';