feat(site-builder): form blocks default to palette tokens

Refs #44

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
shadowdaoandClaude Sonnet 5.5 committed 2026-10-07 11:24:52 -07:00
1 parent d70f4933af
commit af43af7dc1
6 files changed
+53 -14

No files matched your search

@@ -38,3 +38,11 @@ describe('FormButton.craft.props includes animation/visibility defaults', () =>
});
});
});
describe('FormButton.toHtml palette token default (Refs #44)', () => {
test('a new form button (craft default props) paints the primary token', () => {
const { html } = toHtml({ ...(FormButton as any).craft.props }, '');
expect(html).toContain('background-color:var(--wsb-primary)');
expect(html).not.toContain('#3b82f6');
});
});