Quickstart
Copy the starter, change three values, zip it, upload it. Ten minutes to a theme in the gallery.
A theme is a folder. It holds a manifest that says what the theme is, some components that say what its sections look like, and a licence. You zip the contents of that folder and an operator uploads it.
The fastest way to a working one is to copy theme-starter/, which is a complete, valid package that ships with the platform. Everything below assumes you did.
What is in it
my-theme/
theme.json the manifest — the only required file
README.md shown to the operator before installing
LICENSE required; must permit redistribution
components/
hero-rule.hbs one Handlebars template per component
hero-rule.css its styles, same basename
hero-rule.json its props, dataSource and metadata
preview/
cover.png 1280×998, the gallery cardNothing else is read. A package containing node_modules, a .git folder or anything outside this layout is refused rather than quietly stripped — silently discarding part of an upload is how you end up debugging a theme the server already decided not to install.
Make it yours
- In
theme.json, changeslug,name,nameAr,description,descriptionArandpalette. The slug is permanent once installed and must be unique across the platform. - Then the
tokensblock. This is most of your design: the label style, the radius trio, the asymmetric section padding, the type scale. Two themes with the same components and different tokens already look different. - Rename the files in
components/and edit their CSS. Keep the class prefixes unique to your theme so two installed packages never collide. - In
composition, set the order sections appear in, per page. A bare key resolves to your package first and the shared library second. - Add
preview/cover.pnglast. Install the theme, open/preview/<your-slug>, capture it at 1280×998. It is a picture of the finished thing, so it comes at the end.
Check it before you upload
The same rules the server applies run on your own machine. Every problem comes back with the file it is in, the line, and what to do about it.
node scripts/check-theme-package.js my-themePassing is necessary, not sufficient. The checks that need the platform — whether your slug is taken, whether the shared components you named exist, whether the theme actually renders — run at upload.
Zip and send
Zip the CONTENTS of the folder, not the folder itself, so theme.json sits at the root of the archive. If you zip the folder by mistake the upload still works — one leading directory is stripped — but everything else about the layout is taken literally.
The operator uploads it, reads the report, looks at the rendered preview in both languages, and installs it. Your theme is then in the gallery, and its components are in the shared library for other themes to compose from.