create-ailk 0.47.0 → 0.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/README.md +192 -43
  2. package/component-catalog.json +223 -285
  3. package/component-catalog.md +1 -1
  4. package/dist/apply-design.d.ts +26 -68
  5. package/dist/apply-design.js +150 -322
  6. package/dist/cli.js +152 -17
  7. package/dist/compare-chrome.d.ts +108 -0
  8. package/dist/compare-chrome.js +481 -0
  9. package/dist/compare-look.d.ts +94 -0
  10. package/dist/compare-look.js +378 -0
  11. package/dist/copy.js +1 -1
  12. package/dist/design-compile.d.ts +17 -21
  13. package/dist/design-compile.js +32 -56
  14. package/dist/design-files.d.ts +93 -0
  15. package/dist/design-files.js +312 -0
  16. package/dist/design-home.d.ts +4 -2
  17. package/dist/design-home.js +88 -6
  18. package/dist/design-names.d.ts +13 -0
  19. package/dist/design-names.js +76 -0
  20. package/dist/design-package.d.ts +46 -56
  21. package/dist/design-package.js +285 -288
  22. package/dist/design-presets.d.ts +41 -0
  23. package/dist/design-presets.js +83 -4
  24. package/dist/design-scaffold.d.ts +12 -2
  25. package/dist/design-scaffold.js +72 -34
  26. package/dist/generated/design-settings.d.ts +56 -0
  27. package/dist/generated/design-settings.js +237 -0
  28. package/dist/index.d.ts +1 -1
  29. package/dist/index.js +2 -2
  30. package/dist/inventory.d.ts +3 -2
  31. package/dist/inventory.js +10 -4
  32. package/dist/lib/design-checks.d.ts +46 -0
  33. package/dist/lib/design-checks.js +79 -1
  34. package/dist/lib/env-catalog.js +1 -1
  35. package/dist/lib/module-license-gate.d.ts +1 -1
  36. package/dist/lib/module-license-gate.js +1 -1
  37. package/dist/lib/render-verdict.d.ts +13 -1
  38. package/dist/lib/render-verdict.js +41 -1
  39. package/dist/look-hub.d.ts +44 -0
  40. package/dist/look-hub.js +130 -0
  41. package/dist/look-record.d.ts +35 -0
  42. package/dist/look-record.js +85 -0
  43. package/dist/look-samples.d.ts +66 -0
  44. package/dist/look-samples.js +456 -0
  45. package/dist/look-settings.d.ts +53 -0
  46. package/dist/look-settings.js +807 -0
  47. package/dist/module-architecture.js +12 -0
  48. package/dist/parse-args.d.ts +10 -6
  49. package/dist/parse-args.js +26 -13
  50. package/dist/programmatic.d.ts +1 -19
  51. package/dist/programmatic.js +65 -103
  52. package/dist/retired-design-bodies.d.ts +29 -0
  53. package/dist/retired-design-bodies.js +51 -0
  54. package/dist/seed-flows.d.ts +1 -1
  55. package/dist/seed-flows.js +12 -14
  56. package/dist/seed-workspace.d.ts +4 -1
  57. package/dist/seed-workspace.js +139 -17
  58. package/dist/site-chrome.d.ts +42 -41
  59. package/dist/site-chrome.js +51 -70
  60. package/dist/site-fonts.d.ts +14 -14
  61. package/dist/site-fonts.js +9 -4
  62. package/dist/starter-grid.d.ts +2 -2
  63. package/dist/strip-look-copies.d.ts +67 -0
  64. package/dist/strip-look-copies.js +591 -0
  65. package/dist/template-manifest.d.ts +6 -14
  66. package/dist/template-manifest.js +0 -9
  67. package/dist/template-record.d.ts +3 -1
  68. package/dist/template-record.js +3 -1
  69. package/dist/topology.d.ts +15 -0
  70. package/dist/topology.js +60 -0
  71. package/dist/update.d.ts +57 -1
  72. package/dist/update.js +742 -13
  73. package/package.json +3 -4
  74. package/site-templates/aliases/hub.TEMPLATE-MANIFEST.json +2 -31
  75. package/site-templates/designs/minimalism/DESIGN.md +163 -297
  76. package/site-templates/designs/minimalism/LOOK.md +42 -0
  77. package/site-templates/designs/minimalism/design.yaml +167 -0
  78. package/site-templates/designs/standard/DESIGN.md +145 -149
  79. package/site-templates/designs/standard/LOOK.md +42 -0
  80. package/site-templates/designs/standard/design.yaml +72 -0
  81. package/site-templates/marketing-site/TEMPLATE-MANIFEST.json +2 -31
  82. package/site-templates/marketing-site/TEMPLATE-MANIFEST.md +1 -25
  83. package/site-templates/marketing-site-free/TEMPLATE-MANIFEST.json +2 -31
  84. package/site-templates/marketing-site-free/TEMPLATE-MANIFEST.md +1 -25
  85. package/site-templates/shapes/local-business-service/TEMPLATE-MANIFEST.json +2 -31
  86. package/site-templates/shapes/local-business-service/TEMPLATE-MANIFEST.md +1 -25
  87. package/site-templates/shapes/organization-service/TEMPLATE-MANIFEST.json +2 -31
  88. package/site-templates/shapes/organization-service/TEMPLATE-MANIFEST.md +1 -25
  89. package/site-templates/shapes/person-service/TEMPLATE-MANIFEST.json +2 -31
  90. package/site-templates/shapes/person-service/TEMPLATE-MANIFEST.md +1 -25
  91. package/site-templates/shapes/person-service/content/_site.mdx +0 -26
  92. package/templates/.claude/rules/extending.md +3 -2
  93. package/templates/.env.example +11 -4
  94. package/templates/CLAUDE.md +1 -1
  95. package/templates/DESIGN.md +145 -149
  96. package/templates/README.md +15 -16
  97. package/templates/apps/api/.env.example +11 -4
  98. package/templates/apps/api/CLAUDE.md +6 -4
  99. package/templates/apps/api/src/lib/__mocks__/prisma.ts +15 -5
  100. package/templates/apps/mcp/CLAUDE.md +4 -2
  101. package/templates/apps/web/.env.example +10 -3
  102. package/templates/apps/web/CLAUDE.md +14 -3
  103. package/templates/apps/web/app/[locale]/layout.tsx +53 -50
  104. package/templates/apps/web/app/not-found.tsx +11 -11
  105. package/templates/apps/web/auth.ts +48 -35
  106. package/templates/apps/web/jest.config.cjs +5 -0
  107. package/templates/apps/web/lib/__tests__/hub-site-config.test.ts +179 -31
  108. package/templates/apps/web/lib/__tests__/library-fonts.test.ts +35 -0
  109. package/templates/apps/web/lib/__tests__/page-chrome-navigation.test.ts +71 -32
  110. package/templates/apps/web/lib/__tests__/page-chrome.test.ts +123 -26
  111. package/templates/apps/web/lib/__tests__/section-look.test.ts +150 -0
  112. package/templates/apps/web/lib/__tests__/site-theme.test.ts +81 -289
  113. package/templates/apps/web/lib/deck-page.ts +3 -10
  114. package/templates/apps/web/lib/deploy-fonts.ts +12 -0
  115. package/templates/apps/web/lib/hub-site-config.ts +97 -14
  116. package/templates/apps/web/lib/library-fonts.ts +41 -0
  117. package/templates/apps/web/lib/mcp-oauth.ts +11 -4
  118. package/templates/apps/web/lib/page-chrome.ts +52 -34
  119. package/templates/apps/web/lib/section-look.ts +28 -0
  120. package/templates/apps/web/lib/site-design.ts +205 -0
  121. package/templates/apps/web/lib/site-theme-head.ts +98 -13
  122. package/templates/apps/web/lib/site-theme.ts +40 -62
  123. package/templates/apps/web/messages/en.json +0 -6
  124. package/templates/apps/web/next.config.mjs +195 -6
  125. package/templates/apps/web/package.json +2 -0
  126. package/templates/apps/web/site-pages.config.tsx +4 -2
  127. package/templates/content/_site.mdx +0 -26
  128. package/templates/design.yaml +75 -0
  129. package/templates/project.yaml +14 -0
  130. package/versions.json +52 -51
  131. package/site-templates/marketing-site/DESIGN.md +0 -259
  132. package/site-templates/marketing-site-free/DESIGN.md +0 -259
  133. package/site-templates/saas-product/DESIGN.md +0 -259
  134. package/templates/apps/web/lib/__tests__/deck-page.test.ts +0 -288
  135. package/templates/apps/web/lib/__tests__/site-theme-head.test.ts +0 -70
  136. package/templates/apps/web/lib/site-chrome.ts +0 -46
  137. package/templates/apps/web/lib/site-fonts.ts +0 -15
