@atomic-ui/theme 0.13.2 → 0.15.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,5 +1,5 @@
1
1
  /*
2
- * The typefaces of Impakt's redesign, @atomic-ui/theme version 0.13.2.
2
+ * The typefaces of Impakt's redesign, @atomic-ui/theme version 0.15.0.
3
3
  * Archivo, IBM Plex Mono and Kalam, Latin, WOFF2, licensed under the SIL Open Font License 1.1.
4
4
  * The licences are fonts/OFL-Archivo.txt, fonts/OFL-IBM-Plex-Mono.txt and fonts/OFL-Kalam.txt.
5
5
  *
package/dist/theme.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Impakt product theme, @atomic-ui/theme version 0.13.2.
2
+ * Impakt product theme, @atomic-ui/theme version 0.15.0.
3
3
  * https://github.com/matthill8286/impkt-design-system/tree/main/packages/theme
4
4
  *
5
5
  * Generated from the Impakt brand inputs by @atomic-ui/design-tokens. Do not edit this file:
@@ -55,6 +55,7 @@
55
55
  --impakt-color-text-default: #111111;
56
56
  --impakt-color-text-muted: #5C5C5C;
57
57
  --impakt-color-text-placeholder: #5C5C5C;
58
+ --impakt-color-text-muted-on-subtle: #5C5C5C;
58
59
  --impakt-color-text-on-brand: #ffffff;
59
60
  --impakt-color-text-on-header: #111111;
60
61
  --impakt-color-text-on-footer: #111111;
@@ -395,6 +396,14 @@
395
396
  --impakt-tile-caption-line-height: 1.45;
396
397
  --impakt-card-edge: 100%;
397
398
  --impakt-stage-tag-radius: 3px;
399
+ --impakt-journey-margin-note: none;
400
+ --impakt-section-head-l-phone-size: 2.25rem;
401
+ --impakt-section-head-l-phone-line-height: 1.04;
402
+ --impakt-stat-row-label-width: 230px;
403
+ --impakt-faq-question-size: 1.5rem;
404
+ --impakt-faq-question-phone-min-height: 75px;
405
+ --impakt-faq-marker-align: center;
406
+ --impakt-faq-marker-first-line: 0;
398
407
  --impakt-filter-chip-height: 35px;
399
408
  --impakt-filter-chip-weight: 400;
400
409
  --impakt-filter-chip-edge: 100%;
@@ -428,6 +437,27 @@
428
437
  --impakt-accordion-answer-ink: 0%;
429
438
  --impakt-accordion-answer-line-height: 1.6;
430
439
  --impakt-accordion-answer-width: 48rem;
440
+ --impakt-motion-reveal-mode: once;
441
+ --impakt-motion-reveal-arrive: cubic-bezier(0.22, 1, 0.36, 1);
442
+ --impakt-motion-reveal-shape: cubic-bezier(0.65, 0, 0.35, 1);
443
+ --impakt-motion-reveal-stagger: 60ms;
444
+ --impakt-motion-reveal-select-duration: 260ms;
445
+ --impakt-motion-reveal-line-duration: 640ms;
446
+ --impakt-motion-reveal-type-duration: 240ms;
447
+ --impakt-motion-reveal-drop-duration: 420ms;
448
+ --impakt-motion-reveal-drop-distance: 12px;
449
+ --impakt-motion-reveal-count-duration: 900ms;
450
+ --impakt-motion-reveal-mark-duration: 180ms;
451
+ --impakt-motion-reveal-arrow-distance: 4px;
452
+ --impakt-motion-reveal-arrow-duration: 180ms;
453
+ --impakt-motion-reveal-arrow-easing: cubic-bezier(0.22, 1, 0.36, 1);
454
+ --impakt-motion-reveal-link-distance: 4px;
455
+ --impakt-motion-reveal-link-duration: 180ms;
456
+ --impakt-motion-reveal-link-easing: cubic-bezier(0.22, 1, 0.36, 1);
457
+ --impakt-motion-reveal-wipe-from: 0;
458
+ --impakt-motion-reveal-wipe-duration: 180ms;
459
+ --impakt-motion-reveal-wipe-easing: cubic-bezier(0.22, 1, 0.36, 1);
460
+ --impakt-motion-reveal-lead: 60ms;
431
461
  }
432
462
 
433
463
  .impakt-page {
@@ -711,6 +741,7 @@
711
741
  --impakt-color-text-default: #F2F2F0;
712
742
  --impakt-color-text-heading: #F2F2F0;
713
743
  --impakt-color-text-muted: #A8A8A6;
744
+ --impakt-color-text-muted-on-subtle: #A8A8A6;
714
745
  --impakt-color-text-placeholder: #A8A8A6;
715
746
  --impakt-color-text-eyebrow: #A8A8A6;
716
747
  --impakt-color-text-link: #F2F2F0;
@@ -765,6 +796,7 @@
765
796
  --impakt-color-text-default: #F2F2F0;
766
797
  --impakt-color-text-heading: #F2F2F0;
767
798
  --impakt-color-text-muted: #A8A8A6;
799
+ --impakt-color-text-muted-on-subtle: #A8A8A6;
768
800
  --impakt-color-text-placeholder: #A8A8A6;
769
801
  --impakt-color-text-eyebrow: #A8A8A6;
770
802
  --impakt-color-text-link: #F2F2F0;
@@ -1139,6 +1171,22 @@ input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [typ
1139
1171
  }
1140
1172
  }
1141
1173
 
1174
+ /* ------------------------------------------------- reveal once (0.14.0) */
1175
+ /* The reveal set (impkt-web#51) for a page's own markup: what a page marks with data-reveal draws itself in once, as it
1176
+ is reached, when @atomic-ui/ui's startReveal marks it data-motion. Nothing here applies without that mark, so with no
1177
+ script and with reduced motion the page is as it was drawn. "type" types a mono label in: all its words are in the
1178
+ page from the start, and only how much of them shows changes. "drop" drops each child 12px into place, one after
1179
+ another. "count" counts the first number in its words up, drawn over the words, which stay the ones a screen reader
1180
+ reads. The blocks carry their own. */
1181
+ [data-motion="armed"], [data-motion="armed"] > *, [data-motion="armed"]::after { animation-play-state: paused !important; }
1182
+ [data-reveal~="type"][data-motion] { animation: ik-reveal-type var(--impakt-motion-reveal-type-duration, 240ms) var(--impakt-motion-reveal-arrive, cubic-bezier(0.22, 1, 0.36, 1)) var(--ik-reveal-delay, 0ms) both; }
1183
+ [data-reveal~="drop"][data-motion] > * { animation: ik-reveal-drop var(--impakt-motion-reveal-drop-duration, 420ms) var(--impakt-motion-reveal-arrive, cubic-bezier(0.22, 1, 0.36, 1)) calc(var(--ik-reveal-delay, 0ms) + var(--ik-reveal-i, 0) * var(--impakt-motion-reveal-stagger, 60ms)) both; }
1184
+ [data-ik-count][data-count] { position: relative; -webkit-text-fill-color: transparent; }
1185
+ [data-ik-count][data-count]::after { content: attr(data-count); content: attr(data-count) / ""; position: absolute; inset: 0; -webkit-text-fill-color: currentColor; white-space: nowrap; pointer-events: none; }
1186
+ @keyframes ik-reveal-type { from { clip-path: inset(-4px 100% -4px -4px); } to { clip-path: inset(-4px -4px -4px -4px); } }
1187
+ @keyframes ik-reveal-drop { from { translate: 0 calc(-1 * var(--impakt-motion-reveal-drop-distance, 12px)); opacity: 0; } }
1188
+ @media (prefers-reduced-motion: reduce) { [data-motion], [data-motion] > * { animation: none !important; } }
1189
+
1142
1190
  /* --------------------------------------------------------------- header overflow (0.3.0) */
1143
1191
  /* When the controls on the right are wide, the product name shortens with an ellipsis
1144
1192
  instead of running under them, and the controls stay on one row. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomic-ui/theme",
3
- "version": "0.13.2",
3
+ "version": "0.15.0",
4
4
  "description": "The Impakt product theme: one stylesheet and the Archivo and IBM Plex Mono fonts for the plain HTML products, generated from the Impakt brand by @atomic-ui/design-tokens.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  "tsx": "^4.16.0",
23
23
  "typescript": "^5.5.0",
24
24
  "vitest": "^2.0.0",
25
- "@atomic-ui/design-tokens": "^0.13.2"
25
+ "@atomic-ui/design-tokens": "^0.15.0"
26
26
  },
27
27
  "files": [
28
28
  "dist",