The design language that makes your AI harness better at design.
JavaScript
Improve typeset and arrange demos
Paul Bakaus8427deac3ea4
diff --git a/public/js/demos/commands/arrange.js b/public/js/demos/commands/arrange.jsindex e9299c6a8..ae1020c70 100644--- a/public/js/demos/commands/arrange.js+++ b/public/js/demos/commands/arrange.js@@ -25,10 +25,7 @@ export default {after: `<div style="width: 100%; max-width: 240px; padding: 16px; font-family: 'Instrument Sans', sans-serif;">- <div style="margin-bottom: 20px;">- <div style="font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ash); margin-bottom: 4px;">Team</div>- <div style="font-size: 1.05rem; font-weight: 600; color: var(--color-ink);">Members</div>- </div>+ <div style="font-size: 0.8125rem; font-weight: 600; color: var(--color-ink); margin-bottom: 16px;">Team Members</div><div style="display: flex; flex-direction: column; gap: 6px;"><div style="display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--color-mist);"><div style="width: 28px; height: 28px; background: var(--color-accent); border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: white; font-size: 11px; font-weight: 600;">AC</div>diff --git a/public/js/demos/commands/typeset.js b/public/js/demos/commands/typeset.jsindex 2f226e054..0eb479260 100644--- a/public/js/demos/commands/typeset.js+++ b/public/js/demos/commands/typeset.js@@ -1,23 +1,23 @@-// Typeset command demo - shows generic typography becoming intentional and hierarchical+// Typeset command demo - shows flat, hierarchyless text becoming intentional typographyexport default {id: 'typeset',- caption: 'Generic system fonts → Intentional type hierarchy',+ caption: 'No type hierarchy → Clear, intentional typography',before: `<div style="width: 100%; max-width: 240px; padding: 16px; font-family: Arial, sans-serif;">- <div style="font-size: 15px; font-weight: bold; color: #333; margin-bottom: 6px;">Project Update</div>- <div style="font-size: 14px; font-weight: bold; color: #555; margin-bottom: 8px;">Q1 Design Sprint</div>- <p style="font-size: 14px; color: #666; line-height: 1.4; margin: 0 0 8px;">The team completed the redesign of the dashboard. All components have been reviewed and approved by stakeholders.</p>- <div style="font-size: 13px; color: #888;">Updated 2 hours ago</div>+ <div style="font-size: 14px; font-weight: bold; color: #444; margin-bottom: 8px;">Project Update</div>+ <div style="font-size: 14px; color: #444; margin-bottom: 8px;">Q1 Design Sprint</div>+ <div style="font-size: 14px; color: #444; line-height: 1.4; margin-bottom: 8px;">The team completed the redesign of the dashboard. All components have been reviewed and approved by stakeholders.</div>+ <div style="font-size: 14px; color: #444;">Updated 2 hours ago</div></div>`,after: `<div style="width: 100%; max-width: 240px; padding: 16px; font-family: 'Instrument Sans', sans-serif;">- <div style="font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ash); margin-bottom: 8px;">Project Update</div>- <div style="font-family: 'Cormorant Garamond', serif; font-size: 1.375rem; font-weight: 600; color: var(--color-ink); line-height: 1.15; margin-bottom: 10px;">Q1 Design Sprint</div>- <p style="font-size: 0.875rem; color: color-mix(in oklch, var(--color-ink) 70%, transparent); line-height: 1.6; margin: 0 0 12px; max-width: 32ch;">The team completed the redesign of the dashboard. All components reviewed and approved.</p>- <div style="font-size: 0.75rem; color: var(--color-ash); font-variant-numeric: tabular-nums;">Updated 2 hours ago</div>+ <div style="font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ash); margin-bottom: 6px;">Project Update</div>+ <div style="font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--color-ink); line-height: 1.1; margin-bottom: 12px;">Q1 Design Sprint</div>+ <p style="font-size: 0.8125rem; color: color-mix(in oklch, var(--color-ink) 65%, transparent); line-height: 1.65; margin: 0 0 14px; max-width: 30ch;">The team completed the redesign of the dashboard. All components reviewed and approved.</p>+ <div style="font-size: 0.6875rem; color: var(--color-ash); font-variant-numeric: tabular-nums;">Updated 2 hours ago</div></div>`};