From f5656e693415ca3d310c04f0c613ef784325f2ab Mon Sep 17 00:00:00 2001 From: Madison Date: Fri, 17 Jul 2026 02:04:39 -0500 Subject: [PATCH] Add emails theme snippet in emails overview, linking to full templates and themes page --- docs-mintlify/guides/apps/emails/overview.mdx | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs-mintlify/guides/apps/emails/overview.mdx b/docs-mintlify/guides/apps/emails/overview.mdx index 7fc65cbe7..2c5b60161 100644 --- a/docs-mintlify/guides/apps/emails/overview.mdx +++ b/docs-mintlify/guides/apps/emails/overview.mdx @@ -52,7 +52,23 @@ Hexclave also ships ready-made templates for the common flows - email verificati ## Can I match my brand? -Yes. Themes wrap every email in a consistent layout - header, footer, logo, background. Use the built-in Light, Dark, and Colorful themes, or write your own as a TSX component. Set a project default, override per-email with `themeId`, or send with no theme at all. +Yes. Themes wrap every email in a consistent layout - header, footer, logo, background. Use the built-in Light, Dark, and Colorful themes, or write your own as a TSX component: + +```tsx +import { ThemeProps, ProjectLogo } from "@hexclave/emails"; + +export function EmailTheme({ children, unsubscribeLink, projectLogos }: ThemeProps) { + return ( + <> + + {children} + {unsubscribeLink && Unsubscribe} + + ); +} +``` + +Set a project default, override per-email with `themeId`, or send with no theme at all. See [Templates & themes](./templates-and-themes) for the full theme API and built-in themes. ## Can I respect unsubscribes and preferences?