@@ -0,0 +1,167 @@
1
+ name: Minimalism
2
+ version: 1
3
+ description: "The minimalism design — the same black-on-white foundation, presented as a scroll-snap deck home (one slide per home section, the landing hero carrying the brand) with a mark-only navigation and a centred footer."
4
+ colors:
5
+ bg: "#ffffff"
6
+ fg: "#000000"
7
+ surface: "#ffffff"
8
+ surface-secondary: "#ffffff"
9
+ border: "#000000"
10
+ text-muted: "#333333"
11
+ brand: "#000000"
12
+ fg-on-brand: "#ffffff"
13
+ accent: "#000000"
14
+ bg-dark: "#ffffff"
15
+ fg-dark: "#000000"
16
+ surface-dark: "#ffffff"
17
+ surface-secondary-dark: "#ffffff"
18
+ border-dark: "#000000"
19
+ text-muted-dark: "#333333"
20
+ brand-dark: "#000000"
21
+ fg-on-brand-dark: "#ffffff"
22
+ accent-dark: "#000000"
23
+ bg-band: "#000000"
24
+ fg-band: "#ffffff"
25
+ surface-band: "#000000"
26
+ surface-secondary-band: "#000000"
27
+ border-band: "#ffffff"
28
+ text-muted-band: "#cccccc"
29
+ brand-band: "#ffffff"
30
+ fg-on-brand-band: "#000000"
31
+ accent-band: "#ffffff"
32
+ treatments:
33
+ corners: square
34
+ eyebrowCase: sentence
35
+ placeholders: fill
36
+ checkmarks: plain
37
+ buttonShape: pill
38
+ typeScale: design
39
+ darkInk: accent
40
+ figures: display
41
+ layout:
42
+ nav: mark-only
43
+ footer: centered
44
+ announcementBanner: false
45
+ home: deck
46
+ deckPresentation: true
47
+ innerPages: bare
48
+ chromeStyle: minimal
49
+ sections:
50
+ AboutPage:
51
+ content-block:
52
+ variant: profile
53
+ BlogList:
54
+ hero:
55
+ variant: centered
56
+ BookCall:
57
+ hero:
58
+ variant: centered
59
+ ContactPage:
60
+ hero:
61
+ variant: centered
62
+ FAQPage:
63
+ hero:
64
+ variant: centered
65
+ Feature:
66
+ hero:
67
+ variant: centered
68
+ FeaturesList:
69
+ hero:
70
+ variant: centered
71
+ GlossaryList:
72
+ hero:
73
+ variant: centered
74
+ HomePage:
75
+ hero:
76
+ variant: centered
77
+ fill: viewport
78
+ content-block:
79
+ variant: statement
80
+ items:
81
+ variant: list
82
+ logoCloud:
83
+ columns: 5
84
+ phoneColumns: 2
85
+ motion: scroll
86
+ treatment: silhouette
87
+ actionStyle: links
88
+ team:
89
+ variant: with-portraits
90
+ cta:
91
+ actionStyle: one-button
92
+ LandingPage:
93
+ hero:
94
+ variant: centered
95
+ NewsletterSignup:
96
+ hero:
97
+ variant: centered
98
+ PortfolioList:
99
+ hero:
100
+ variant: centered
101
+ surface: none
102
+ eyebrowTone: muted
103
+ items:
104
+ itemStyle: plain
105
+ faq:
106
+ surface: none
107
+ cta:
108
+ variant: minimal
109
+ Pricing:
110
+ hero:
111
+ variant: centered
112
+ ServicesList:
113
+ hero:
114
+ variant: centered
115
+ items:
116
+ itemStyle: plain
117
+ TeamMember:
118
+ content-block:
119
+ variant: profile
120
+ UseCase:
121
+ hero:
122
+ variant: centered
123
+ UseCasesList:
124
+ hero:
125
+ variant: centered
126
+ copy:
127
+ density: sparse
128
+ typography:
129
+ display:
130
+ fontFamily: "system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, sans-serif"
131
+ fontSize: "2.8rem"
132
+ fontSizeMobile: "1.65rem"
133
+ fontWeight: 400
134
+ lineHeight: 1.1
135
+ letterSpacing: "normal"
136
+ heading-section:
137
+ fontFamily: "system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, sans-serif"
138
+ fontSize: "2.8rem"
139
+ fontSizeMobile: "1.65rem"
140
+ fontWeight: 400
141
+ lineHeight: 1.1
142
+ letterSpacing: "normal"
143
+ heading-item:
144
+ fontSize: "1.6875rem"
145
+ fontWeight: 400
146
+ lineHeight: 1.375
147
+ letterSpacing: "normal"
148
+ body:
149
+ fontFamily: "system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, sans-serif"
150
+ fontSize: "1.05rem"
151
+ fontWeight: 400
152
+ lineHeight: 1.6
153
+ eyebrow:
154
+ fontSize: "1.5rem"
155
+ fontWeight: 400
156
+ lineHeight: 1.4
157
+ letterSpacing: "0.05em"
158
+ rounded:
159
+ button: "0.5rem"
160
+ card: "0.75rem"
161
+ spacing:
162
+ section: "7rem"
163
+ section-mobile: "4rem"
164
+ card: "1.5rem"
165
+ grid: "1.5rem"
166
+ container: "1280px"
167
+ measure: "36rem"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: Standard
3
- description: "The standard design — the black-on-white foundation any shape wears by default: full navigation, a multi-column footer, the document-scroll home."
3
+ description: "The standard design: the black-on-white foundation any shape wears by default, with full navigation, a multi-column footer and the document-scroll home."
4
4
  colors:
