create-ailk 0.47.0 → 0.48.0
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.
- package/README.md +180 -43
- package/component-catalog.json +223 -285
- package/component-catalog.md +1 -1
- package/dist/apply-design.d.ts +26 -68
- package/dist/apply-design.js +150 -322
- package/dist/cli.js +152 -17
- package/dist/compare-chrome.d.ts +108 -0
- package/dist/compare-chrome.js +481 -0
- package/dist/compare-look.d.ts +94 -0
- package/dist/compare-look.js +378 -0
- package/dist/copy.js +1 -1
- package/dist/design-compile.d.ts +17 -21
- package/dist/design-compile.js +32 -56
- package/dist/design-files.d.ts +93 -0
- package/dist/design-files.js +312 -0
- package/dist/design-home.d.ts +4 -2
- package/dist/design-home.js +88 -6
- package/dist/design-names.d.ts +13 -0
- package/dist/design-names.js +76 -0
- package/dist/design-package.d.ts +46 -56
- package/dist/design-package.js +285 -288
- package/dist/design-presets.d.ts +41 -0
- package/dist/design-presets.js +83 -4
- package/dist/design-scaffold.d.ts +12 -2
- package/dist/design-scaffold.js +72 -34
- package/dist/generated/design-settings.d.ts +56 -0
- package/dist/generated/design-settings.js +237 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/inventory.d.ts +3 -2
- package/dist/inventory.js +10 -4
- package/dist/lib/design-checks.d.ts +46 -0
- package/dist/lib/design-checks.js +79 -1
- package/dist/lib/env-catalog.js +1 -1
- package/dist/lib/module-license-gate.d.ts +1 -1
- package/dist/lib/module-license-gate.js +1 -1
- package/dist/lib/render-verdict.d.ts +13 -1
- package/dist/lib/render-verdict.js +41 -1
- package/dist/look-hub.d.ts +44 -0
- package/dist/look-hub.js +130 -0
- package/dist/look-record.d.ts +35 -0
- package/dist/look-record.js +85 -0
- package/dist/look-samples.d.ts +66 -0
- package/dist/look-samples.js +456 -0
- package/dist/look-settings.d.ts +53 -0
- package/dist/look-settings.js +363 -0
- package/dist/module-architecture.js +12 -0
- package/dist/parse-args.d.ts +10 -6
- package/dist/parse-args.js +26 -13
- package/dist/programmatic.d.ts +1 -19
- package/dist/programmatic.js +65 -103
- package/dist/retired-design-bodies.d.ts +29 -0
- package/dist/retired-design-bodies.js +51 -0
- package/dist/seed-flows.d.ts +1 -1
- package/dist/seed-flows.js +12 -14
- package/dist/seed-workspace.d.ts +4 -1
- package/dist/seed-workspace.js +139 -17
- package/dist/site-chrome.d.ts +41 -41
- package/dist/site-chrome.js +50 -70
- package/dist/site-fonts.d.ts +10 -14
- package/dist/site-fonts.js +5 -1
- package/dist/starter-grid.d.ts +2 -2
- package/dist/strip-look-copies.d.ts +67 -0
- package/dist/strip-look-copies.js +591 -0
- package/dist/template-manifest.d.ts +6 -14
- package/dist/template-manifest.js +0 -9
- package/dist/template-record.d.ts +3 -1
- package/dist/template-record.js +3 -1
- package/dist/topology.d.ts +15 -0
- package/dist/topology.js +60 -0
- package/dist/update.d.ts +57 -1
- package/dist/update.js +742 -13
- package/package.json +3 -4
- package/site-templates/aliases/hub.TEMPLATE-MANIFEST.json +2 -31
- package/site-templates/designs/minimalism/DESIGN.md +163 -297
- package/site-templates/designs/minimalism/LOOK.md +42 -0
- package/site-templates/designs/minimalism/design.yaml +167 -0
- package/site-templates/designs/standard/DESIGN.md +145 -149
- package/site-templates/designs/standard/LOOK.md +42 -0
- package/site-templates/designs/standard/design.yaml +72 -0
- package/site-templates/marketing-site/TEMPLATE-MANIFEST.json +2 -31
- package/site-templates/marketing-site/TEMPLATE-MANIFEST.md +1 -25
- package/site-templates/marketing-site-free/TEMPLATE-MANIFEST.json +2 -31
- package/site-templates/marketing-site-free/TEMPLATE-MANIFEST.md +1 -25
- package/site-templates/shapes/local-business-service/TEMPLATE-MANIFEST.json +2 -31
- package/site-templates/shapes/local-business-service/TEMPLATE-MANIFEST.md +1 -25
- package/site-templates/shapes/organization-service/TEMPLATE-MANIFEST.json +2 -31
- package/site-templates/shapes/organization-service/TEMPLATE-MANIFEST.md +1 -25
- package/site-templates/shapes/person-service/TEMPLATE-MANIFEST.json +2 -31
- package/site-templates/shapes/person-service/TEMPLATE-MANIFEST.md +1 -25
- package/site-templates/shapes/person-service/content/_site.mdx +0 -26
- package/templates/.claude/rules/extending.md +3 -2
- package/templates/.env.example +11 -4
- package/templates/CLAUDE.md +1 -1
- package/templates/DESIGN.md +145 -149
- package/templates/README.md +15 -16
- package/templates/apps/api/.env.example +11 -4
- package/templates/apps/api/CLAUDE.md +6 -4
- package/templates/apps/api/src/lib/__mocks__/prisma.ts +15 -5
- package/templates/apps/mcp/CLAUDE.md +4 -2
- package/templates/apps/web/.env.example +10 -3
- package/templates/apps/web/CLAUDE.md +14 -3
- package/templates/apps/web/app/[locale]/layout.tsx +53 -50
- package/templates/apps/web/app/not-found.tsx +11 -11
- package/templates/apps/web/auth.ts +48 -35
- package/templates/apps/web/jest.config.cjs +5 -0
- package/templates/apps/web/lib/__tests__/hub-site-config.test.ts +179 -31
- package/templates/apps/web/lib/__tests__/library-fonts.test.ts +35 -0
- package/templates/apps/web/lib/__tests__/page-chrome-navigation.test.ts +71 -32
- package/templates/apps/web/lib/__tests__/page-chrome.test.ts +123 -26
- package/templates/apps/web/lib/__tests__/section-look.test.ts +150 -0
- package/templates/apps/web/lib/__tests__/site-theme.test.ts +81 -289
- package/templates/apps/web/lib/deck-page.ts +3 -10
- package/templates/apps/web/lib/deploy-fonts.ts +12 -0
- package/templates/apps/web/lib/hub-site-config.ts +97 -14
- package/templates/apps/web/lib/library-fonts.ts +41 -0
- package/templates/apps/web/lib/mcp-oauth.ts +11 -4
- package/templates/apps/web/lib/page-chrome.ts +52 -34
- package/templates/apps/web/lib/section-look.ts +28 -0
- package/templates/apps/web/lib/site-design.ts +205 -0
- package/templates/apps/web/lib/site-theme-head.ts +98 -13
- package/templates/apps/web/lib/site-theme.ts +40 -62
- package/templates/apps/web/messages/en.json +0 -6
- package/templates/apps/web/next.config.mjs +195 -6
- package/templates/apps/web/package.json +2 -0
- package/templates/apps/web/site-pages.config.tsx +4 -2
- package/templates/content/_site.mdx +0 -26
- package/templates/design.yaml +75 -0
- package/templates/project.yaml +14 -0
- package/versions.json +52 -51
- package/site-templates/marketing-site/DESIGN.md +0 -259
- package/site-templates/marketing-site-free/DESIGN.md +0 -259
- package/site-templates/saas-product/DESIGN.md +0 -259
- package/templates/apps/web/lib/__tests__/deck-page.test.ts +0 -288
- package/templates/apps/web/lib/__tests__/site-theme-head.test.ts +0 -70
- package/templates/apps/web/lib/site-chrome.ts +0 -46
- 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
|
|
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
|
-
|
|
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
|
-
|
|
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: "
|
|
58
|
+
letterSpacing: "normal"
|
|
59
59
|
rounded:
|
|
60
|
-
|
|
61
|
-
card: "0
|
|
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
|
-
|
|
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
|
-
|
|
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`
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
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
|
-
|
|
166
|
+
### Named Rules
|
|
165
167
|
|
|
166
|
-
The
|
|
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
|
-
|
|
170
|
+
**The One Face Rule.** No second typeface. The owner's fonts arrive through the brand settings, not through a page.
|
|
169
171
|
|
|
170
|
-
|
|
172
|
+
## Layout
|
|
171
173
|
|
|
172
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
182
|
+
## Elevation & Depth
|
|
193
183
|
|
|
194
|
-
|
|
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
|
-
|
|
197
|
-
<!-- generated:end -->
|
|
186
|
+
### Shadow Vocabulary
|
|
198
187
|
|
|
199
|
-
|
|
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
|
-
|
|
190
|
+
### Named Rules
|
|
202
191
|
|
|
203
|
-
|
|
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
|
-
|
|
209
|
-
| ------------------------- | ---------- |
|
|
210
|
-
| `treatments.corners` | `square` |
|
|
211
|
-
| `treatments.eyebrowCase` | `sentence` |
|
|
212
|
-
| `treatments.placeholders` | `fill` |
|
|
213
|
-
| `treatments.checkmarks` | `plain` |
|
|
194
|
+
## Shapes
|
|
214
195
|
|
|
215
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
236
|
+
### Footer
|
|
236
237
|
|
|
237
|
-
|
|
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
|
|
252
|
-
- **
|
|
253
|
-
- **
|
|
254
|
-
- **
|
|
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
|
-
|
|
250
|
+
### Don't:
|
|
257
251
|
|
|
258
|
-
- **
|
|
259
|
-
- **
|
|
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
|