@keystone-sites/marketing-design-system 1.0.26 → 2.0.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.
Files changed (204) hide show
  1. package/README.md +47 -67
  2. package/fonts/gt-america-300-italic.woff2 +0 -0
  3. package/fonts/gt-america-300.woff2 +0 -0
  4. package/fonts/gt-america-400-italic.woff2 +0 -0
  5. package/fonts/gt-america-400.woff2 +0 -0
  6. package/fonts/gt-america-500.woff2 +0 -0
  7. package/fonts/gt-america-extended-300.woff2 +0 -0
  8. package/fonts/gt-america-extended-400.woff2 +0 -0
  9. package/fonts/gt-america-extended-500.woff2 +0 -0
  10. package/fonts/gt-america-extended-700.woff2 +0 -0
  11. package/fonts/gt-america-mono-300.woff2 +0 -0
  12. package/fonts/gt-america-mono-500.woff2 +0 -0
  13. package/fonts/pp-kyoto-vf.woff2 +0 -0
  14. package/package.json +46 -203
  15. package/src/base.css +300 -0
  16. package/src/fonts.css +131 -0
  17. package/src/hue.ts +17 -0
  18. package/src/icon.tsx +56 -0
  19. package/src/mark.tsx +14 -0
  20. package/src/motion.ts +123 -0
  21. package/src/parts/chip.css +84 -0
  22. package/src/parts/chip.tsx +40 -0
  23. package/src/parts/composer.css +195 -0
  24. package/src/parts/composer.tsx +220 -0
  25. package/src/parts/cx.ts +2 -0
  26. package/src/parts/faq.css +77 -0
  27. package/src/parts/faq.tsx +25 -0
  28. package/src/parts/footer.css +51 -0
  29. package/src/parts/footer.tsx +27 -0
  30. package/src/parts/nav.css +180 -0
  31. package/src/parts/nav.tsx +101 -0
  32. package/src/parts/photo.css +15 -0
  33. package/src/parts/photo.tsx +24 -0
  34. package/src/parts/plans.css +89 -0
  35. package/src/parts/plans.tsx +56 -0
  36. package/src/parts/prose.css +86 -0
  37. package/src/parts/prose.tsx +49 -0
  38. package/src/parts/shape.css +47 -0
  39. package/src/parts/shape.tsx +68 -0
  40. package/src/parts/split.tsx +49 -0
  41. package/src/parts/stamp.css +85 -0
  42. package/src/parts/stamp.tsx +36 -0
  43. package/src/parts/work-card.css +51 -0
  44. package/src/parts/work-card.tsx +40 -0
  45. package/src/set.css +439 -0
  46. package/src/styles.css +20 -0
  47. package/src/tokens/color.css +471 -0
  48. package/src/tokens/roles.css +12 -0
  49. package/src/tokens/type.css +11 -0
  50. package/src/wordmark.tsx +34 -0
  51. package/AGENTS.md +0 -192
  52. package/assets/media/brand/ks-lockup.svg +0 -13
  53. package/assets/media/brand/ks-logomark.svg +0 -4
  54. package/assets/media/brand/ks-wordmark-inline.svg +0 -13
  55. package/assets/media/brand/ks-wordmark.svg +0 -11
  56. package/assets/media/fonts/gt-standard-standard-vf.woff2 +0 -0
  57. package/assets/media/fonts/pp-kyoto-variable-upright-vf.woff2 +0 -0
  58. package/base.css +0 -113
  59. package/css-vars.d.ts +0 -10
  60. package/grid/engine.css +0 -367
  61. package/grid/field-hash.ts +0 -31
  62. package/grid/field.tsx +0 -48
  63. package/grid/gates.cjs +0 -35
  64. package/grid/region.tsx +0 -97
  65. package/icons.tsx +0 -1282
  66. package/index.css +0 -89
  67. package/lib/autoplay-gate.ts +0 -88
  68. package/lib/focus-trap.ts +0 -42
  69. package/lib/grader.ts +0 -123
  70. package/lib/legal-data.ts +0 -1
  71. package/lib/legal.ts +0 -41
  72. package/lib/noise.tsx +0 -114
  73. package/lib/phone.ts +0 -294
  74. package/lib/render-boundary.tsx +0 -27
  75. package/lib/scroll-lock.ts +0 -25
  76. package/lib/swipe.ts +0 -124
  77. package/lib/use-active-section.ts +0 -43
  78. package/lib/use-count-up.ts +0 -26
  79. package/lib/use-grader-search.ts +0 -143
  80. package/lib/use-popover.ts +0 -30
  81. package/lib/use-video-carousel.ts +0 -271
  82. package/media.ts +0 -558
  83. package/primitives/breadcrumb.css +0 -51
  84. package/primitives/breadcrumb.tsx +0 -46
  85. package/primitives/business-picker.css +0 -135
  86. package/primitives/business-picker.tsx +0 -298
  87. package/primitives/button-inline.css +0 -52
  88. package/primitives/button-inline.tsx +0 -38
  89. package/primitives/buttons.css +0 -551
  90. package/primitives/buttons.tsx +0 -330
  91. package/primitives/case-study-button.css +0 -71
  92. package/primitives/case-study-button.tsx +0 -28
  93. package/primitives/case-study-card.css +0 -318
  94. package/primitives/case-study-card.tsx +0 -116
  95. package/primitives/chip.css +0 -127
  96. package/primitives/chip.tsx +0 -53
  97. package/primitives/closer-row.css +0 -14
  98. package/primitives/closer-row.tsx +0 -22
  99. package/primitives/cta-row.css +0 -41
  100. package/primitives/cta-row.tsx +0 -39
  101. package/primitives/disclosure.css +0 -302
  102. package/primitives/disclosure.tsx +0 -277
  103. package/primitives/faq-question.css +0 -220
  104. package/primitives/faq-question.tsx +0 -55
  105. package/primitives/field.css +0 -279
  106. package/primitives/field.tsx +0 -376
  107. package/primitives/footer-item.css +0 -72
  108. package/primitives/footer-item.tsx +0 -42
  109. package/primitives/glyph-toggle.css +0 -62
  110. package/primitives/glyph-toggle.tsx +0 -42
  111. package/primitives/grader-menu.tsx +0 -84
  112. package/primitives/grader.css +0 -369
  113. package/primitives/grader.tsx +0 -285
  114. package/primitives/keystone-score.css +0 -156
  115. package/primitives/keystone-score.tsx +0 -204
  116. package/primitives/modal.css +0 -194
  117. package/primitives/modal.tsx +0 -204
  118. package/primitives/month-range.css +0 -80
  119. package/primitives/month-range.tsx +0 -183
  120. package/primitives/notice.css +0 -39
  121. package/primitives/notice.tsx +0 -56
  122. package/primitives/persona-card.css +0 -374
  123. package/primitives/persona-card.tsx +0 -74
  124. package/primitives/picture.css +0 -11
  125. package/primitives/picture.tsx +0 -41
  126. package/primitives/plan-card.css +0 -398
  127. package/primitives/plan-card.tsx +0 -153
  128. package/primitives/prose.css +0 -164
  129. package/primitives/prose.tsx +0 -194
  130. package/primitives/ramps.css +0 -77
  131. package/primitives/report-nav.css +0 -382
  132. package/primitives/report-nav.tsx +0 -353
  133. package/primitives/report.css +0 -601
  134. package/primitives/report.tsx +0 -357
  135. package/primitives/skeleton.css +0 -82
  136. package/primitives/skeleton.tsx +0 -56
  137. package/primitives/slider.css +0 -179
  138. package/primitives/slider.tsx +0 -69
  139. package/primitives/slug.css +0 -87
  140. package/primitives/slug.tsx +0 -37
  141. package/primitives/status.css +0 -427
  142. package/primitives/status.tsx +0 -323
  143. package/primitives/strip.css +0 -40
  144. package/primitives/surface.css +0 -88
  145. package/primitives/surface.tsx +0 -100
  146. package/primitives/table.css +0 -227
  147. package/primitives/table.tsx +0 -122
  148. package/primitives/tabs.css +0 -85
  149. package/primitives/tabs.tsx +0 -122
  150. package/primitives/tag.css +0 -46
  151. package/primitives/tag.tsx +0 -33
  152. package/primitives/text.css +0 -127
  153. package/primitives/toc.css +0 -65
  154. package/primitives/toc.tsx +0 -42
  155. package/primitives/tooltip.css +0 -56
  156. package/primitives/tooltip.tsx +0 -103
  157. package/rules/design-system.md +0 -154
  158. package/rules/grid-and-layout.md +0 -166
  159. package/scripts/generate-exports.mjs +0 -61
  160. package/scripts/generate-type-css.mjs +0 -130
  161. package/sections/faq-island.tsx +0 -102
  162. package/sections/faq.css +0 -213
  163. package/sections/faq.tsx +0 -46
  164. package/sections/footer-nav.tsx +0 -95
  165. package/sections/footer-signature.css +0 -223
  166. package/sections/footer-signature.tsx +0 -127
  167. package/sections/footer.css +0 -735
  168. package/sections/footer.tsx +0 -286
  169. package/sections/gallery-overlay.css +0 -213
  170. package/sections/gallery-overlay.tsx +0 -267
  171. package/sections/landing-benefits.css +0 -59
  172. package/sections/landing-benefits.tsx +0 -81
  173. package/sections/landing-closer.css +0 -23
  174. package/sections/landing-closer.tsx +0 -26
  175. package/sections/landing-hero.css +0 -80
  176. package/sections/landing-hero.tsx +0 -69
  177. package/sections/landing-quote.css +0 -19
  178. package/sections/landing-quote.tsx +0 -30
  179. package/sections/landing-sample.ts +0 -66
  180. package/sections/landing.css +0 -45
  181. package/sections/landing.tsx +0 -69
  182. package/sections/load-orchestrator.tsx +0 -43
  183. package/sections/load.css +0 -138
  184. package/sections/nav-desktop.css +0 -530
  185. package/sections/nav-desktop.tsx +0 -155
  186. package/sections/nav-menu.css +0 -57
  187. package/sections/nav-menu.tsx +0 -112
  188. package/sections/nav-mobile.css +0 -571
  189. package/sections/nav-mobile.tsx +0 -222
  190. package/sections/nav.css +0 -127
  191. package/sections/nav.tsx +0 -394
  192. package/sections/site-chat-data.ts +0 -16
  193. package/sections/site-chat-open.tsx +0 -25
  194. package/sections/site-chat.tsx +0 -67
  195. package/site-links.ts +0 -41
  196. package/site.ts +0 -2
  197. package/themes/inverted.css +0 -139
  198. package/tokens/fonts.css +0 -38
  199. package/tokens/motion.css +0 -150
  200. package/tokens/primitives.css +0 -163
  201. package/tokens/semantic.css +0 -159
  202. package/tokens/type-styles.json +0 -145
  203. package/tokens/type.css +0 -1548
  204. package/widgets.css +0 -78