5
5
  bg: "#ffffff"
6
6
  fg: "#000000"
@@ -11,32 +11,23 @@ colors:
11
11
  brand: "#000000"
12
12
  fg-on-brand: "#ffffff"
13
13
  accent: "#000000"
14
+ placeholder: "#dbdbdb"
14
15
  bg-dark: "#000000"
15
16
  fg-dark: "#ffffff"
16
17
  border-dark: "#ffffff"
17
18
  brand-dark: "#ffffff"
19
+ fg-on-brand-dark: "#000000"
18
20
  text-muted-dark: "#cccccc"
19
- treatments:
20
- corners: square
21
- eyebrowCase: sentence
22
- placeholders: fill
23
- checkmarks: plain
24
- layout:
25
- nav: full
26
- footer: columns
27
- announcementBanner: false
28
- home: default
29
- copy:
30
- density: standard
21
+ placeholder-dark: "#2a2a2a"
31
22
  typography:
32
23
  display:
33
- fontFamily: "system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, sans-serif"
24
+ fontFamily: "system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif"
34
25
  fontSize: "3.5rem"
35
26
  fontWeight: 700
36
27
  lineHeight: 1.1
37
28
  letterSpacing: "normal"
38
29
  heading-section:
39
- fontFamily: "system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, sans-serif"
30
+ fontFamily: "system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif"
40
31
  fontSize: "3rem"
41
32
  fontWeight: 700
42
33
  lineHeight: 1.1
@@ -46,19 +37,28 @@ typography:
46
37
  fontWeight: 700
47
38
  lineHeight: 1.375
48
39
  letterSpacing: "normal"
