site.update_theme
Updates the visual theme and brand design tokens across the entire website (header, footer, homepage, all content pages, and e-commerce product detail pages). Supports Basic Mode (all 16 curated themes: 'light', 'emerald', 'modern', 'warm', 'luxury', 'ocean', 'crimson', 'minimal', 'dark', 'forest', 'premium', 'bright', 'vibrant', 'colorful', 'bold', 'elegant', plus Light/Dark mode switch and primary/accent brand colors) and Advanced Mode (granular overrides for buttonTextColor, backgroundColor, cardColor, textColor, mutedTextColor, borderColor, and fontFamily). HAMROLINK HALLMARK UI/UX & ANTI-SLOP GUIDELINES: 1) Strict Contrast (WCAG AA 4.5:1+): Never pair dark textColor with dark backgroundColor/cardColor or light textColor with light surfaces. When switching between Light and Dark mode, prefer setting resetAdvancedOverrides=true unless providing a complete, high-contrast custom surface+text palette. 2) 60-30-10 Color Rule: 60% clean page background, 30% subtle card surface & border, 10% high-intent primary CTA button & accent badge. Avoid clashing neon rainbow colors.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "site.update_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Scope of application ('site', 'all_pages', 'header_only', 'footer_only'). Defaults to 'site' (full site sync). | |
| theme | No | Curated theme preset ('light', 'emerald', 'modern', 'warm', 'luxury', 'ocean', 'crimson', 'minimal', 'dark', 'forest', 'premium', 'bright', 'vibrant', 'colorful', 'bold', 'elegant'). | |
| siteId | No | MongoDB Site ID (optional if user has only one site) | |
| cardColor | No | Advanced: Card, product box & container surface hex color (--card, e.g. '#f8fafc' or '#111827') | |
| textColor | No | Advanced: Main heading & body copy hex color (--foreground, e.g. '#0f172a' or '#f8fafc'). Must have >= 4.5:1 contrast against backgroundColor and cardColor. | |
| themeMode | No | Alias for theme name (e.g. 'warm', 'emerald', 'luxury', 'dark', 'light'). | |
| fontFamily | No | Global typography font family (e.g. "'Inter', sans-serif", "'Plus Jakarta Sans', sans-serif", "'Playfair Display', serif", "'Lora', serif", "'Space Grotesk', sans-serif", "'Outfit', sans-serif") | |
| isDarkMode | No | Global Light/Dark contrast switch (true = Dark Mode surfaces, false = Light Mode surfaces). | |
| accentColor | No | Accent / badge highlight hex color override (--accent, e.g. '#f59e0b', '#10b981') | |
| borderColor | No | Advanced: Card outline & section divider hex color (--border, e.g. '#e2e8f0' or '#1f2937') | |
| primaryColor | No | Primary brand / button background hex color override (--primary, e.g. '#ea580c', '#059669') | |
| mutedTextColor | No | Advanced: Subtitle, caption & muted description hex color (--muted-foreground, e.g. '#475569' or '#94a3b8') | |
| secondaryColor | No | Optional secondary brand hex color override | |
| backgroundColor | No | Advanced: Page canvas background hex color (--background, e.g. '#ffffff' or '#090d16') | |
| buttonTextColor | No | Advanced: Text hex color inside primary buttons (--primary-foreground, e.g. '#ffffff') | |
| resetAdvancedOverrides | No | Set true to reset custom backgroundColor, cardColor, textColor, mutedTextColor, and borderColor back to the active theme's curated defaults. |