هذه الصفحة غير متاحة بلغة العربية بعد، لذا تُعرض بالإنجليزية.
Sell a theme: theme.json
A marketplace theme is pure data: gradient, accent, radius, mode, platform fonts and header / footer choices. White text on primaryFrom needs a contrast of at least 3:1.
{
"format": "zmle.theme/1",
"name": "Harbor",
"version": "1.0.0",
"colors": { "primaryFrom": "#0f5e74", "primaryTo": "#14808f", "accent": "#f59e0b", "gradientAngle": 120 },
"radius": "0.75rem",
"mode": "light",
"fonts": { "display": "Outfit", "body": "Manrope" },
"layout": { "header": "centered", "footer": "big-cta", "headerSticky": true, "footerTone": "dark", "showSearch": true }
}| Field | Rule |
|---|---|
colors.primaryFrom / primaryTo / accent | #rrggbb; white text on primaryFrom must reach 3:1 contrast |
colors.gradientAngle | 0–360 (default 90) |
radius | 0.5rem, 0.75rem, 1rem or 1.5rem |
mode | light, dark or system |
fonts.display / fonts.body | Optional; names from the platform's theme font list (no font files, no URLs) |
artStyle | Optional: blobs, grid, waves, rings, stripes, dots |
layout.header / layout.footer | classic, centered, split, minimal, bold / columns, centered, compact, big-cta, minimal |
layout switches | headerSticky, headerTransparentOnHome, topBar, showSearch, showThemeToggle; footerTone = light, dark or brand |
0.25rem radius; it changes the look of the existing website only.Before buying, the owner sees a live preview (gradient, button, accent, mode). Install saves the look from before the first marketplace theme (Setting marketplace:theme-backup) and writes your values into the branding and site layout; uninstalling the active theme brings that saved look back. Fonts for languages with their own scripts keep following the workspace's per-language font settings.
Written from: docs/DEVELOPERS/THEME-SPEC.md, examples/marketplace/theme-harbor/theme.json, src/lib/marketplace/packages.ts, src/lib/marketplace/install.ts, src/lib/business/fonts.ts