40
+ heading-panel:
41
+ fontSize: "1.25rem"
42
+ fontWeight: 600
43
+ lineHeight: 1.375
44
+ letterSpacing: "normal"
49
45
  body:
50
- fontFamily: "system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, sans-serif"
46
+ fontFamily: "system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif"
51
47
  fontSize: "1.125rem"
52
48
  fontWeight: 400
53
49
  lineHeight: 1.5
54
- eyebrow:
50
+ body-sm:
51
+ fontSize: "0.875rem"
52
+ fontWeight: 400
53
+ lineHeight: 1.5
54
+ label:
55
55
  fontSize: "0.875rem"
56
56
  fontWeight: 600
57
57
  lineHeight: 1.4
58
- letterSpacing: "0.05em"
58
+ letterSpacing: "normal"
59
59
  rounded:
60
- button: "0.5rem"
61
- card: "0.75rem"
60
+ control: "0"
61
+ card: "0"
62
62
  spacing:
63
63
  section: "7rem"
64
64
  section-mobile: "4rem"
@@ -66,194 +66,190 @@ spacing:
66
66
  grid: "1.5rem"
67
67
  container: "1280px"
68
68
  measure: "36rem"
69
+ components:
70
+ button-primary:
71
+ backgroundColor: "{colors.brand}"
72
+ textColor: "{colors.fg-on-brand}"
73
+ rounded: "{rounded.control}"
74
+ padding: "0 1rem"
75
+ height: "2.75rem"
76
+ button-primary-hover:
77
+ backgroundColor: "{colors.bg}"
78
+ textColor: "{colors.fg}"
79
+ button-secondary:
80
+ backgroundColor: "transparent"
81
+ textColor: "{colors.fg}"
82
+ rounded: "{rounded.control}"
83
+ padding: "0 1rem"
84
+ height: "2.75rem"
85
+ button-compact:
86
+ backgroundColor: "transparent"
87
+ textColor: "{colors.fg}"
88
+ rounded: "{rounded.control}"
89
+ padding: "0 1rem"
90
+ height: "2.25rem"
91
+ card:
92
+ backgroundColor: "{colors.surface}"
93
+ textColor: "{colors.fg}"
94
+ rounded: "{rounded.card}"
95
+ padding: "{spacing.card}"
96
+ image-placeholder:
97
+ backgroundColor: "{colors.placeholder}"
98
+ rounded: "{rounded.card}"
99
+ nav:
100
+ backgroundColor: "{colors.bg}"
101
+ textColor: "{colors.text-muted}"
102
+ height: "4rem"
69
103
  ---
70
104
 
71
- <!--
72
- Source template: designs/standard
73
- Design: standard
74
- Version: create-ailk {{CREATE_AILK_VERSION}}
75
-
76
- This is the `standard` design's DESIGN.md. Its one authored source is
77
- create-ailk's site-templates/designs/standard/DESIGN.md; every template on
78
- this design ships a copy of it that differs only in the "Source template"
79
- line above, and a template installed with `--template <name>` replaces the
80
- base scaffold's DESIGN.md with its own. The impeccable design skill reads
81
- it at the start of every design session, so an agent building a new page
82
- stays on-system.
83
- Edit the canonical file, never a copy — a test holds every copy to it.
84
-
85
- The tokens above describe what the site RENDERS today. The design's own
86
- colours and shape knobs live in content/_site.mdx `theme:`, which
87
- `create-ailk apply-design` replaces wholesale; the owner's brand colours and
88
- fonts live beside it in `brand.colors` and `brand.fonts`, which applying a
89
- design never rewrites. Radius and spacing are platform defaults a site
90
- cannot override yet — see "Where this is heading" below.
91
- -->
92
-
93
- # Standard
105
+ # Design System: Standard
94
106
 
95
107
  ## Overview
96
108
 
97
- The foundation reads like a well-made wireframe: nothing on the page but the words, black on white, with rules where other sites use shadows and colour. It is the look of a site whose owner has not chosen a brand yet and does not pretend otherwise — every placeholder reads as a placeholder, and the structure of the argument is what the visitor sees. A brand is applied on top of it; it is not one.
109
+ **Creative North Star: "The Well-Made Wireframe"**
110
+
111
+ The foundation reads like a well-made wireframe: nothing on the page but the words, black on white, with hairlines where other sites use shadows and colour. It is the look of a site whose owner has not chosen a brand yet and does not pretend otherwise. Every placeholder reads as a placeholder, and the structure of the argument is what the visitor sees. A brand is applied on top of it; it is not one.
98
112
 
99
- Every page is composed from the AI Launch Kit component library (`@working-theory/ui`). Nothing is hand-built: a page is a list of registered sections, each with a bounded set of variants. Each section is one full-width band with a lot of air around it.
113
+ Every page is composed from the AI Launch Kit component library (`@working-theory/ui`). Nothing is hand-built: a page is a list of registered sections, each with a bounded set of variants. Each section is one full-width band with a lot of air around it, and the air is what separates one band from the next.
114
+
115
+ The pacing is that of a classic wireframe marketing kit: bold system-sans headings at normal tracking, a generous vertical rhythm, square corners, flat grey blocks where images will go.
116
+
117
+ **Key Characteristics:**
118
+
119
+ - Black ink on a white ground; no accent colour, no tint, no gradient.
120
+ - Square corners on every control, card and image block.
121
+ - Containers drawn with a 1px black hairline, never a fill.
122
+ - One system sans, bold for headings, regular for copy.
123
+ - Whitespace, not rules, between sections (7rem a band on desktop).
124
+ - Solid grey image placeholders that plainly say "image goes here".
125
+ - Dark mode is the exact inversion: black ground, white ink, white hairlines.
100
126
 
