Use the profile's design system for visual work, and wire new apps to it
Scaffolded projects now use the profile’s design system for anything visual, and new apps actually load it.
Design-system setting (79de1b9)
- Optional
[design]table in profiles: name, package, repo, a pinned release tag (ref), and the URL of its own rules. Empty means nothing changes. - When set: an agent rule in
AGENTS.md, a README Design section, a[design]table in the manifest (theme,allow_hex), andscaffold checkwarnings. - polarizetech profile pins polarize-ui.
New apps wired to it (59f4b42) New apps weren’t using the design system. Fixes:
serve.pyreads design files at the pinned tag, not whatever branch the local checkout has out.- The stylesheet’s fonts are served; before, every app fell back to system fonts.
- A missing design system shows a yellow banner with the fix instead of a quietly unstyled page.
- Each new app’s README has a Design section;
app.cssis layout only. <body>class comes from the profile’sbody_class.scaffold checkwarns about each HTML page that doesn’t load it or lacks the class (was repo-wide).- Pin moved to polarize-ui v0.6.7.
Design checks are warnings, not failures. UPGRADING.md has the by-hand steps for existing repos.
Tests: python3 -m unittest discover -v tests passes on Python 3.9 and 3.12 (105 tests, 2 skipped).
🤖 Generated with Claude Code