@cogenta/theme-entreprise 1.3.3 → 1.4.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.
@@ -1 +1 @@
1
- {"version":3,"file":"collection-list.d.ts","sourceRoot":"","sources":["../../../../src/render/blocks/collection-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAEL,wBAAwB,EACxB,KAAK,YAAY,EAOjB,KAAK,WAAW,EAIhB,KAAK,aAAa,EAEnB,MAAM,oBAAoB,CAAA;AAG3B;;;;;;GAMG;AACH,OAAO,EAAE,wBAAwB,IAAI,KAAK,EAAE,CAAA;AA+E5C,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,mBAAmB,EAC1B,GAAG,EAAE,aAAa,EAClB,OAAO,EAAE,SAAS,YAAY,EAAE,GAC/B,WAAW,CA0Cb"}
1
+ {"version":3,"file":"collection-list.d.ts","sourceRoot":"","sources":["../../../../src/render/blocks/collection-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAEL,wBAAwB,EACxB,KAAK,YAAY,EAOjB,KAAK,WAAW,EAIhB,KAAK,aAAa,EAEnB,MAAM,oBAAoB,CAAA;AAG3B;;;;;;GAMG;AACH,OAAO,EAAE,wBAAwB,IAAI,KAAK,EAAE,CAAA;AAkG5C,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,mBAAmB,EAC1B,GAAG,EAAE,aAAa,EAClB,OAAO,EAAE,SAAS,YAAY,EAAE,GAC/B,WAAW,CA0Cb"}
@@ -49,14 +49,27 @@ function renderEntry(entry, index, ctx, tag) {
49
49
  // The title is the link, and the arrow sits inline after its last word
50
50
  // inside the same link: a bare arrow on a line of its own reads as a
51
51
  // placeholder, not as a way into the case study.
52
- heading(tag, { class: 'cg-entry__title' }, h('a', { class: 'cg-entry__link', href: url }, h('span', { class: 'cg-entry__link-text' }, entryTitle(entry, ctx)), h('span', { class: 'cg-entry__arrow', 'aria-hidden': 'true' }, arrow()))), excerpt === undefined ? null : h('p', { class: 'cg-entry__excerpt' }, excerpt)));
52
+ heading(tag, { class: 'cg-entry__title' }, h('a', { class: 'cg-entry__link', href: url }, h('span', { class: 'cg-entry__link-text' }, entryTitle(entry, ctx)), h('span', { class: 'cg-entry__arrow', 'aria-hidden': 'true' }, arrow()))), excerpt === undefined ? null : h('p', { class: 'cg-entry__excerpt' }, excerpt), renderKeyFigure(entry)));
53
+ }
54
+ /**
55
+ * The one number a case study is remembered by, when the entry declares it
56
+ * (`keyFigure`, and `keyFigureLabel` for what it measures): set large under
57
+ * the summary, as a result on a data sheet. An entry without it renders
58
+ * exactly as before.
59
+ */
60
+ function renderKeyFigure(entry) {
61
+ const value = entry.keyFigure;
62
+ if (typeof value !== 'string' || value.trim() === '')
63
+ return null;
64
+ const label = typeof entry.keyFigureLabel === 'string' ? entry.keyFigureLabel : undefined;
65
+ return h('p', { class: 'cg-entry__figure' }, h('span', { class: 'cg-entry__figure-value' }, value), label === undefined ? null : h('span', { class: 'cg-entry__figure-label' }, label));
53
66
  }
