Agencies & network · Advanced · 0:53 min
Your own kit with the start kit
kit:create copies the start kitIn KLXM Studio, the package of design and building blocks for a website: layout, colours, fonts and the matching blocks. A kit can be adapted or switched – the content stays. “starter” – then adjust, build, test.
Goal
You create your own kit for a project, based on the smallest complete kit, and know which steps follow.
Prerequisites
- Access to the command line and the
kits/folder (locally or on the server). - Node/pnpm for the build (local only).
Step by step
Transcript: every step matches one subtitle in the video.
- Your own kit for a project: “kit:create” copies the start kit and renames everything.
- The output lists the new folders and the next steps: adjust, build, test, check.
- The start kit is the smallest complete kit: six example blockBuilding block of a page, such as text, image, gallery, map or form. You put pages together from blocks; each block has fields for its content and options for its display., light and dark, one accent colour.
- You set colours, fonts and navigation under Design as usual – the values are design tokens of the kit.
- theme.php is divided into sections § 1–11. The guide: technical documentation › kits & design.
Commands & configuration
php bin/console kit:create kanzlei # Kopie von kits/starter, Präfix starter_ → kanzlei_
cd tools && pnpm run build
php bin/console site:create kunde www.kunde.de kanzlei
php bin/console health --site=kunde
php kits/kanzlei/tools/contrast.php
Tips & pitfalls
kit:create name --from=basis uses another kit as the template.
Check the home-page budget: CSS < 30 KB, JS < 8 KB (start kit ≈ 15.7 KB / 0.4 KB).
Rebuild after changes to assets/ – public/assets/kits/{name}/ only contains the built files.
Do not change the start kit itself – it is the template for kit:create and is replaced by updates.