package/tokens/fonts.css DELETED
@@ -1,38 +0,0 @@
1
- /* Licensed variable fonts are self-hosted and never CDN-imported.
2
- GT Standard requires an explicit weight because its binary default is
3
- 900. Optical sizing is pinned per type-scale step rather than inferred
4
- from Figma's named instances. `swap` keeps text readable while loading. */
5
-
6
- @font-face {
7
- font-family: "GT Standard";
8
- src: url("/media/fonts/gt-standard-standard-vf.woff2") format("woff2");
9
- font-weight: 300 900;
10
- font-style: normal;
11
- font-display: swap;
12
- }
13
-
14
- @font-face {
15
- font-family: "PP Kyoto";
16
- src: url("/media/fonts/pp-kyoto-variable-upright-vf.woff2") format("woff2");
17
- font-weight: 100 900;
18
- font-style: normal;
19
- font-display: swap;
20
- }
21
-
22
- :root {
23
- --font-sans: "GT Standard", ui-sans-serif, system-ui, sans-serif;
24
- --font-serif: "PP Kyoto", ui-serif, Georgia, serif;
25
- /* Raw data, identifiers, transcripts: the platform mono face. */
26
- --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
27
-
28
- /* Weight names match Figma. */
29
- --font-weight-thin: 100;
30
- --font-weight-extralight: 200;
31
- --font-weight-light: 300;
32
- --font-weight-regular: 400;
33
- --font-weight-medium: 500;
34
- --font-weight-semibold: 600;
35
-
36
- /* GT Standard VF slnt axis (0–6). WebKit renders oblique when omitted. */
37
- --font-sans-slnt: "slnt" 0;
38
- }
package/tokens/motion.css DELETED
@@ -1,150 +0,0 @@
1
- /* Motion grammars. Every transition and animation on the site references
2
- a token from this file; no duration, curve, or distance is written
3
- anywhere else. Motion is CSS only — no animation runtime ships.
4
-
5
- Laws for new motion (each one is a bug we shipped once):
6
- - Reuse a grammar before inventing one. A new grammar gets a name and a
7
- one-line prose definition here first, then its tokens.
8
- - Opens run the ease-in-out curve; closes run the ease-out curve.
9
- - A hard shadow never paints while its box moves: it grows from 0,0
10
- after the box lands and drops at once on close.
11
- - Never transition transform/translate inside an element whose paint
12
- (color, opacity) is transitioning; the compositor re-rasters the
13
- ancestor mid-paint and flickers for a frame. Move a relative offset
14
- instead, or move the paint to an absolute child.
15
- - Colors never transition on gradients; cross-fade the opacity of an
16
- absolute child that carries the gradient.
17
- - A load choreography ends explicitly on its final beat's `animationend`
18
- so a band-gated variant re-entering the tree replays nothing.
19
- - Timers are not a sync primitive. Wait for `animationend`,
20
- `transitionend`, `decode()`, or `requestAnimationFrame`. Timers are
21
- for things that fire on a timer: auto-advance, debounce.
22
- - `prefers-reduced-motion: reduce` renders every grammar state-to-state:
23
- no transitions, no timers, elements born settled. A no-JS render shows
24
- the same settled state.
25
- - Hover styles sit under `@media (hover: hover)`; every state also works
26
- on touch. Auto-rotation pauses on hover, focus, and hidden documents.
27
-
28
- Drawers reveal content with their moving clip edge; hard shadows appear
29
- only after the box lands. */
30
-
31
- :root {
32
- --motion-drawer-duration: 250ms;
33
- /* ease-out — the close direction (and the shadow growth) */
34
- --motion-drawer-ease: cubic-bezier(0.22, 1, 0.36, 1);
35
- /* ease-in-out — the open direction */
36
- --motion-drawer-ease-open: cubic-bezier(0.65, 0, 0.35, 1);
37
- --motion-drawer-shadow-duration: 200ms;
38
-
39
- /* Fade-rise entries share the drawer ease-out curve. */
40
- --motion-rise-distance: 26px;
41
- --motion-rise-duration: 800ms;
42
- --motion-rise-ease: var(--motion-drawer-ease);
43
-
44
- /* A panel hung from its control reveals by fading in as it settles the
45
- last few pixels down; it leaves the same way, its visibility held
46
- until the slide ends. */
47
- --motion-reveal-fade: 180ms;
48
- --motion-reveal-slide: 240ms;
49
- --motion-reveal-rise: 6px;
50
-
51
- /* A control's glyph swaps for its other state (menu to close) by
52
- crossfading in place: the outgoing one blurs and shrinks as the
53
- incoming one sharpens and grows. */
54
- --motion-glyph-swap-dur: 250ms;
55
- --motion-glyph-swap-blur: 2px;
56
- --motion-glyph-swap-scale: 0.25;
57
-
58
- /* Chip highlights wipe left-to-right while their ink cross-fades. */
59
- --motion-wipe-duration: 420ms;
60
- --motion-wipe-ease: cubic-bezier(0.76, 0, 0.24, 1);
61
- --motion-chip-stagger: 150ms;
62
-
63
- /* Carousels move one frame without overshoot; islands read timers here. */
64
- --motion-slide-duration: 900ms;
65
- --motion-slide-ease: cubic-bezier(0.45, 0.05, 0.15, 1);
66
- --motion-carousel-dwell: 3500ms;
67
- --motion-carousel-first-advance: 4500ms;
68
-
69
- /* Video sequences overlap the outgoing final frame and incoming
70
- first frame in one quiet opacity crossfade. */
71
- --motion-video-crossfade-duration: 400ms;
72
- --motion-video-crossfade-ease: ease-in-out;
73
-
74
- /* Dots morph from circle to square and unwind more slowly on exit. */
75
- --motion-dot-morph-dur: 450ms;
76
- --motion-dot-morph-out-dur: 600ms;
77
- --motion-dot-morph-out-ease: var(--motion-drawer-ease-open);
78
- --motion-dot-rotation: 180deg;
79
-
80
- /* Card shadows grow after layout motion and reverse slightly faster. */
81
- --motion-card-shadow-dur: 450ms;
82
- --motion-card-shadow-out-dur: 300ms;
83
-
84
- /* Decorative circles translate one cell without moving layout. */
85
- --motion-cell-slide-dur: 500ms;
86
- --motion-cell-slide-ease: var(--motion-drawer-ease-open);
87
-
88
- /* Rail cells stagger on open and fade together on close. */
89
- --motion-rail-stagger: 40ms;
90
-
91
- /* A nudge: a panel asked to be chosen from shakes side to side once,
92
- each swing half the last, so the eye lands on it. */
93
- --motion-nudge-duration: 400ms;
94
- --motion-nudge-distance: 4px;
95
- --motion-nudge-ease: var(--motion-drawer-ease-open);
96
-
97
- /* Carousel snapping uses the shared slide ease; dragging has no transition. */
98
- --motion-snap-dur: 450ms;
99
- --motion-snap-ease: var(--motion-slide-ease);
100
-
101
- /* Inactive carousel images remain translucent so the lattice reads through. */
102
- --motion-ghost-opacity: 0.5;
103
-
104
- /* Skeletons shimmer: a highlight sweeps a waiting block's ground at a
105
- steady pace, until the value it stands in for arrives. */
106
- --motion-shimmer-duration: 1600ms;
107
- --motion-shimmer-ease: linear;
108
-
109
- /* Two-clock entrances ink quickly and settle more slowly. */
110
- --motion-entrance-ring-fade-dur: 700ms;
111
- --motion-entrance-ring-move-dur: 900ms;
112
- --motion-entrance-ring-ease: cubic-bezier(0.2, 0.72, 0.18, 1);
113
- --motion-entrance-engine-fade-dur: 400ms;
114
- --motion-entrance-engine-move-dur: 750ms;
115
- --motion-entrance-engine-ease: cubic-bezier(0.16, 0.78, 0.24, 1);
116
- --motion-entrance-stagger: 120ms;
117
-
118
- /* Bloom launches engines clockwise from the center and resolves labels
119
- before the final intersect mark. Shared timings alias entrance tokens. */
120
- --motion-bloom-ring-fade-dur: var(--motion-entrance-ring-fade-dur);
121
- --motion-bloom-ring-move-dur: var(--motion-entrance-ring-move-dur);
122
- --motion-bloom-ring-ease: var(--motion-entrance-ring-ease);
123
- --motion-bloom-ring-scale: 0.94;
124
- --motion-bloom-engine-delay: 150ms;
125
- --motion-bloom-stagger: var(--motion-entrance-stagger);
126
- --motion-bloom-engine-fade-dur: var(--motion-entrance-engine-fade-dur);
127
- --motion-bloom-engine-move-dur: var(--motion-entrance-engine-move-dur);
128
- --motion-bloom-engine-ease: var(--motion-entrance-engine-ease);
129
- --motion-bloom-engine-seed: 0.12;
130
- --motion-bloom-label-delay: 340ms;
131
- --motion-bloom-label-dur: 350ms;
132
- --motion-bloom-label-scale: 0.96;
133
- --motion-bloom-mark-delay: 950ms;
134
- --motion-bloom-mark-dur: 400ms;
135
- /* Labels and the mark use the standard ease keyword. */
136
- --motion-bloom-resolve-ease: ease;
137
-
138
- /* Every stage swap uses the same blur-and-rise transition. Reduced
139
- motion renders state changes directly. */
140
- --motion-stage-dur: 500ms;
141
- --motion-stage-ease: var(--motion-drawer-ease);
142
- --motion-stage-blur: 8px;
143
- --motion-stage-rise: 24px;
144
- --motion-stage-drop: -12px;
145
-
146
- /* Deck cards share one clock with no stagger. Rapid input retargets
147
- current positions instead of queuing; reduced motion reorders directly. */
148
- --motion-deck-dur: 300ms;
149
- --motion-deck-ease: var(--motion-drawer-ease);
150
- }
@@ -1,163 +0,0 @@
1
- /* Figma `ks-MarketingSite` primitive variables.
2
- Do not edit values by hand. Consumers use the semantic layer instead. */
3
-
4
- :root {
5
- /* base */
6
- --color-base-white: #ffffff;
7
- --color-base-black: #000000;
8
-
9
- /* neutrals — warm grays (paper/ink axis) */
10
- --color-lightgray-050: #fcfbf8;
11
- --color-lightgray-100: #f8f7f2;
12
- --color-lightgray-200: #f0eee6;
13
- --color-lightgray-300: #e9e7dd;
14
- --color-lightgray-400: #e0ddd1;
15
- --color-lightgray-500: #d6d2c2;
16
- --color-lightgray-600: #cbc5b4;
17
- --color-lightgray-700: #beb8a7;
18
- --color-lightgray-800: #b1aa9a;
19
- --color-lightgray-900: #a49d8e;
20
- --color-lightgray-950: #989281;
21
-
22
- --color-darkgray-050: #8e897b;
23
- --color-darkgray-100: #847f71;
24
- --color-darkgray-200: #6c6860;
25
- --color-darkgray-300: #5d5a56;
26
- --color-darkgray-400: #4f4d4a;
27
- --color-darkgray-500: #444240;
28
- --color-darkgray-600: #3a3836;
29
- --color-darkgray-700: #2f2e2d;
30
- --color-darkgray-800: #242323;
31
- --color-darkgray-900: #1d1c1c;
32
- --color-darkgray-950: #141313;
33
-
34
- /* hues (100 light -> 800 dark) */
35
- --color-orange-100: #fff5ec;
36
- --color-orange-200: #ffebd9;
37
- --color-orange-250: #ffcaa3;
38
- --color-orange-300: #ffbb8a;
39
- --color-orange-400: #f57e56;
40
- --color-orange-500: #cf5330;
41
- --color-orange-600: #a03722;
42
- --color-orange-700: #6e271d;
43
- --color-orange-800: #3c1618;
44
-
45
- --color-red-100: #fff1ec;
46
- --color-red-200: #ffe8e0;
47
- --color-red-300: #ffb2a3;
48
- --color-red-400: #f55c47;
49
- --color-red-500: #cb452f;
50
- --color-red-600: #9f3722;
51
- --color-red-700: #792b20;
52
- --color-red-800: #3c1618;
53
-
54
- --color-yellow-100: #fdf5e3;
55
- --color-yellow-200: #fceac6;
56
- --color-yellow-250: #fadb9e;
57
- --color-yellow-300: #f7ca6f;
58
- --color-yellow-400: #f5b83d;
59
- --color-yellow-500: #dc9c19;
60
- --color-yellow-600: #9f7318;
61
- --color-yellow-700: #70531a;
62
- --color-yellow-800: #3a2a0e;
63
-
64
- --color-green-100: #eefdec;
65
- --color-green-200: #dcfbd9;
66
- --color-green-300: #a7f0b4;
67
- --color-green-400: #66cc86;
68
- --color-green-500: #46a56d;
69
- --color-green-600: #267d54;
70
- --color-green-700: #16573d;
71
- --color-green-800: #063126;
72
-
73
- --color-teal-100: #e9f6f3;
74
- /* The teal ramp alone carries the intermediate 150/250/450/550 stops. */
75
- --color-teal-150: #dbf0eb;
76
- --color-teal-200: #d2ede6;
77
- --color-teal-250: #aadfd7;
78
- --color-teal-300: #8cd4c9;
79
- --color-teal-400: #5bc3b3;
80
- --color-teal-450: #4cb3a3;
81
- --color-teal-500: #4aac9d;
82
- --color-teal-550: #409689;
83
- --color-teal-600: #318175;
84
- --color-teal-700: #236058;
85
- --color-teal-800: #0d2a28;
86
-
87
- --color-blue-100: #edf8ff;
88
- --color-blue-150: #dbf1ff;
89
- --color-blue-200: #cdebfe;
90
- --color-blue-250: #b2d6ff;
91
- --color-blue-300: #a3ceff;
92
- --color-blue-350: #8fc3ff;
93
- --color-blue-400: #3393ff;
94
- --color-blue-500: #307be8;
95
- --color-blue-600: #2566d0;
96
- --color-blue-700: #24509e;
97
- --color-blue-800: #0f223d;
98
-
99
- --color-purple-100: #f8f3ff;
100
- --color-purple-200: #f0e8ff;
101
- --color-purple-300: #d8c2ff;
102
- --color-purple-350: #cbadff;
103
- --color-purple-400: #9c69ea;
104
- --color-purple-500: #8552c9;
105
- --color-purple-600: #6e3ca7;
106
- --color-purple-700: #4f2573;
107
- --color-purple-800: #2f0d3f;
108
-
109
- --color-pink-100: #fceef2;
110
- --color-pink-200: #f9dce4;
111
- --color-pink-250: #fec3d8;
112
- --color-pink-300: #feaac8;
113
- --color-pink-400: #f38bb0;
114
- --color-pink-500: #da749b;
115
- --color-pink-600: #bd527e;
116
- --color-pink-700: #783551;
117
- --color-pink-800: #3d1324;
118
-
119
- --color-brown-100: #f6f1ee;
120
- --color-brown-200: #e5d7cc;
121
- --color-brown-300: #cbaf9a;
122
- --color-brown-400: #ad8261;
123
- --color-brown-500: #946b4d;
124
- --color-brown-600: #72523b;
125
- --color-brown-700: #513b2a;
126
- --color-brown-800: #2f2218;
127
-
128
- /* 4px spacing scale. The grid tick is derived geometry, not a token. */
129
- --spacing-0: 0px;
130
- --spacing-0-5: 2px;
131
- --spacing-1: 4px;
132
- --spacing-1-5: 6px;
133
- --spacing-2: 8px;
134
- --spacing-2-5: 10px;
135
- --spacing-3: 12px;
136
- --spacing-4: 16px;
137
- --spacing-5: 20px;
138
- --spacing-6: 24px;
139
- --spacing-8: 32px;
140
- --spacing-10: 40px;
141
- --spacing-12: 48px;
142
- --spacing-16: 64px;
143
- --spacing-18: 72px;
144
- --spacing-20: 80px;
145
- --spacing-24: 96px;
146
- --spacing-32: 128px;
147
- --spacing-40: 160px;
148
- --spacing-48: 192px;
149
- --spacing-56: 224px;
150
- --spacing-64: 256px;
151
- --spacing-80: 320px;
152
- --spacing-96: 384px;
153
- --spacing-120: 480px;
154
- --spacing-140: 560px;
155
- --spacing-160: 640px;
156
- --spacing-180: 720px;
157
- --spacing-192: 768px;
158
- --spacing-256: 1024px;
159
- --spacing-320: 1280px;
160
- --spacing-360: 1440px;
161
- --spacing-400: 1600px;
162
- --spacing-480: 1920px;
163
- }
@@ -1,159 +0,0 @@
1
- /* Semantic tokens from the Figma color, spacing, radius, and effect
2
- collections. Only light mode is wired. nav/* and badge/* remain
3
- product-app tokens. */
4
-
5
- :root {
6
- /* bg — low = closest to page background */
7
- --color-bg-000: var(--color-base-white);
8
- --color-bg-050: var(--color-lightgray-050);
9
- --color-bg-100: var(--color-lightgray-100); /* default page bg */
10
- --color-bg-200: var(--color-lightgray-200); /* raised / card bg */
11
- --color-bg-300: var(--color-lightgray-300);
12
- --color-bg-400: var(--color-lightgray-400);
13
- --color-bg-500: var(--color-lightgray-500);
14
- --color-bg-600: var(--color-lightgray-600);
15
-
16
- /* text */
17
- --color-text-000: var(--color-darkgray-800); /* strongest ink */
18
- --color-text-050: var(--color-darkgray-700);
19
- --color-text-100: var(--color-darkgray-600); /* headings / primary */
20
- --color-text-200: var(--color-darkgray-400); /* body */
21
- --color-text-300: var(--color-darkgray-300); /* body, most used */
22
- --color-text-400: var(--color-darkgray-100); /* secondary */
23
- --color-text-500: var(--color-lightgray-950); /* tertiary / placeholder */
24
- --color-text-600: var(--color-lightgray-800); /* disabled */
25
-
26
- /* border — 000 is the grid hairline */
27
- --color-border-000: var(--color-lightgray-300);
28
- --color-border-050: var(--color-lightgray-400);
29
- --color-border-100: var(--color-lightgray-500);
30
- --color-border-200: var(--color-lightgray-600);
31
- --color-border-300: var(--color-lightgray-700);
32
- --color-border-400: var(--color-lightgray-950);
33
- --color-border-500: var(--color-darkgray-200);
34
-
35
- /* alpha — "black" means ink-colored, "white" means paper-colored */
36
- --color-alpha-black-00: rgba(0, 0, 0, 0.001);
37
- --color-alpha-black-05: rgba(0, 0, 0, 0.05);
38
- --color-alpha-black-10: rgba(0, 0, 0, 0.1);
39
- --color-alpha-black-20: rgba(0, 0, 0, 0.2);
40
- --color-alpha-black-30: rgba(0, 0, 0, 0.3);
41
- --color-alpha-black-40: rgba(0, 0, 0, 0.4);
42
- --color-alpha-black-50: rgba(0, 0, 0, 0.5);
43
- --color-alpha-black-60: rgba(0, 0, 0, 0.6);
44
- --color-alpha-black-70: rgba(0, 0, 0, 0.7);
45
- --color-alpha-black-80: rgba(0, 0, 0, 0.8);
46
- --color-alpha-black-90: rgba(0, 0, 0, 0.9);
47
- --color-alpha-black-100: #000000;
48
- --color-alpha-white-00: rgba(255, 255, 255, 0.001);
49
- --color-alpha-white-05: rgba(255, 255, 255, 0.05);
50
- --color-alpha-white-10: rgba(255, 255, 255, 0.1);
51
- --color-alpha-white-20: rgba(255, 255, 255, 0.2);
52
- --color-alpha-white-30: rgba(255, 255, 255, 0.3);
53
- --color-alpha-white-40: rgba(255, 255, 255, 0.4);
54
- --color-alpha-white-50: rgba(255, 255, 255, 0.5);
55
- --color-alpha-white-60: rgba(255, 255, 255, 0.6);
56
- --color-alpha-white-70: rgba(255, 255, 255, 0.7);
57
- --color-alpha-white-80: rgba(255, 255, 255, 0.8);
58
- --color-alpha-white-90: rgba(255, 255, 255, 0.9);
59
- --color-alpha-white-100: #ffffff;
60
-
61
- /* status */
62
- --color-success-000: var(--color-green-100);
63
- --color-success-100: var(--color-green-200);
64
- --color-success-200: var(--color-green-300);
65
- --color-success-300: var(--color-green-400);
66
- --color-success-400: var(--color-green-500);
67
- --color-success-500: var(--color-green-700);
68
- --color-warning-000: var(--color-yellow-100);
69
- --color-warning-100: var(--color-yellow-200);
70
- --color-warning-200: var(--color-yellow-300);
71
- --color-warning-300: var(--color-yellow-400);
72
- --color-warning-400: var(--color-yellow-500);
73
- --color-warning-500: var(--color-yellow-700);
74
- --color-danger-000: var(--color-red-100);
75
- --color-danger-100: var(--color-red-200);
76
- --color-danger-200: var(--color-red-300);
77
- --color-danger-300: var(--color-red-400);
78
- --color-danger-400: var(--color-red-500);
79
- --color-danger-500: var(--color-red-700);
80
-
81
- /* spacing semantics (02 spacing) — --space-xl is the 16px grid cell */
82
- --space-none: var(--spacing-0);
83
- --space-2xs: var(--spacing-0-5);
84
- --space-xs: var(--spacing-1);
85
- --space-sm: var(--spacing-1-5);
86
- --space-md: var(--spacing-2);
87
- --space-lg: var(--spacing-3);
88
- --space-xl: var(--spacing-4);
89
- --space-2xl: var(--spacing-5);
90
- --space-3xl: var(--spacing-6);
91
- --space-4xl: var(--spacing-8);
92
- --space-5xl: var(--spacing-10);
93
- --space-6xl: var(--spacing-12);
94
- --space-7xl: var(--spacing-16);
95
- --space-8xl: var(--spacing-18);
96
- --space-9xl: var(--spacing-20);
97
- --space-10xl: var(--spacing-24);
98
- --space-11xl: var(--spacing-32);
99
- --space-12xl: var(--spacing-40);
100
-
101
- /* radii (03 radii) */
102
- --radius-none: var(--spacing-0);
103
- --radius-2xs: var(--spacing-0-5);
104
- --radius-xs: var(--spacing-1);
105
- --radius-sm: var(--spacing-1-5);
106
- --radius-md: var(--spacing-2);
107
- --radius-lg: var(--spacing-2-5);
108
- --radius-xl: var(--spacing-3);
109
- --radius-2xl: var(--spacing-4);
110
- --radius-3xl: var(--spacing-5);
111
- --radius-4xl: var(--spacing-6);
112
- --radius-full: 9999px;
113
-
114
- /* Shadow ink is a deliberate warm near-black outside the palette. */
115
- --shadow-ink: rgba(85, 77, 68, 0.15);
116
- --shadow-hard-square: 4px 4px 0 0 var(--shadow-ink);
117
- --shadow-hard-square-md: 3px 3px 0 0 var(--shadow-ink);
118
- /* The 1px step uses its drawn 0.2 alpha, unlike the larger steps. */
119
- --shadow-hard-square-xs: 1px 1px 0 0 rgba(85, 77, 68, 0.2);
120
- /* Zero-offset shadows preserve structure for smooth interpolation. */
121
- --shadow-hard-square-0: 0 0 0 0 var(--shadow-ink);
122
- --shadow-hard-square-md-0: 0 0 0 0 var(--shadow-ink);
123
- /* The web-swatch hairline uses palette ink, unlike hard shadows. */
124
- --shadow-web-swatch: 0 1px 2px 0 rgba(108, 104, 96, 0.05);
125
- /* A sheet lifted over a dimmed page (ks-Grader 254:15012): a long soft
126
- drop in the same warm near-black; the scrim is that ink at 55%. */
127
- --shadow-sheet: 0 28px 80px -20px rgba(42, 36, 29, 0.5);
128
- --color-scrim: rgba(42, 36, 29, 0.55);
129
- }
130
-
131
- /* Constants shared by more than one file. Section-local constants live
132
- at the top of the section's own file. */
133
- :root {
134
- --ring-w: 4px;
135
- --motion-hover-duration: 150ms;
136
- --motion-hover-ease: ease-in-out;
137
- --btn-glyph-slide: calc(var(--fitem-gap-hover) - var(--fitem-gap));
138
- --btn-glyph-slide-dur: var(--knav-ink-dur);
139
- --fitem-gap: 3px;
140
- --fitem-gap-hover: 5px;
141
- --z-raised: 10;
142
- --z-sticky: 20;
143
- --knav-bar-h: 44px;
144
- --knav-logomark: 18px;
145
- /* The mark's ink; a product app sets it to its own brand color. */
146
- --knav-mark-ink: var(--color-text-200);
147
- --hx-wm-w: 3.9563em;
148
- --hx-wm-h: 0.8031em;
149
- --hx-wm-drop: 0.19045;
150
- --hx-d-h1a: 80ms;
151
- --hx-d-h1b: 190ms;
152
- --hx-d-sub1: 330ms;
153
- --hx-d-cta: 490ms;
154
- --hx-d-rect: 620ms;
155
- --ps-snap-dur: var(--motion-snap-dur);
156
- --ps-snap-ease: var(--motion-snap-ease);
157
- --btn-inline-advance: 4px;
158
- --csc-img-zoom: 1%;
159
- }