101
127
  ## Colors
102
128
 
103
- <!-- generated:begin colors -->
104
-
105
- | Key | Value | Compiles to |
106
- | ------------------- | --------- | -------------------------------------------------------------------------------------------------------------- |
107
- | `bg` | `#ffffff` | `light.bg` |
108
- | `fg` | `#000000` | `light.text` |
109
- | `surface` | `#ffffff` | `light.surface` |
110
- | `surface-secondary` | `#ffffff` | `light.bgMuted` |
111
- | `border` | `#000000` | `light.border` |
112
- | `text-muted` | `#333333` | `light.textMuted` |
113
- | `brand` | `#000000` | `light.primary` |
114
- | `fg-on-brand` | `#ffffff` | `light.primaryFg` |
115
- | `accent` | `#000000` | `light.accent` |
116
- | `bg-dark` | `#000000` | `dark.bg`, `dark.bgMuted` (fallback of L1), `dark.surface` (fallback of L2), `dark.primaryFg` (fallback of L4) |
117
- | `fg-dark` | `#ffffff` | `dark.text` |
118
- | `border-dark` | `#ffffff` | `dark.border` |
119
- | `brand-dark` | `#ffffff` | `dark.primary`, `dark.accent` (fallback of L5) |
120
- | `text-muted-dark` | `#cccccc` | `dark.textMuted` |
121
-
122
- <!-- generated:end -->
129
+ Two inks and one grey: the palette is black, white, a near-black for running copy, and a flat grey reserved for image placeholders.
123
130
 
124
131
  ### Primary
125
132
 
126
- **Black** (`brand` `#000000`) fills the primary button; its label is white. The secondary button is white with a black hairline and black label.
133
+ - **Black** (`brand`): fills the primary button, with a white label (`fg-on-brand`). It is also the heading ink (`fg`), the hairline (`border`) and the accent (`accent`), so links, outlines and filled controls all read as the same single colour.
127
134
 
128
135
  ### Neutral
129
136
 
130
- Pure white ground (`bg` `#ffffff`), pure black ink for headings (`fg` `#000000`), and near-black `#333333` for body copy — well above AA on white. **Borders are black** (`#000000`): card outlines, the rule under the navigation, the rules between sections and the rule above the footer are all 1px black lines. Cards are white, not tinted (`surface-secondary` is white too). There is no accent colour — `accent` is black.
137
+ - **White** (`bg`, `surface`, `surface-secondary`): the page ground and every card. Cards are white, not tinted; the muted surface is white too.
138
+ - **Near-black** (`text-muted`): body copy, section sub-heads, navigation links and footer links. Well above AA on white.
139
+ - **Placeholder grey** (`placeholder`): the solid fill of an image placeholder, with a small, slightly darker image glyph centred in it. It appears nowhere else.
131
140
 
132
- Dark mode inverts: black ground, white ink, white rules, white primary button with black label.
141
+ Dark mode inverts the same roles: black ground (`bg-dark`), white ink (`fg-dark`), white hairlines (`border-dark`), a white primary button with a black label (`brand-dark`, `fg-on-brand-dark`), light-grey running copy (`text-muted-dark`) and a raised dark-grey placeholder (`placeholder-dark`).
133
142
 
134
143
  ### Named Rules
135
144
 
136
- - **Rules, not fills.** A container is drawn with a black hairline on the white ground. Grey fills are reserved for image placeholders.
145
+ **The Rules, Not Fills Rule.** Rules, not fills. A container is drawn with a black hairline on the white ground. Grey fills are reserved for image placeholders.
137
146
 
138
- ## Typography
147
+ **The One Ink Rule.** There is no accent colour. `accent` is black. Colour arrives only through a deliberate brand pass, never page by page.
139
148
 
140
- <!-- generated:begin typography -->
141
-
142
- | Role | Family | Size | Weight | Line height | Tracking |
143
- | ----------------- | ------------------------------------------------------------------------ | ---------- | ------ | ----------- | -------- |
144
- | `display` | `system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, sans-serif` | `3.5rem` | 700 | 1.1 | `normal` |
145
- | `heading-section` | `system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, sans-serif` | `3rem` | 700 | 1.1 | `normal` |
146
- | `heading-item` | — | `2rem` | 700 | 1.375 | `normal` |
147
- | `body` | `system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, sans-serif` | `1.125rem` | 400 | 1.5 | — |
148
- | `eyebrow` | — | `0.875rem` | 600 | 1.4 | `0.05em` |
149
+ ## Typography
149
150
 
150
- <!-- generated:end -->
151
+ **Display Font:** the system sans (system-ui, with -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue as fallbacks)
152
+ **Body Font:** the same system sans
151
153
 
152
- System sans throughout; no web font.
154
+ **Character:** One face throughout and no web font. Hierarchy comes from size and weight alone: bold headings at normal tracking over regular-weight copy.
153
155
 
154
156
  ### Hierarchy
155
157
 