54
67
  export function renderCollectionList(block, ctx, entries) {
55
68
  const hasTitle = block.title !== undefined;
56
69
  const entryTag = nestedHeadingTag('collectionList', hasTitle);
57
70
  const items = entries.length === 0
58
71
  ? h('p', { class: 'cg-collection__empty' }, ctx.t('collection.empty'))
59
- : h(block.layout === 'list' ? 'ol' : 'ul', { class: 'cg-collection__items', 'data-count': String(Math.min(entries.length, 4)) }, entries.map((entry, index) => renderEntry(entry, index, ctx, entryTag)));
72
+ : h(block.layout === 'list' ? 'ol' : 'ul', { class: 'cg-collection__items', 'data-count': String(entries.length) }, entries.map((entry, index) => renderEntry(entry, index, ctx, entryTag)));
60
73
  return section('section', 'collectionList', 'cg-collection', { 'data-layout': block.layout }, 'div', hasTitle
61
74
  ? h('div', { class: 'cg-head' }, heading(blockHeadingTag('collectionList') ?? 'h2', { class: 'cg-head__title', 'data-field': 'title' }, block.title ?? ''))
62
75
  : null, block.layout === 'carousel' && entries.length > 0
@@ -1 +1 @@
1
- {"version":3,"file":"collection-list.js","sourceRoot":"","sources":["../../../../src/render/blocks/collection-list.ts"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EACf,wBAAwB,EAExB,SAAS,EACT,YAAY,EACZ,SAAS,EACT,UAAU,EACV,UAAU,EAGV,CAAC,EACD,OAAO,EACP,gBAAgB,EAEhB,iBAAiB,GAClB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEjE;;;;;;GAMG;AACH,OAAO,EAAE,wBAAwB,IAAI,KAAK,EAAE,CAAA;AAE5C;;;;;;;;;;;;;;;GAeG;AACH,SAAS,aAAa,CAAC,KAAmB,EAAE,GAAkB,EAAE,GAAW;IACzE,MAAM,OAAO,GAAG,UAAU,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;IACtC,IAAI,OAAO,KAAK,SAAS;QAAE,OAAO,IAAI,CAAA;IACtC,OAAO,CAAC,CACN,GAAG,EACH,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,EAC9E,iBAAiB,CAAC,OAAO,EAAE;QACzB,SAAS,EAAE,iBAAiB;QAC5B,OAAO,EAAE,MAAM;QACf,KAAK,EAAE,gCAAgC;KACxC,CAAC,CACH,CAAA;AACH,CAAC;AAED,SAAS,WAAW,CAClB,KAAmB,EACnB,KAAa,EACb,GAAkB,EAClB,GAAe;IAEf,MAAM,GAAG,GAAG,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;IACjC,MAAM,OAAO,GAAG,YAAY,CAAC,KAAK,CAAC,CAAA;IACnC,uEAAuE;IACvE,2EAA2E;IAC3E,2CAA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AC,CAAC,CACC,KAAK,EACL,EAAE,KAAK,EAAE,SAAS,EAAE,EACpB,OAAO,CACL,eAAe,CAAC,gBAAgB,CAAC,IAAI,IAAI,EACzC,EAAE,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,OAAO,EAAE,EAClD,KAAK,CAAC,KAAK,IAAI,EAAE,CAClB,CACF;QACH,CAAC,CAAC,IAAI,EACR,KAAK,CAAC,MAAM,KAAK,UAAU,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC;QAC/C,CAAC,CAAC,CAAC,CACC,KAAK,EACL;YACE,KAAK,EAAE,yBAAyB;YAChC,IAAI,EAAE,QAAQ;YACd,YAAY,EAAE,KAAK,CAAC,KAAK,IAAI,GAAG,CAAC,CAAC,CAAC,qBAAqB,CAAC;YACzD,QAAQ,EAAE,GAAG;SACd,EACD,KAAK,CACN;QACH,CAAC,CAAC,KAAK,CACV,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"collection-list.js","sourceRoot":"","sources":["../../../../src/render/blocks/collection-list.ts"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EACf,wBAAwB,EAExB,SAAS,EACT,YAAY,EACZ,SAAS,EACT,UAAU,EACV,UAAU,EAGV,CAAC,EACD,OAAO,EACP,gBAAgB,EAEhB,iBAAiB,GAClB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEjE;;;;;;GAMG;AACH,OAAO,EAAE,wBAAwB,IAAI,KAAK,EAAE,CAAA;AAE5C;;;;;;;;;;;;;;;GAeG;AACH,SAAS,aAAa,CAAC,KAAmB,EAAE,GAAkB,EAAE,GAAW;IACzE,MAAM,OAAO,GAAG,UAAU,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;IACtC,IAAI,OAAO,KAAK,SAAS;QAAE,OAAO,IAAI,CAAA;IACtC,OAAO,CAAC,CACN,GAAG,EACH,EAAE,KAAK,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gB,EAAE,YAAY,EAAE,OAAO,EAAE,EAClD,KAAK,CAAC,KAAK,IAAI,EAAE,CAClB,CACF;QACH,CAAC,CAAC,IAAI,EACR,KAAK,CAAC,MAAM,KAAK,UAAU,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC;QAC/C,CAAC,CAAC,CAAC,CACC,KAAK,EACL;YACE,KAAK,EAAE,yBAAyB;YAChC,IAAI,EAAE,QAAQ;YACd,YAAY,EAAE,KAAK,CAAC,KAAK,IAAI,GAAG,CAAC,CAAC,CAAC,qBAAqB,CAAC;YACzD,QAAQ,EAAE,GAAG;SACd,EACD,KAAK,CACN;QACH,CAAC,CAAC,KAAK,CACV,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cogenta/theme-entreprise",
3
- "version": "1.3.3",
3
+ "version": "1.4.0",
4
4
  "description": "A management consultancy theme for Cogenta: an editorial twelve-column grid, Newsreader and Hanken Grotesk, hairlines instead of boxes, a designed dark mode, and zero client JavaScript.",
5
5
  "license": "MPL-2.0",
6
6
  "type": "module",
@@ -36,9 +36,9 @@
36
36
  "directory": "packages/theme-entreprise"
37
37
  },
38
38
  "dependencies": {
39
- "@cogenta/render": "0.3.5",
40
- "@cogenta/blocks": "1.1.3",
41
- "@cogenta/theme-kit": "0.5.3"
39
+ "@cogenta/render": "0.3.6",
40
+ "@cogenta/blocks": "1.1.4",
41
+ "@cogenta/theme-kit": "0.5.4"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "astro": "^7.2.1"
@@ -100,10 +100,29 @@ function renderEntry(
100
100
  ),
101
101
  ),
102
102
  excerpt === undefined ? null : h('p', { class: 'cg-entry__excerpt' }, excerpt),
103
+ renderKeyFigure(entry),
103
104
  ),
104
105
  )
105
106
  }
106
107
 
108
+ /**
109
+ * The one number a case study is remembered by, when the entry declares it
110
+ * (`keyFigure`, and `keyFigureLabel` for what it measures): set large under
111
+ * the summary, as a result on a data sheet. An entry without it renders
112
+ * exactly as before.
113
+ */
114
+ function renderKeyFigure(entry: ContentEntry): HtmlElement | null {
115
+ const value = entry.keyFigure
116
+ if (typeof value !== 'string' || value.trim() === '') return null
117
+ const label = typeof entry.keyFigureLabel === 'string' ? entry.keyFigureLabel : undefined
118
+ return h(
119
+ 'p',
120
+ { class: 'cg-entry__figure' },
121
+ h('span', { class: 'cg-entry__figure-value' }, value),
122
+ label === undefined ? null : h('span', { class: 'cg-entry__figure-label' }, label),
123
+ )
124
+ }
125
+
107
126
  export function renderCollectionList(
108
127
  block: CollectionListBlock,
109
128
  ctx: RenderContext,
@@ -116,7 +135,7 @@ export function renderCollectionList(
116
135
  ? h('p', { class: 'cg-collection__empty' }, ctx.t('collection.empty'))
117
136
  : h(
118
137
  block.layout === 'list' ? 'ol' : 'ul',
119
- { class: 'cg-collection__items', 'data-count': String(Math.min(entries.length, 4)) },
138
+ { class: 'cg-collection__items', 'data-count': String(entries.length) },
120
139
  entries.map((entry, index) => renderEntry(entry, index, ctx, entryTag)),
121
140
  )
122
141
 
@@ -17,6 +17,7 @@
17
17
  list-style: none;
18
18
  font-size: var(--cg-text-xs);
19
19
  font-weight: var(--cg-weight-medium);
20
+ font-family: var(--cg-font-label);
20
21
  letter-spacing: var(--cg-tracking-label);
21
22
  text-transform: uppercase;
22
23
  }
@@ -105,6 +106,7 @@
105
106
  .cg-index__date {
106
107
  font-size: var(--cg-text-xs);
107
108
  font-weight: var(--cg-weight-medium);
109
+ font-family: var(--cg-font-label);
108
110
  letter-spacing: var(--cg-tracking-label);
109
111
  text-transform: uppercase;
110
112
  font-variant-numeric: lining-nums tabular-nums;
@@ -54,7 +54,7 @@ img {
54
54
 
55
55
  :where(h1, h2, h3, h4, h5, h6) {
56
56
  font-family: var(--cg-font-display);
57
- font-weight: var(--cg-weight-regular);
57
+ font-weight: var(--cg-weight-display);
58
58
  line-height: var(--cg-leading-heading);
59
59
  letter-spacing: var(--cg-tracking-heading);
60
60
  text-wrap: balance;
@@ -66,6 +66,7 @@
66
66
  list-style: none;
67
67
  font-size: var(--cg-text-xs);
68
68
  font-weight: var(--cg-weight-medium);
69
+ font-family: var(--cg-font-label);
69
70
  letter-spacing: var(--cg-tracking-label);
70
71
  text-transform: uppercase;
71
72
  color: var(--cg-ink-muted);
@@ -139,7 +140,12 @@
139
140
 
140
141
  /* --------------------------------------------------------------------------
141
142
  hero
142
- -------------------------------------------------------------------------- */
143
+ --------------------------------------------------------------------------
144
+
145
+ With a photograph, the hero is the photograph: full bleed under the
146
+ header, the title set in paper colour at the bottom of the frame over one
147
+ flat ink veil (a uniform tint, never a gradient), subtitle and actions
148
+ beneath it. Without one, a typographic hero on the grid. */
143
149
 
144
150
  .cg-hero__inner {
145
151
  row-gap: var(--cg-s10);
@@ -153,30 +159,33 @@
153
159
  margin: 0 0 var(--cg-s8);
154
160
  font-size: var(--cg-text-xs);
155
161
  font-weight: var(--cg-weight-medium);
162
+ font-family: var(--cg-font-label);
156
163
  letter-spacing: var(--cg-tracking-label);
157
164
  text-transform: uppercase;
158
165
  color: var(--cg-ink-muted);
159
166
  }
160
167
 
168
+ /* A square marker, the signal of a healthy reading, rather than a rule. */
161
169
  .cg-hero__eyebrow::before {
162
170
  content: "";
163
171
  flex: none;
164
- inline-size: var(--cg-s8);
165
- block-size: var(--cg-rule);
172
+ inline-size: 0.5rem;
173
+ block-size: 0.5rem;
166
174
  background: var(--cg-accent);
167
175
  }
168
176
 
169
177
  .cg-hero__title {
170
178
  max-inline-size: 17ch;
171
179
  font-size: var(--cg-size-display);
172
- font-weight: var(--cg-weight-regular);
180
+ font-weight: var(--cg-weight-display);
173
181
  line-height: var(--cg-leading-display);
174
182
  letter-spacing: var(--cg-tracking-display);
183
+ text-wrap: balance;
175
184
  }
176
185
 
177
186
  .cg-hero__subtitle {
178
187
  margin: 0;
179
- max-inline-size: 38ch;
188
+ max-inline-size: 42ch;
180
189
  font-size: var(--cg-size-lead);
181
190
  line-height: 1.45;
182
191
  color: var(--cg-ink-muted);
@@ -192,6 +201,78 @@
192
201
  object-fit: cover;
193
202
  }
194
203
 
204
+ .cg-hero[data-media="present"] {
205
+ position: relative;
206
+ isolation: isolate;
207
+ display: flex;
208
+ align-items: flex-end;
209
+ min-block-size: min(86svh, 54rem);
210
+ padding-block: var(--cg-s32) clamp(var(--cg-s12), 7vw, var(--cg-s20));
211
+ color: var(--cg-band-ink);
212
+ background: var(--cg-band);
213
+ }
214
+
215
+ :is(.cg-main, .cg-sidebar-layout__content) > .cg-hero[data-media="present"]:first-child {
216
+ padding-block-start: var(--cg-s32);
217
+ }
218
+
219
+ .cg-hero[data-media="present"] .cg-hero__inner {
220
+ inline-size: 100%;
221
+ }
222
+
223
+ .cg-hero[data-media="present"] .cg-hero__media {
224
+ position: absolute;
225
+ inset: 0;
226
+ z-index: -1;
227
+ }
228
+
229
+ .cg-hero[data-media="present"] .cg-hero__media::after {
230
+ content: "";
231
+ position: absolute;
232
+ inset: 0;
233
+ background: color-mix(in oklab, var(--cg-band) 60%, transparent);
234
+ }
235
+
236
+ .cg-hero[data-media="present"] .cg-hero__image {
237
+ block-size: 100%;
238
+ aspect-ratio: auto;
239
+ }
240
+
241
+ .cg-hero[data-media="present"] .cg-hero__eyebrow {
242
+ color: var(--cg-band-muted);
243
+ }
244
+
245
+ /* Over a photograph, the lead keeps the paper colour: a muted tone on a
246
+ busy picture is where contrast is lost first. */
247
+ .cg-hero[data-media="present"] .cg-hero__subtitle {
248
+ color: var(--cg-band-ink);
249
+ }
250
+
251
+ .cg-hero[data-media="present"] .cg-hero__title {
252
+ color: var(--cg-band-ink);
253
+ }
254
+
255
+ .cg-hero[data-media="present"] .cg-action[data-emphasis="primary"] {
256
+ background: var(--cg-band-ink);
257
+ border-color: var(--cg-band-ink);
258
+ color: var(--cg-band);
259
+ }
260
+
261
+ .cg-hero[data-media="present"] .cg-action[data-emphasis="primary"]:hover {
262
+ background: var(--cg-accent);
263
+ border-color: var(--cg-accent);
264
+ color: var(--cg-accent-fg);
265
+ }
266
+
267
+ .cg-hero[data-media="present"] .cg-action[data-emphasis="secondary"] {
268
+ color: var(--cg-band-ink);
269
+ text-decoration-color: var(--cg-band-muted);
270
+ }
271
+
272
+ .cg-hero[data-media="present"] :focus-visible {
273
+ outline-color: var(--cg-band-ink);
274
+ }
275
+
195
276
  @media (min-width: 64rem) {
196
277
  .cg-hero__inner {
197
278
  row-gap: var(--cg-s16);
@@ -219,6 +300,18 @@
219
300
  grid-column: 6 / span 6;
220
301
  align-self: start;
221
302
  }
303
+
304
+ .cg-hero[data-media="present"] .cg-hero__inner {
305
+ row-gap: var(--cg-s10);
306
+ }
307
+
308
+ .cg-hero[data-media="present"] .cg-hero__intro {
309
+ grid-column: 1 / span 10;
310
+ }
311
+
312
+ .cg-hero[data-media="present"] .cg-hero__aside {
313
+ grid-column: 1 / span 6;
314
+ }
222
315
  }
223
316
 
224
317
  /* --------------------------------------------------------------------------
@@ -245,6 +338,7 @@
245
338
  padding-block: var(--cg-s6) 0;
246
339
  font-size: var(--cg-text-xs);
247
340
  font-weight: var(--cg-weight-medium);
341
+ font-family: var(--cg-font-label);
248
342
  letter-spacing: var(--cg-tracking-label);
249
343
  text-transform: uppercase;
250
344
  color: var(--cg-ink-muted);
@@ -266,16 +360,14 @@
266
360
 
267
361
  @media (min-width: 64rem) {
268
362
  .cg-logo-strip__caption {
269
- grid-column: 1 / span 2;
363
+ grid-column: 1 / -1;
270
364
  grid-row: 2;
271
- align-self: center;
272
- padding-block: 0;
273
- max-inline-size: 12ch;
365
+ padding-block: var(--cg-s6) 0;
274
366
  }
275
367
 
276
368
  .cg-logo-strip__items {
277
- grid-column: 3 / -1;
278
- grid-row: 2;
369
+ grid-column: 1 / -1;
370
+ grid-row: 3;
279
371
  grid-template-columns: none;
280
372
  grid-auto-flow: column;
281
373
  grid-auto-columns: minmax(0, 1fr);
@@ -373,10 +465,22 @@
373
465
  stats: one typographic row between vertical rules.
374
466
  -------------------------------------------------------------------------- */
375
467
 
468
+ /* An instrument panel: the one ink band of the middle of a page. */
469
+ .cg-stats {
470
+ padding-block: calc(var(--cg-section) * 0.6) calc(var(--cg-section) * 0.45);
471
+ background: var(--cg-band);
472
+ color: var(--cg-band-ink);
473
+ --cg-line: var(--cg-band-line);
474
+ }
475
+
376
476
  .cg-stats .cg-head {
377
477
  margin-block-end: var(--cg-s8);
378
478
  }
379
479
 
480
+ .cg-stats .cg-head__title {
481
+ color: var(--cg-band-ink);
482
+ }
483
+
380
484
  .cg-stats__items {
381
485
  display: grid;
382
486
  grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -408,24 +512,29 @@
408
512
  .cg-stat__value {
409
513
  font-family: var(--cg-font-display);
410
514
  font-size: var(--cg-size-figure);
411
- font-weight: var(--cg-weight-light);
515
+ font-weight: var(--cg-weight-display);
412
516
  line-height: 1;
413
517
  letter-spacing: -0.02em;
414
518
  font-variant-numeric: lining-nums tabular-nums;
415
- color: var(--cg-ink);
519
+ color: var(--cg-band-ink);
416
520
  }
417
521
 
418
522
  .cg-stat__unit {
419
- margin-inline-start: 0.06em;
420
- font-size: 0.62em;
523
+ margin-inline-start: 0.3em;
524
+ font-family: var(--cg-font-label);
525
+ font-size: 0.42em;
421
526
  letter-spacing: 0;
527
+ color: color-mix(in oklab, var(--cg-accent) 45%, var(--cg-band-ink));
422
528
  }
423
529
 
424
530
  .cg-stat__label {
425
531
  max-inline-size: 24ch;
426
- font-size: var(--cg-text-sm);
427
- line-height: 1.45;
428
- color: var(--cg-ink-muted);
532
+ font-family: var(--cg-font-label);
533
+ font-size: var(--cg-text-xs);
534
+ line-height: 1.5;
535
+ letter-spacing: var(--cg-tracking-label);
536
+ text-transform: uppercase;
537
+ color: var(--cg-band-muted);
429
538
  }
430
539
 
431
540
  @media (min-width: 64rem) {
@@ -473,7 +582,7 @@
473
582
  .cg-counter__value {
474
583
  font-family: var(--cg-font-display);
475
584
  font-size: var(--cg-size-figure);
476
- font-weight: var(--cg-weight-light);
585
+ font-weight: var(--cg-weight-display);
477
586
  line-height: 1;
478
587
  letter-spacing: -0.02em;
479
588
  font-variant-numeric: lining-nums tabular-nums;
@@ -520,6 +629,7 @@
520
629
  margin: 0 0 var(--cg-s3);
521
630
  font-size: var(--cg-text-xs);
522
631
  font-weight: var(--cg-weight-medium);
632
+ font-family: var(--cg-font-label);
523
633
  letter-spacing: var(--cg-tracking-label);
524
634
  text-transform: uppercase;
525
635
  font-variant-numeric: lining-nums tabular-nums;
@@ -709,6 +819,36 @@
709
819
  }
710
820
  }
711
821
 
822
+ /* A case study's key figure: the result, set as a reading on a data sheet. */
823
+ .cg-entry__figure {
824
+ display: flex;
825
+ flex-wrap: wrap;
826
+ align-items: baseline;
827
+ gap: var(--cg-s2) var(--cg-s4);
828
+ margin: var(--cg-s6) 0 0;
829
+ padding-block-start: var(--cg-s4);
830
+ border-block-start: var(--cg-rule) solid var(--cg-line);
831
+ }
832
+
833
+ .cg-entry__figure-value {
834
+ font-size: var(--cg-size-heading);
835
+ font-weight: var(--cg-weight-display);
836
+ line-height: 1;
837
+ letter-spacing: var(--cg-tracking-heading);
838
+ font-variant-numeric: lining-nums tabular-nums;
839
+ color: var(--cg-accent);
840
+ }
841
+
842
+ .cg-entry__figure-label {
843
+ max-inline-size: 26ch;
844
+ font-family: var(--cg-font-label);
845
+ font-size: var(--cg-text-xs);
846
+ line-height: 1.5;
847
+ letter-spacing: var(--cg-tracking-label);
848
+ text-transform: uppercase;
849
+ color: var(--cg-ink-muted);
850
+ }
851
+
712
852
  /* carousel: the grid's item, in a scroll-snapping row. */
713
853
  .cg-collection__viewport,
714
854
  .cg-gallery__viewport {
@@ -742,7 +882,7 @@
742
882
  .cg-pullquote__quote {
743
883
  font-family: var(--cg-font-display);
744
884
  font-size: var(--cg-size-quote);
745
- font-weight: var(--cg-weight-light);
885
+ font-weight: var(--cg-weight-display);
746
886
  line-height: 1.18;
747
887
  letter-spacing: -0.012em;
748
888
  color: var(--cg-ink);
@@ -1280,7 +1420,7 @@ details[open] > summary .cg-toggle-mark::after {
1280
1420
  }
1281
1421
 
1282
1422
  .cg-figure[data-align="wide"] .cg-figure__media {
1283
- grid-column: 1 / span 9;
1423
+ grid-column: 1 / -1;
1284
1424
  grid-row: 1;
1285
1425
  }
1286
1426
 
@@ -1294,7 +1434,6 @@ details[open] > summary .cg-toggle-mark::after {
1294
1434
  grid-row: 1;
1295
1435
  }
1296
1436
 
1297
- .cg-figure[data-align="wide"] .cg-figure__caption,
1298
1437
  .cg-figure[data-align="start"] .cg-figure__caption,
1299
1438
  .cg-figure[data-align="end"] .cg-figure__caption {
1300
1439
  grid-row: 1;
@@ -1304,7 +1443,8 @@ details[open] > summary .cg-toggle-mark::after {
1304
1443
  }
1305
1444
 
1306
1445
  .cg-figure[data-align="wide"] .cg-figure__caption {
1307
- grid-column: 10 / -1;
1446
+ grid-column: 1 / span 7;
1447
+ grid-row: 2;
1308
1448
  }
1309
1449
 
1310
1450
  .cg-figure[data-align="start"] .cg-figure__caption {
@@ -1498,7 +1638,7 @@ details[open] > summary .cg-toggle-mark::after {
1498
1638
  .cg-pricing__amount {
1499
1639
  font-family: var(--cg-font-display);
1500
1640
  font-size: var(--cg-size-heading);
1501
- font-weight: var(--cg-weight-light);
1641
+ font-weight: var(--cg-weight-display);
1502
1642
  line-height: 1;
1503
1643
  letter-spacing: -0.02em;
1504
1644
  font-variant-numeric: lining-nums tabular-nums;
@@ -1599,6 +1739,7 @@ details[open] > summary .cg-toggle-mark::after {
1599
1739
  margin: 0;
1600
1740
  font-size: var(--cg-text-xs);
1601
1741
  font-weight: var(--cg-weight-medium);
1742
+ font-family: var(--cg-font-label);
1602
1743
  letter-spacing: var(--cg-tracking-label);
1603
1744
  text-transform: uppercase;
1604
1745
  color: var(--cg-ink-muted);
@@ -13,15 +13,15 @@
13
13
  * a skin token or from a `--cg-*` property composed from those.
14
14
  *
15
15
  * The one thing this file adds on its own is the Google Fonts request for the
16
- * two families `tokens.json` names: Newsreader (display and headings, with
17
- * its optical-size axis, so a 13 px caption and an 80 px title each get the
18
- * cut drawn for them) and Hanken Grotesk (text and interface). A skin only
16
+ * two families `tokens.json` names: Geist (display, headings, text and
17
+ * interface, on one variable weight axis) and Geist Mono (labels, indices,
18
+ * figures and captions, the register of an engineering document). A skin only
19
19
  * names a family; it never fetches one. Both fall back to real system stacks
20
20
  * if Google Fonts is unreachable, and `display=swap` keeps text visible while
21
21
  * they load. `cogenta serve` hoists this `@import` above the skin's rules.
22
22
  */
23
23
 
24
- @import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300..700;1,400&family=Newsreader:ital,opsz,wght@0,6..72,300..600;1,6..72,300..500&display=swap");
24
+ @import url("https://fonts.googleapis.com/css2?family=Geist:wght@300..700&family=Geist+Mono:wght@400..600&display=swap");
25
25
 
26
26
  @import "./tokens.css";
27
27
  @import "./base.css";
@@ -1,11 +1,12 @@
1
1
  /*
2
2
  * `@cogenta/theme-entreprise`'s design system.
3
3
  *
4
- * The register is a management consultancy's: institutional restraint,
5
- * generous whitespace, editorial confidence. Neutrals carry the page (a cool
6
- * ivory paper and a blue-black ink), one deep green accent is spent rarely
7
- * (links, the eyebrow rule, one bar in an exhibit), and depth comes from
8
- * hairlines and space, never from shadows or tinted boxes.
4
+ * The register is an engineering company's: precise, factual, quietly
5
+ * technical. Neutrals carry the page (a cool grey paper and a blue-black ink),
6
+ * one signal green is spent rarely (links, markers, one bar in a chart), and
7
+ * depth comes from hairlines, full-bleed photographs and ink bands, never from
8
+ * shadows or tinted boxes. Labels, indices and figures are set in a monospace,
9
+ * as on a drawing or a data sheet.
9
10
  *
10
11
  * Contract D fixes a closed skin token set, so nothing here adds a token:
11
12
  * every value is derived from a `--cogenta-*` property (`calc`,
@@ -91,13 +92,14 @@
91
92
  }
92
93
 
93
94
  /* --------------------------------------------------------------------------
94
- Type: Newsreader for display and headings, Hanken Grotesk for text and
95
- interface. The skin names both; the theme only decides where each goes.
95
+ Type: Geist for display, headings and text, Geist Mono for labels, indices
96
+ and figures. The skin names both; the theme only decides where each goes.
96
97
  -------------------------------------------------------------------------- */
97
98
 
98
99
  :where(:root) {
99
100
  --cg-font-display: var(--cogenta-font-serif);
100
101
  --cg-font-text: var(--cogenta-font-sans);
102
+ --cg-font-label: var(--cogenta-font-mono);
101
103
 
102
104
  --cg-text-xs: var(--cogenta-font-size-xs, 0.68rem);
103
105
  --cg-text-sm: var(--cogenta-font-size-sm, 0.85rem);
@@ -123,19 +125,21 @@
123
125
  --cg-size-figure: clamp(var(--cg-text-3xl), calc(1rem + 3vw), var(--cg-text-5xl));
124
126
  --cg-size-lead: clamp(var(--cg-text-lg), calc(0.9rem + 0.6vw), var(--cg-text-xl));
125
127
 
126
- --cg-leading-display: 1.02;
127
- --cg-leading-heading: 1.1;
128
+ --cg-leading-display: 0.98;
129
+ --cg-leading-heading: 1.08;
128
130
  --cg-leading-snug: 1.3;
129
131
  --cg-leading-text: 1.62;
130
132
 
131
- --cg-tracking-display: -0.022em;
132
- --cg-tracking-heading: -0.014em;
133
- --cg-tracking-label: 0.08em;
133
+ --cg-tracking-display: -0.042em;
134
+ --cg-tracking-heading: -0.03em;
135
+ --cg-tracking-label: 0.04em;
134
136
 
135
137
  --cg-weight-light: 350;
136
138
  --cg-weight-regular: 400;
137
139
  --cg-weight-medium: 500;
138
140
  --cg-weight-semibold: 600;
141
+ /* Display and headings: a grotesk reads confident at medium, not light. */
142
+ --cg-weight-display: 500;
139
143
  }
140
144
 
141
145
  /* --------------------------------------------------------------------------
@@ -310,7 +310,7 @@
310
310
  color: var(--cg-ink);
311
311
  font-family: var(--cg-font-display);
312
312
  font-size: calc((var(--cg-text-md) + var(--cg-text-lg)) / 2);
313
- font-weight: var(--cg-weight-regular);
313
+ font-weight: var(--cg-weight-display);
314
314
  line-height: 1.22;
315
315
  letter-spacing: -0.006em;
316
316
  text-decoration-color: transparent;
@@ -345,6 +345,7 @@
345
345
  color: var(--cg-ink-subtle);
346
346
  font-size: var(--cg-text-xs);
347
347
  font-weight: var(--cg-weight-medium);
348
+ font-family: var(--cg-font-label);
348
349
  letter-spacing: var(--cg-tracking-label);
349
350
  text-transform: uppercase;
350
351
  font-variant-numeric: lining-nums tabular-nums;
@@ -664,7 +665,7 @@
664
665
  color: var(--cg-band-ink);
665
666
  font-family: var(--cg-font-display);
666
667
  font-size: var(--cg-text-xl);
667
- font-weight: var(--cg-weight-regular);
668
+ font-weight: var(--cg-weight-display);
668
669
  line-height: 1.15;
669
670
  letter-spacing: var(--cg-tracking-heading);
670
671
  text-wrap: pretty;
@@ -829,7 +830,7 @@
829
830
  border-block-start-color: var(--cg-line);
830
831
  font-family: var(--cg-font-display);
831
832
  font-size: var(--cg-size-subheading);
832
- font-weight: var(--cg-weight-regular);
833
+ font-weight: var(--cg-weight-display);
833
834
  line-height: var(--cg-leading-heading);
834
835
  letter-spacing: var(--cg-tracking-heading);
835
836
  text-transform: none;
package/tokens.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "color": {
3
- "bg": "#f5f5f0",
4
- "fg": "#0f1a24",
5
- "accent": "#174a3a",
3
+ "bg": "#f4f4f2",
4
+ "fg": "#0c0f14",
5
+ "accent": "#087044",
6
6
  "accentFg": "#ffffff",
7
- "muted": "#e9e9e2",
8
- "mutedFg": "#4a535b",
9
- "border": "#d6d6ce"
7
+ "muted": "#e8e8e4",
8
+ "mutedFg": "#4b525a",
9
+ "border": "#d7d8d3"
10
10
  },
11
11
  "font": {
12
- "sans": "'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif",
13
- "serif": "'Newsreader', ui-serif, Georgia, Cambria, 'Times New Roman', serif",
14
- "mono": "ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace",
12
+ "sans": "'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif",
13
+ "serif": "'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif",
14
+ "mono": "'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace",
15
15
  "scale": 1.25,
16
- "baseSize": "1.0625rem"
16
+ "baseSize": "1rem"
17
17
  },
18
18
  "space": {
19
19
  "unit": "0.25rem",
@@ -30,7 +30,7 @@
30
30
  "reduced": true
31
31
  },
32
32
  "shadow": {
33
- "sm": "0 1px 0 rgba(15, 26, 36, 0.06)",
34
- "md": "0 8px 24px rgba(15, 26, 36, 0.12)"
33
+ "sm": "0 1px 0 rgba(12, 15, 20, 0.06)",
34
+ "md": "0 8px 24px rgba(12, 15, 20, 0.12)"
35
35
  }
36
36
  }