Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/email-templates/src/theme.ts
T

36 lines
914 B
TypeScript

/**
* Marketing-Funnel Phase 3 — email-template theme tokens.
*
* Inline-style values only. Email clients (Outlook, Gmail in particular)
* strip <style> blocks and external CSS, so every visual primitive in
* this package emits raw inline `style` attributes. Keep this list short
* and aligned with the brand palette in `packages/brand`.
*/
export const theme = {
colors: {
background: "#f4f5f7",
surface: "#ffffff",
text: "#0f172a",
muted: "#475569",
primary: "#2563eb",
primaryText: "#ffffff",
border: "#e2e8f0",
danger: "#dc2626",
},
fontFamily:
"ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
spacing: {
none: "0",
xs: "8px",
sm: "12px",
md: "20px",
lg: "32px",
xl: "48px",
},
radius: "6px",
containerWidth: 600,
} as const;
export type EmailTheme = typeof theme;