156
- | Role | Size | Weight | Notes |
157
- | --------------- | -------- | ------ | ------------------------------------------------------------------------------------- |
158
- | Hero headline | 3.5rem | 700 | Normal tracking, line-height 1.1; 2.5rem below 1024px |
159
- | Section heading | 3rem | 700 | Normal tracking, line-height 1.1; 2.25rem below 1024px, always under the hero |
160
- | Item heading | 2rem | 700 | Card, feature and step titles; 1.5rem below 1024px |
161
- | Body | 1.125rem | 400 | `#333333`, line-height 1.5; section copy capped at 36rem (about 70 characters a line) |
162
- | Section label | 0.875rem | 600 | Uppercase, +0.05em tracking today — the small label above a section heading |
158
+ - **Display** (700, 3.5rem, line-height 1.1): the hero headline, one per page. 2.5rem below 1024px. Wraps at about half the container beside the hero image.
159
+ - **Section heading** (700, 3rem, line-height 1.1): the heading of each band, always under the hero. 2.25rem below 1024px. Capped at 48rem wide; left-aligned by default, centred in the comparison and integrations bands.
160
+ - **Item heading** (700, 2rem, line-height 1.375): feature and step titles. 1.5rem below 1024px.
161
+ - **Panel heading** (600, 1.25rem, line-height 1.375): the title inside an outlined comparison panel.
162
+ - **Body** (400, 1.125rem, line-height 1.5): hero and section copy in near-black, capped at the measure (36rem, about 70 characters a line).
163
+ - **Small body** (400, 0.875rem, line-height 1.5): the description under an item heading, footer links, and inline text links (500 weight, underlined with a hairline).
164
+ - **Label** (600, 0.875rem, line-height 1.4, sentence case, normal tracking): the small label that sits with a section heading or names a panel ("Old Way", "New Way"). Rendered as written, in black.
163
165
 
164
- Measured from the rendered scaffold (1440px and 390px wide), not transcribed from tokens. Bold headings at normal tracking follow the foundation's pinned direction (#6493).
166
+ ### Named Rules
165
167
 
166
- The small label above a section heading is **kept** as part of this foundation's voice (operator-disposed 2026-09-22) and is headed toward the treatment below.
168
+ **The Bold At Normal Tracking Rule.** Headings are weight 700 with no letter-spacing adjustment. Do not tighten or track them out.
167
169
 
168
- ## Layout
170
+ **The One Face Rule.** No second typeface. The owner's fonts arrive through the brand settings, not through a page.
169
171
 
170
- <!-- generated:begin layout -->
172
+ ## Layout
171
173
 
172
- | Knob | Value |
173
- | -------------------- | --------- |
174
- | `nav` | `full` |
175
- | `footer` | `columns` |
176
- | `announcementBanner` | `false` |
177
- | `home` | `default` |
174
+ A centred container (1280px, with 2rem side padding at desktop, 1.5rem from 768px, 1rem below) holds every band. Each section is a full-width band with 7rem of padding above and below (4rem below 1024px). No rule or background shift separates one band from the next; the whitespace does.
178
175
 
179
- | Spacing | Value |
180
- | ---------------- | -------- |
181
- | `section` | `7rem` |
182
- | `section-mobile` | `4rem` |
183
- | `card` | `1.5rem` |
184
- | `grid` | `1.5rem` |
185
- | `container` | `1280px` |
186
- | `measure` | `36rem` |
176
+ The design's layout settings: full navigation, a multi-column footer, the default document-scroll home, and the home-only announcement banner off.
187
177
 
188
- <!-- generated:end -->
178
+ The home runs: a two-column hero (copy left, image right, equal halves), a logo strip, a centred comparison of two outlined panels, a three-up feature grid, a centred integrations band, a full-container media band, a three-up steps grid, an outlined split call-to-action panel, a two-column manifesto, and a demo band.
189
179
 
190
- Full navigation; a multi-column footer; the default home. The home-only announcement banner is off by default (`layout.announcementBanner`). Every page this site carries is listed in its roster of record, `.ailk-site-manifest.json` at the site root. Shared foundation: a 1280px container, sections at 7rem (4rem below 1024px), card grids at 1.5rem, breakpoints 320 / 768 / 1024 / 1440.
180
+ Grids are three-up at desktop, two-up from 320px and one column below, with a 2rem column gap and a 3rem row gap between uncarded items; outlined panels sit 3rem apart. Card grids use the 1.5rem grid gap. Two-column bands collapse to a single column below 1024px. Breakpoints: 320 / 768 / 1024 / 1440. Nothing scrolls sideways at 390px.
191
181
 
192
- ## Copy
182
+ ## Elevation & Depth
193
183
 
194
- <!-- generated:begin copy -->
184
+ Flat. Surfaces carry no shadow at rest or on hover; depth is conveyed by the black hairline alone. The one shadow in the system belongs to a floating overlay: the cookie-consent panel that sits above the page carries a soft drop shadow together with its hairline, because it is the only thing not in the document flow.
195
185
 
196
- Copy density: standard — pages carry the ordinary amount of body copy for their section.
197
- <!-- generated:end -->
186
+ ### Shadow Vocabulary
198
187
 
199
- ## Shapes
188
+ - **Floating overlay** (`box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)`): the cookie-consent panel only.
200
189
 
201
- <!-- generated:begin shapes -->
190
+ ### Named Rules
202
191
 
203
- | Rounded | Value |
204
- | -------- | --------- |
205
- | `button` | `0.5rem` |
206
- | `card` | `0.75rem` |
192
+ **The Flat In Flow Rule.** Anything in the document flow is flat. A shadow is permitted only on a surface that floats above the page.
207
193
 
208
- | Treatment | Value |
209
- | ------------------------- | ---------- |
210
- | `treatments.corners` | `square` |
211
- | `treatments.eyebrowCase` | `sentence` |
212
- | `treatments.placeholders` | `fill` |
213
- | `treatments.checkmarks` | `plain` |
194
+ ## Shapes
214
195
 
215
- <!-- generated:end -->
196
+ Square corners everywhere (the design sets `corners: square`, which zeroes every radius): buttons, cards, panels, image placeholders, the consent panel. Borders are 1px black hairlines. Image placeholders are solid grey blocks with no outline (`placeholders: fill`). Check and cross marks in lists are bare glyphs in the text ink, with no circle badge (`checkmarks: plain`). Section labels render in sentence case (`eyebrowCase: sentence`).
216
197
 
217
- Square corners everywhere (`theme.corners: square`) — buttons, cards, the auth card, image placeholders; the tokens above are the base foundation's defaults a site overrides.
198
+ Without the square-corners setting the platform's base radii apply (0.5rem on controls, 0.75rem on cards); this design never shows them.
218
199
 
219
200
  ## Components
220
201
 
202
+ All components are the library's own; a page never restyles them.
203
+
221
204
  ### Buttons
222
205
 
223
- Primary: black fill, white label, 0.5rem corners. Secondary: transparent with a black 1px outline and black label. Both are the library `Button`.
206
+ Blunt and literal: a black rectangle or an outlined one.
207
+
208
+ - **Shape:** square corners (0), 1rem horizontal padding, label at 1rem and weight 500.
209
+ - **Primary:** black fill, white label, 2.75rem tall in a hero or call-to-action panel.
210
+ - **Secondary:** transparent with a 1px black outline and black label, the same height, sitting beside the primary.
211
+ - **Compact:** the outlined button at 2.25rem tall, used for the action that closes a section, paired with an underlined text link.
212
+ - **Hover / Focus:** hover inverts the primary (white fill, black label) over 150ms; transitions are colour-only and respect reduced motion. Focus shows a 2px ring in the brand ink.
224
213
 
225
214
  ### Cards / Containers
226
215
 
227
- White panels with a black 1px outline, 0.75rem corners, `card` (1.5rem) padding. The one exception today: the "how it works" steps render as dark filled cards (see below).
216
+ - **Corner Style:** square (0).
217
+ - **Background:** white.
218
+ - **Shadow Strategy:** none (see Elevation & Depth).
219
+ - **Border:** 1px black hairline.
220
+ - **Internal Padding:** 1.5rem (`card`). An image placeholder inside a panel runs edge to edge above the padded copy.
228
221
 
229
- ### Navigation
222
+ Outlined panels are used where two things are set against each other or one offer is framed: the comparison pair and the split call-to-action. Feature and step items are plain and uncarded: an icon or a grey image block, an item heading, a line of small body copy, and a text link.
223
+
224
+ ### Image placeholders
230
225
 
231
- Full navigation: wordmark left, page links, an outlined and a filled button at the far right. A black hairline separates it from the page. Page links are 16px at weight 400. The two buttons are 42px tall on a 44px touch target and keep the 0.5rem button radius; square corners arrive with the platform radius change below, not in the nav alone (#6508). The Product link opens, on hover or keyboard, a 640px two-column panel whose items each show an icon, a title and a one-line description.
226
+ Solid grey block, square, no outline, a small image glyph centred. Used at every image slot until the owner supplies an image: the hero, panel media, the media band, step images.
227
+
228
+ ### Navigation
232
229
 
233
- ## Where this is heading
230
+ - **Style:** wordmark left; page links right of centre; an outlined and a filled button at the far right. A 1px black hairline separates the bar (about 4rem tall) from the page. The bar scrolls with the document.
231
+ - **Typography:** links at 1rem, weight 400, in near-black.
232
+ - **Buttons:** 2.625rem tall with a 0.875rem label at weight 500, square. The outlined one carries a 2px outline.
233
+ - **Product menu:** the Product link opens, on hover or keyboard, a two-column panel whose items each show an icon, a title and a one-line description.
234
+ - **Mobile:** below 1024px the links collapse behind a single menu button.
234
235
 
235
- The foundation's pinned direction is the pacing of a classic wireframe marketing kit — `standardissue.webflow.io` is the reference for rhythm, type scale, spacing density and section pacing only; no image, copy or code is taken from it. The four traits this section used to list as blocked now ship as settings, so the rendered site matches the reference:
236
+ ### Footer
236
237
 
237
- | Trait | How it is set |
238
- | ------------------------------------------------------ | ------------------------------------------------------------------------------------------------- |
239
- | Square corners on buttons, cards and inputs | `theme.corners: square` in `_site.mdx` |
240
- | Section label in sentence case, bold, no tracking | `theme.eyebrowCase: sentence` |
241
- | Solid grey image placeholders, no outline | `theme.placeholders: fill` |
242
- | Bare check and cross marks, no circle badge | `theme.checkmarks: plain` |
243
- | Plain, uncarded feature and step items | per section: `itemStyle: plain`, and `variant: steps` for an image beside a numbered list |
244
- | A left hero whose headline wraps at half the container | `measure: narrow` on the hero (pricing); `gapBelow: tight` where a list follows the hero directly |
245
- | A three-up post grid on the blog index | `blog-list` `variant: grid` (cover · date · read time · title · excerpt · Read more) |
246
- | A plans section that leads its page | drop the hero; the pricing section owns the `<h1>` (`ownsPageTitle`) |
238
+ A multi-column footer: the wordmark, then four link columns (five grid columns in all at desktop, two from 768px, one below). Column links are small body copy in near-black. A bottom bar carries the theme switch, the copyright line at 0.75rem, legal links, social icons and the language picker. No rule separates the footer from the page.
247
239
 
248
240
  ## Do's and Don'ts
249
241
 
242
+ ### Do:
243
+
250
244
  - **Do** keep every page built from registered sections. If a section you need does not exist, request it rather than writing one-off markup.
251
- - **Do** set your brand colours (`primary`, `primaryFg`, `accent`, per mode) in `content/_site.mdx` `brand.colors` and your fonts (`display`, `body`) in `brand.fonts`; they reach every section and survive applying another design, which replaces `theme:`.
252
- - **Don't** add a colour accent. The foundation's one idea is black on white; a brand pass adds colour deliberately, through `brand.colors`.
253
- - **Don't** replace a black rule with a shadow or a grey fill.
254
- - **Don't** hard-code the "heading toward" values above into a page. They arrive through the platform, or not at all.
245
+ - **Do** set your brand colours (`primary`, `primaryFg`, `accent`, per mode) in the site file's `brand.colors` and your fonts (`display`, `body`) in `brand.fonts`; they reach every section and survive applying another design, which replaces the `theme:` block.
246
+ - **Do** draw a container with a 1px black hairline on white, with square corners.
247
+ - **Do** let whitespace separate sections: 7rem a band on desktop, 4rem below 1024px.
248
+ - **Do** change the look through the design's settings (corners, label case, placeholders, check marks) and per-section options (plain or carded items, hero measure), not through page-level styling.
255
249
 
256
- ## Revisions
250
+ ### Don't:
257
251
 
258
- - **2026-09-24 — tile hover is outline-only (operator ruling, /build-starter live pass, #6687).** A comparison tile (`items` in `variant: tile`) hovers by shifting its border to the accent only — no lift, no glow — matching the Positionary `/alternatives` ruling of 2026-08-29. Expressed as the bounded `tileHover: "outline"` option (Card `wash-outline`); the library default `lift` is unchanged for every other site.
259
- - **2026-09-25 — the before-after section's rulings (operator, /build-starter live pass, #6687).** One layout, not two variants: a panel body is an image or rows of content under the same label bar. The label bar is the tone's fill (brand → black bar, white text) at the heading-4 role; a `neutral` panel keeps a white bar. The view selector is underline tabs with the underline under the current tab only (no full-width baseline), active black, inactive muted, black on hover. The pager is a ghost "‹ Previous" at the left edge and "Next ›" at the right edge. The catalyst column carries no icon tile — it starts at the arrow, or at an image when one is set. No back-to-all link and no tag chips on the seed pages.
252
+ - **Don't** add a colour accent. The foundation's one idea is black on white; a brand pass adds colour deliberately, through `brand.colors`.
253
+ - **Don't** replace a black hairline with a shadow or a grey fill. Shadows belong only to a surface floating above the page; grey belongs only to image placeholders.
254
+ - **Don't** hard-code a radius, a tracking value or a colour into a page. Shape and colour arrive through the design's settings, or not at all.
255
+ - **Don't** round a corner on one component. Corners are square everywhere or the setting changes for the whole site.
@@ -0,0 +1,42 @@
1
+ ---
2
+ title: Standard
3
+ description: "The image direction of the standard look: plain, evenly lit photographs that sit in square frames on a black-on-white page and never compete with the words."
4
+ locale: en
5
+ contract: look
6
+ contract_version: 1
7
+ started_from: standard
8
+ design_settings: design.yaml
9
+ design_guide: design
10
+ ---
11
+
12
+ The image half of the standard look. Its colours, type and component settings live in the design settings (`design.yaml`), and its guide at the address `design`; this document never restates them.
13
+
14
+ ## Platform
15
+
16
+ Photographs and product screenshots for a marketing site: the hero's picture beside its headline, a full-width media band, and the smaller pictures of feature, step and content panels. Every picture sits in a square-cornered frame with no outline, on a page drawn in black hairlines on white.
17
+
18
+ ## Brand
19
+
20
+ {Your brand's own image direction: what every picture must and must never show. Replace this before you make an image.}
21
+
22
+ ## Subject
23
+
24
+ Real work and the people who do it: the product in use, the place it is made or delivered, the finished result. One clear subject per picture, shown plainly, never staged to look busier than it is.
25
+
26
+ ## Image
27
+
28
+ Even, soft daylight with low contrast, so a picture holds its own beside black type without overpowering it. Eye-level framing, a single subject with open space around it, and a plain background. Pictures are cropped from the centre to the frame each section sets, so nothing important sits at an edge.
29
+
30
+ ## Creative latitude
31
+
32
+ A generator may choose the setting, the props and the people, but keeps the even light, the eye-level framing, the single subject and the plain background. No text, logos, borders or drop shadows inside a picture.
33
+
34
+ ## Styles
35
+
36
+ None yet: this look's styles arrive with its sample images.
37
+
38
+ ## References
39
+
40
+ ## Layers
41
+
42
+ ## Turned down