@tempoxyz/ds 0.3.14 → 0.3.16

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 (209) hide show
  1. package/dist/docs/AGENTS.md +75 -10
  2. package/dist/docs/arsenal.md +44 -0
  3. package/dist/docs/{marketing/introduction/getting-started.md → marketing.md} +32 -24
  4. package/dist/docs/product/components/actions.md +2110 -0
  5. package/dist/docs/product/components/blockchain.md +3969 -0
  6. package/dist/docs/product/components/data-display.md +5901 -0
  7. package/dist/docs/product/components/feedback-and-status.md +4138 -0
  8. package/dist/docs/product/components/forms-and-inputs.md +10543 -0
  9. package/dist/docs/product/components/layout.md +3339 -0
  10. package/dist/docs/product/components/navigation.md +2914 -0
  11. package/dist/docs/product/components/overlays.md +4917 -0
  12. package/dist/docs/product/components.md +125 -125
  13. package/dist/docs/product/foundations.md +4597 -0
  14. package/dist/docs/product/patterns.md +10110 -0
  15. package/dist/marketing/index.js.zyzz.json +1 -1
  16. package/dist/marketing/vars.d.ts +618 -758
  17. package/dist/marketing/vars.d.ts.map +1 -1
  18. package/dist/marketing/vars.js +8 -5
  19. package/dist/marketing/vars.js.map +1 -1
  20. package/dist/marketing/vars.js.zyzz.json +1 -1
  21. package/dist/marketing/zyzz.config.d.ts +3042 -3757
  22. package/dist/marketing/zyzz.config.d.ts.map +1 -1
  23. package/dist/marketing/zyzz.config.js +1 -1
  24. package/dist/marketing/zyzz.config.js.map +1 -1
  25. package/dist/marketing/zyzz.config.js.zyzz.json +1 -1
  26. package/dist/mobile/components/Button.d.ts +115 -15
  27. package/dist/mobile/components/Button.d.ts.map +1 -1
  28. package/dist/mobile/components/Button.js +85 -14
  29. package/dist/mobile/components/Button.js.map +1 -1
  30. package/dist/mobile/components/IconButton.d.ts +129 -40
  31. package/dist/mobile/components/IconButton.d.ts.map +1 -1
  32. package/dist/mobile/components/IconButton.js +97 -28
  33. package/dist/mobile/components/IconButton.js.map +1 -1
  34. package/dist/mobile/components/TextInput.d.ts +132 -11
  35. package/dist/mobile/components/TextInput.d.ts.map +1 -1
  36. package/dist/mobile/components/TextInput.js +115 -14
  37. package/dist/mobile/components/TextInput.js.map +1 -1
  38. package/dist/mobile/index.d.ts +1 -0
  39. package/dist/mobile/index.d.ts.map +1 -1
  40. package/dist/mobile/index.js +1 -0
  41. package/dist/mobile/index.js.map +1 -1
  42. package/dist/mobile/vars.d.ts +103 -0
  43. package/dist/mobile/vars.d.ts.map +1 -1
  44. package/dist/mobile/vars.js +74 -0
  45. package/dist/mobile/vars.js.map +1 -1
  46. package/dist/mobile/zyzz.config.d.ts +408 -0
  47. package/dist/mobile/zyzz.config.d.ts.map +1 -1
  48. package/dist/web/components/AddressCard.js.zyzz.json +1 -1
  49. package/dist/web/components/Amount.css +1 -1
  50. package/dist/web/components/Amount.d.ts +9 -0
  51. package/dist/web/components/Amount.d.ts.map +1 -1
  52. package/dist/web/components/Amount.js +8 -5
  53. package/dist/web/components/Amount.js.map +1 -1
  54. package/dist/web/components/Amount.js.zyzz.json +1 -1
  55. package/dist/web/components/CopyButton.d.ts +6 -0
  56. package/dist/web/components/CopyButton.d.ts.map +1 -1
  57. package/dist/web/components/CopyButton.js +4 -1
  58. package/dist/web/components/CopyButton.js.map +1 -1
  59. package/dist/web/components/CopyButton.js.zyzz.json +1 -1
  60. package/dist/web/components/Hex.css +1 -1
  61. package/dist/web/components/Hex.d.ts +84 -3
  62. package/dist/web/components/Hex.d.ts.map +1 -1
  63. package/dist/web/components/Hex.js +20 -13
  64. package/dist/web/components/Hex.js.map +1 -1
  65. package/dist/web/components/Hex.js.zyzz.json +1 -1
  66. package/dist/web/components/Progress.css +1 -1
  67. package/dist/web/components/Progress.d.ts +12 -2
  68. package/dist/web/components/Progress.d.ts.map +1 -1
  69. package/dist/web/components/Progress.js +9 -5
  70. package/dist/web/components/Progress.js.map +1 -1
  71. package/dist/web/components/Progress.js.zyzz.json +1 -1
  72. package/dist/web/components/SecretValue.js.zyzz.json +1 -1
  73. package/dist/web/components/SidebarMenu.d.ts +4 -4
  74. package/dist/web/components/SidebarMenu.js +6 -6
  75. package/dist/web/components/SidebarMenu.js.map +1 -1
  76. package/dist/web/components/Snippet.js.zyzz.json +1 -1
  77. package/dist/web/index.js.zyzz.json +1 -1
  78. package/package.json +1 -1
  79. package/src/marketing/README.md +1 -1
  80. package/src/marketing/vars.ts +526 -604
  81. package/src/marketing/zyzz.config.ts +5 -4
  82. package/src/mobile/README.md +19 -6
  83. package/src/mobile/components/Button.tsx +94 -17
  84. package/src/mobile/components/IconButton.tsx +122 -30
  85. package/src/mobile/components/TextInput.tsx +139 -24
  86. package/src/mobile/index.ts +1 -0
  87. package/src/mobile/vars.ts +74 -0
  88. package/src/web/components/Amount.tsx +37 -3
  89. package/src/web/components/CopyButton.tsx +8 -0
  90. package/src/web/components/Hex.tsx +79 -13
  91. package/src/web/components/Progress.tsx +8 -2
  92. package/src/web/components/SidebarMenu.tsx +6 -6
  93. package/dist/docs/index.md +0 -145
  94. package/dist/docs/product/components/accordion.md +0 -489
  95. package/dist/docs/product/components/address-card.md +0 -147
  96. package/dist/docs/product/components/agent-logo.md +0 -194
  97. package/dist/docs/product/components/alert-dialog.md +0 -631
  98. package/dist/docs/product/components/alert.md +0 -448
  99. package/dist/docs/product/components/amount-input.md +0 -305
  100. package/dist/docs/product/components/amount.md +0 -794
  101. package/dist/docs/product/components/app-shell.md +0 -559
  102. package/dist/docs/product/components/asset-chip.md +0 -294
  103. package/dist/docs/product/components/autocomplete.md +0 -620
  104. package/dist/docs/product/components/avatar.md +0 -321
  105. package/dist/docs/product/components/badge.md +0 -339
  106. package/dist/docs/product/components/badged-logo.md +0 -116
  107. package/dist/docs/product/components/banner.md +0 -379
  108. package/dist/docs/product/components/bar-chart.md +0 -208
  109. package/dist/docs/product/components/breadcrumbs.md +0 -380
  110. package/dist/docs/product/components/button-group.md +0 -286
  111. package/dist/docs/product/components/button.md +0 -650
  112. package/dist/docs/product/components/calendar.md +0 -375
  113. package/dist/docs/product/components/callout.md +0 -96
  114. package/dist/docs/product/components/checkbox-group.md +0 -521
  115. package/dist/docs/product/components/checkbox.md +0 -467
  116. package/dist/docs/product/components/choice-group.md +0 -516
  117. package/dist/docs/product/components/choicebox.md +0 -641
  118. package/dist/docs/product/components/code.md +0 -100
  119. package/dist/docs/product/components/combobox.md +0 -939
  120. package/dist/docs/product/components/container.md +0 -257
  121. package/dist/docs/product/components/copy-button.md +0 -642
  122. package/dist/docs/product/components/date-picker.md +0 -514
  123. package/dist/docs/product/components/dialog.md +0 -1332
  124. package/dist/docs/product/components/drawer.md +0 -966
  125. package/dist/docs/product/components/empty.md +0 -340
  126. package/dist/docs/product/components/field.md +0 -570
  127. package/dist/docs/product/components/fieldset.md +0 -398
  128. package/dist/docs/product/components/frame.md +0 -434
  129. package/dist/docs/product/components/gauge.md +0 -299
  130. package/dist/docs/product/components/get-started-visual.md +0 -117
  131. package/dist/docs/product/components/grid.md +0 -288
  132. package/dist/docs/product/components/hero-visual.md +0 -155
  133. package/dist/docs/product/components/hex.md +0 -487
  134. package/dist/docs/product/components/icon-tile.md +0 -292
  135. package/dist/docs/product/components/identicon.md +0 -371
  136. package/dist/docs/product/components/inline.md +0 -233
  137. package/dist/docs/product/components/inset.md +0 -225
  138. package/dist/docs/product/components/kbd.md +0 -423
  139. package/dist/docs/product/components/list-group.md +0 -981
  140. package/dist/docs/product/components/loading-dots.md +0 -237
  141. package/dist/docs/product/components/menu.md +0 -934
  142. package/dist/docs/product/components/native-select.md +0 -204
  143. package/dist/docs/product/components/network-logo.md +0 -248
  144. package/dist/docs/product/components/number-field.md +0 -543
  145. package/dist/docs/product/components/otp-field.md +0 -616
  146. package/dist/docs/product/components/pagination.md +0 -516
  147. package/dist/docs/product/components/popover.md +0 -544
  148. package/dist/docs/product/components/progress.md +0 -388
  149. package/dist/docs/product/components/qr.md +0 -314
  150. package/dist/docs/product/components/radio-group.md +0 -528
  151. package/dist/docs/product/components/secret-value.md +0 -406
  152. package/dist/docs/product/components/select.md +0 -751
  153. package/dist/docs/product/components/separator.md +0 -379
  154. package/dist/docs/product/components/sidebar-menu.md +0 -922
  155. package/dist/docs/product/components/skeleton.md +0 -517
  156. package/dist/docs/product/components/slider.md +0 -539
  157. package/dist/docs/product/components/snippet.md +0 -424
  158. package/dist/docs/product/components/spinner.md +0 -216
  159. package/dist/docs/product/components/split-bar.md +0 -139
  160. package/dist/docs/product/components/split-button.md +0 -464
  161. package/dist/docs/product/components/stack.md +0 -299
  162. package/dist/docs/product/components/status-chip.md +0 -226
  163. package/dist/docs/product/components/status-indicator.md +0 -119
  164. package/dist/docs/product/components/status-row.md +0 -174
  165. package/dist/docs/product/components/stepper.md +0 -451
  166. package/dist/docs/product/components/success-hero.md +0 -157
  167. package/dist/docs/product/components/surface.md +0 -639
  168. package/dist/docs/product/components/switch.md +0 -472
  169. package/dist/docs/product/components/table.md +0 -968
  170. package/dist/docs/product/components/tabs.md +0 -627
  171. package/dist/docs/product/components/tempo-logo.md +0 -185
  172. package/dist/docs/product/components/text-input.md +0 -624
  173. package/dist/docs/product/components/textarea.md +0 -352
  174. package/dist/docs/product/components/toast.md +0 -535
  175. package/dist/docs/product/components/token-logo.md +0 -371
  176. package/dist/docs/product/components/token.md +0 -247
  177. package/dist/docs/product/components/tooltip.md +0 -490
  178. package/dist/docs/product/components/verification-code.md +0 -116
  179. package/dist/docs/product/components/visual.md +0 -249
  180. package/dist/docs/product/foundations/accessibility.md +0 -377
  181. package/dist/docs/product/foundations/agents.md +0 -159
  182. package/dist/docs/product/foundations/color.md +0 -522
  183. package/dist/docs/product/foundations/content/tone.md +0 -194
  184. package/dist/docs/product/foundations/content/voice.md +0 -194
  185. package/dist/docs/product/foundations/content/writing-style.md +0 -406
  186. package/dist/docs/product/foundations/iconography.md +0 -282
  187. package/dist/docs/product/foundations/intent.md +0 -360
  188. package/dist/docs/product/foundations/layout.md +0 -508
  189. package/dist/docs/product/foundations/linter.md +0 -523
  190. package/dist/docs/product/foundations/motion.md +0 -151
  191. package/dist/docs/product/foundations/radius-and-padding.md +0 -86
  192. package/dist/docs/product/foundations/typography.md +0 -331
  193. package/dist/docs/product/introduction/faq.md +0 -133
  194. package/dist/docs/product/introduction/getting-started.md +0 -377
  195. package/dist/docs/product/patterns/blockchain-values.md +0 -709
  196. package/dist/docs/product/patterns/dashboards.md +0 -638
  197. package/dist/docs/product/patterns/destructive-actions.md +0 -626
  198. package/dist/docs/product/patterns/empty-states.md +0 -612
  199. package/dist/docs/product/patterns/errors-and-validation.md +0 -808
  200. package/dist/docs/product/patterns/feedback-and-status.md +0 -518
  201. package/dist/docs/product/patterns/forms.md +0 -679
  202. package/dist/docs/product/patterns/loading.md +0 -630
  203. package/dist/docs/product/patterns/navigation.md +0 -397
  204. package/dist/docs/product/patterns/payments.md +0 -765
  205. package/dist/docs/product/patterns/responsive-layout.md +0 -997
  206. package/dist/docs/product/patterns/tables-and-lists.md +0 -1170
  207. package/dist/docs/product/products/tempo-console.md +0 -671
  208. package/dist/docs/product/products/tempo-performance.md +0 -435
  209. package/dist/docs/product/products/tempo-wallet.md +0 -438
@@ -1,18 +1,83 @@
1
1
  # Tempo Design System for Agents
2
2
 
3
- These files are the documentation of `@tempoxyz/ds` as Markdown, for the version installed beside them. They describe how to use the design system in an app, not how to build the library. Each page sits at the path of its page on ds.tehq.dev, and links between pages are relative. Read them here rather than on the site, so the guidance matches the version you import.
3
+ These files document `@tempoxyz/ds` for the version installed beside them. They describe how to use the design system in an app, not how to build the library. Read this file in full, then open only the sections a task needs.
4
4
 
5
- Tempo has two design systems, and this package ships both. Choose one by what you build, and start from its Getting Started page:
5
+ ## Choose a System
6
6
 
7
- - **Product:** Interfaces people use, such as wallets, consoles, dashboards, explorers, and internal tools. Start from [product/introduction/getting-started.md](product/introduction/getting-started.md).
8
- - **Marketing:** Pages that present Tempo, such as the home page and launch, campaign, and event pages. Start from [marketing/introduction/getting-started.md](marketing/introduction/getting-started.md).
7
+ An app uses one system.
9
8
 
10
- An app uses one system. A marketing site does not import `@tempoxyz/ds`, and a product interface does not import `@tempoxyz/ds/marketing`.
9
+ - **Product:** Interfaces people use, such as wallets, consoles, dashboards, explorers, and internal tools. Import `@tempoxyz/ds`, and follow this file.
10
+ - **Marketing:** Pages that present Tempo, such as the home page and launch, campaign, and event pages. Read [marketing.md](marketing.md) instead. A marketing site does not import `@tempoxyz/ds`.
11
+ - **Arsenal:** Tempo's brand, such as the logo, type, color, and the graphics for social, decks, and events. Read [arsenal.md](arsenal.md) instead. Arsenal covers no app or site interface.
11
12
 
12
- Each system's folder follows its sidebar on the site, with Introduction, Foundations, and Components sections. [index.md](index.md) lists every page with its description. Before you use a component, read its page in full.
13
+ ## Read in This Order
13
14
 
14
- For Product, also read these pages before you build a screen:
15
+ 1. **Rules:** Read the [rules](#rules) below. They apply to every screen.
16
+ 2. **Setup:** Set up a project with [Getting Started](product/foundations.md#getting-started).
17
+ 3. **Patterns:** Find the patterns a screen uses in the contents of [product/patterns.md](product/patterns.md), and read those sections in full.
18
+ 4. **Components:** Choose components with the [Components](product/components.md#overview) overview, which compares similar ones. Then read each component's section in its family file up to its Examples heading.
19
+ 5. **Examples:** Read a component's Examples or Use Cases only for the cases you build.
20
+ 6. **Foundations:** Look up color, layout, type, motion, and content in [product/foundations.md](product/foundations.md) when a rule or a section links there.
15
21
 
16
- - **Rules:** [Agents](product/foundations/agents.md) states the rules that generated UI follows.
17
- - **Type:** [Typography](product/foundations/typography.md) states which sets to use and how many on one screen.
18
- - **Patterns:** The `product/patterns/` folder holds layouts that combine components, such as [Forms](product/patterns/forms.md) and [Tables and Lists](product/patterns/tables-and-lists.md). The sidebar does not list them, so read the ones a screen uses from [index.md](index.md).
22
+ Each file opens with its contents. Find a section with `rg -n '^## ' <file>`, and read from its heading to the next heading of the same level.
23
+
24
+ ## Files
25
+
26
+ - [product/foundations.md](product/foundations.md) (156 KB): Getting Started, the FAQ, and the foundations: color, layout, type, icons, motion, content, accessibility, intent, and the linter.
27
+ - [product/patterns.md](product/patterns.md) (338 KB): Layouts that combine components, such as forms, tables, payments, and errors, and the product references.
28
+ - [product/components.md](product/components.md) (15 KB): Every component by family, and how to choose between similar ones.
29
+ - [product/components/actions.md](product/components/actions.md) (58 KB): Button, ButtonGroup, CopyButton, SplitButton.
30
+ - [product/components/forms-and-inputs.md](product/components/forms-and-inputs.md) (304 KB): AmountInput, Autocomplete, Calendar, Checkbox, CheckboxGroup, Choicebox, ChoiceGroup, Combobox, DatePicker, Field, Fieldset, NativeSelect, NumberField, OtpField, RadioGroup, Select, Slider, Switch, Textarea, TextInput.
31
+ - [product/components/feedback-and-status.md](product/components/feedback-and-status.md) (116 KB): Alert, Banner, Callout, Empty, Gauge, LoadingDots, Progress, Skeleton, Spinner, StatusChip, StatusIndicator, StatusRow, Toast.
32
+ - [product/components/overlays.md](product/components/overlays.md) (140 KB): AlertDialog, Dialog, Drawer, Menu, Popover, Tooltip.
33
+ - [product/components/navigation.md](product/components/navigation.md) (85 KB): Breadcrumbs, Pagination, SidebarMenu, Stepper, Tabs.
34
+ - [product/components/layout.md](product/components/layout.md) (91 KB): AppShell, Container, Frame, Grid, Inline, Inset, Separator, Stack, Surface.
35
+ - [product/components/data-display.md](product/components/data-display.md) (164 KB): Accordion, AgentLogo, Avatar, Badge, BarChart, Code, GetStartedVisual, HeroVisual, IconTile, Kbd, ListGroup, Snippet, SplitBar, SuccessHero, Table, TempoLogo, VerificationCode, Visual.
36
+ - [product/components/blockchain.md](product/components/blockchain.md) (107 KB): AddressCard, Amount, AssetChip, BadgedLogo, Hex, Identicon, NetworkLogo, Qr, SecretValue, Token, TokenLogo.
37
+ - [marketing.md](marketing.md) (7 KB): The Marketing system.
38
+ - [arsenal.md](arsenal.md) (2 KB): The Arsenal brand system.
39
+
40
+ ## Rules
41
+
42
+ These rules are requirements, and so are the Guidelines, Content, and Accessibility sections of every page. If a request conflicts with a guideline, follow the request and point out the conflict.
43
+
44
+ ### Use Library Components First
45
+
46
+ * **Catalog First:** Check the [Components](product/components.md#overview) overview, which compares similar ones, before you write markup.
47
+ * **Intent First:** Choose each component by the job of its content, as [Building From Intent](product/foundations.md#building-from-intent) describes, not by the old markup.
48
+ * **Public Entrypoints:** Import `@tempoxyz/ds` on Web and `@tempoxyz/ds/mobile` in React Native, with icons from `/icons`.
49
+ * **No Rebuilds:** Don't rebuild a library component or swap in a raw Base UI primitive or another library.
50
+ * **Named Parts:** Build larger components from their named parts, such as `Dialog.Root` and `Dialog.Title`.
51
+
52
+ ### Style With Tokens
53
+
54
+ * **Style Definitions:** Style your own markup with `style` and `variants`, grouped in a `namespace styles` block.
55
+ * **Tokens:** Set colors, spacing, type, and radii with tokens, such as `content.primary` and `'24'`.
56
+ * **Custom Values:** Mark the rare literal that no token fits with `!custom`, as in `'24rem !custom'`.
57
+ * **One Styling System:** Don't add utility classes or a separate stylesheet to UI built with the library.
58
+ * **Variable Scopes:** Components inherit variables, so apply `vars()` only to override values or fix a color scheme.
59
+
60
+ ### Set Type With Few Sets
61
+
62
+ * **Component Type:** Let each component set the type of its parts. Pass text as children and don't restyle it.
63
+ * **One Set per Style (typography):** Set your own text with one `typography` set, never a separate family, size, or weight.
64
+ * **Few Sets per Screen:** Use at most five styles on a screen, and Pilat only for titles.
65
+ * **Expressive Sets:** Follow [Typography](product/foundations.md#reserve-the-expressive-sets) before you use display, value, utility, or mono.
66
+
67
+ ### Use Only Documented APIs
68
+
69
+ * **Documented Props:** Use only the props, parts, and values that a component page or its TSDoc documents.
70
+ * **Missing Pieces:** Build a missing variant or token locally with `style`, and flag it for a [proposal](product/foundations.md#how-do-i-request-a-component-variant-or-token).
71
+ * **Installed Package:** Don't patch the installed package or target the class names that it generates.
72
+
73
+ ### Follow the Guidelines
74
+
75
+ * **Guidance First:** Read a component's Guidelines, Content, and Accessibility before you use it, not only its examples.
76
+ * **Patterns:** Before you build a screen, read the patterns it uses, such as [Forms](product/patterns.md#forms) and [Tables and Lists](product/patterns.md#tables-and-lists).
77
+ * **Native Semantics:** Keep native semantics, and meet every item on the [Accessibility](product/foundations.md#checklist) checklist.
78
+
79
+ ### Write Copy to the Content Guidelines
80
+
81
+ * **Labels and Terms:** Use sentence case and verb-first button labels, as [Writing Style](product/foundations.md#write-labels) describes.
82
+ * **Amounts and Addresses:** Format amounts with [Amount](product/components/blockchain.md#amount) and a `currency` or `symbol`, and addresses and hashes with [Hex](product/components/blockchain.md#hex).
83
+ * **Errors:** Write error messages that state the fix, as [Writing Style](product/foundations.md#write-messages) describes.
@@ -0,0 +1,44 @@
1
+ # Arsenal
2
+
3
+ Each section below is one page of the documentation at ds.tehq.dev.
4
+
5
+ ## Contents
6
+
7
+ - [Brand Idea](#brand-idea): What Tempo's brand stands for, and how every piece should feel.
8
+
9
+ ## Brand Idea
10
+
11
+ What Tempo's brand stands for, and how every piece should feel.
12
+
13
+ ### Overview
14
+
15
+ Stable at high speed is the idea behind every Tempo piece. Read it before you make anything, then take each value from the Brand foundation that carries it.
16
+
17
+ ### Stable at High Speed
18
+
19
+ Tempo's rails for stablecoins are precise and reliable, so money moves instantly and smoothly, under control. That speed and the technology behind it shape the identity. The type carries its forward momentum: movement, progress, and a confident step into the future of finance.
20
+
21
+ ### Moving Money Forward
22
+
23
+ Tempo builds a priority lane for stablecoins: dedicated, fast, and easy, with payment-native features at low cost. It is invisible to the consumer yet mission critical to their payments, humble as a provider and confident about its potential.
24
+
25
+ ### How Every Piece Feels
26
+
27
+ Every piece holds both halves of the idea at once.
28
+
29
+ * **Stable:**
30
+ * **Fast:**
31
+ * **Direct:**
32
+ * **Outspoken:**
33
+
34
+ ### How It Shows Up
35
+
36
+ Each Brand foundation carries part of the idea in its values.
37
+
38
+ * **Logo:**
39
+ * **Type:** The Tempo font for the wordmark, HB Set for headlines, and Pilat for clear text.
40
+ * **Color:**
41
+ * **Grounds:** The surfaces every piece sits on, and when a photo or a depth gradient can be one.
42
+ * **Layout:** Clear, balanced compositions, with the graphic language leading and photography in support.
43
+ * **Photography:** The product in context and moments of movement, for energy, openness, and authenticity.
44
+ * **Motion:** Forward momentum and bullet time, the two behaviors behind everything that moves.
@@ -1,8 +1,16 @@
1
- # Getting Started
1
+ # Marketing
2
+
3
+ Each section below is one page of the documentation at ds.tehq.dev.
4
+
5
+ ## Contents
6
+
7
+ - [Getting Started](#getting-started): Install the Marketing system and style your first section.
8
+
9
+ ## Getting Started
2
10
 
3
11
  Install the Marketing system and style your first section.
4
12
 
5
- ## Overview
13
+ ### Overview
6
14
 
7
15
  Marketing pages present Tempo to the public. They explain what Tempo is, who it is for, and why it matters, and lead the reader to a next step. `@tempoxyz/ds/marketing` ships the variables and authoring helpers for these pages.
8
16
 
@@ -11,16 +19,16 @@ Marketing pages present Tempo to the public. They explain what Tempo is, who it
11
19
  * **Launches (Announcements):** Present a new feature, partner, or upgrade.
12
20
  * **Events (Event pages):** Show the agenda, the speakers, and registration.
13
21
 
14
- ## Agent Prompt
22
+ ### Agent Prompt
15
23
 
16
24
  Paste this prompt into your coding agent:
17
25
 
18
26
  Read ds.tehq.dev/marketing/introduction/getting-started and help me build a Tempo marketing page
19
27
  with Tempo Design System.
20
28
 
21
- ## Setup
29
+ ### Setup
22
30
 
23
- ### Install the Library
31
+ #### Install the Library
24
32
 
25
33
  Install `@tempoxyz/ds` and its Zyzz peer. Marketing ships from the same package.
26
34
 
@@ -28,16 +36,16 @@ Install `@tempoxyz/ds` and its Zyzz peer. Marketing ships from the same package.
28
36
  npm install @tempoxyz/ds zyzz
29
37
  ```
30
38
 
31
- ### Choose Framework
39
+ #### Choose Framework
32
40
 
33
41
  Choose a compilation target and a variable mode:
34
42
 
35
43
  * **TDS Variables (Quick):** Uses the Marketing variables as they ship.
36
44
  * **Custom Variables (Advanced):** Extends the Marketing variables with site tokens.
37
45
 
38
- ### Vite
46
+ #### Vite
39
47
 
40
- ### Configure Vite
48
+ #### Configure Vite
41
49
 
42
50
  Add Zyzz beside the existing framework plugin.
43
51
 
@@ -55,9 +63,9 @@ Run the existing dev or build command. The plugin emits the Marketing variables,
55
63
 
56
64
  With `ssr.noExternal`, the plugin reads the library's contracts in a server build.
57
65
 
58
- #### TDS Variables (Quick)
66
+ ##### TDS Variables (Quick)
59
67
 
60
- ### Style a Section
68
+ #### Style a Section
61
69
 
62
70
  Import `style` from `@tempoxyz/ds/marketing`, and style your markup with Marketing tokens.
63
71
 
@@ -86,11 +94,11 @@ namespace styles {
86
94
  }
87
95
  ```
88
96
 
89
- Tokens such as `content.primary`, `'64'`, and `display.d1` type-check against the Marketing variables. Light and dark values follow the inherited `color-scheme`.
97
+ Tokens such as `content.primary`, `'64'`, and `display.d1` type-check against the Marketing variables. Marketing has one light color scheme. Style a dark section with the `inverse` colors, such as `inverse.content.primary`. Sizes such as `display.d1` step up at 768px, 1024px, and 1512px, and motion tokens turn off under reduced motion.
90
98
 
91
- #### Custom Variables (Advanced)
99
+ ##### Custom Variables (Advanced)
92
100
 
93
- ### Define Config
101
+ #### Define Config
94
102
 
95
103
  Extend the Marketing variables with site tokens, and export the bound helpers.
96
104
 
@@ -100,13 +108,13 @@ import { Config, Vars } from 'zyzz'
100
108
 
101
109
  export const { style, vars } = Config.create({
102
110
  id: 'site',
103
- vars: Vars.extend(variables, { spacing: { section: '7.5rem' } }, { id: 'site/vars' }),
111
+ vars: Vars.extend(variables, { spacing: { band: '7.5rem' } }, { id: 'site/vars' }),
104
112
  })
105
113
  ```
106
114
 
107
115
  Place `zyzz.config.ts` at the root of the site source, such as `src/zyzz.config.ts`. The Vite plugin scans its directory for global styles.
108
116
 
109
- ### Style a Section
117
+ #### Style a Section
110
118
 
111
119
  Apply `vars()` to the site root. Style your markup with the bound `style` helper, which accepts Marketing and site tokens.
112
120
 
@@ -136,9 +144,9 @@ namespace styles {
136
144
  }
137
145
  ```
138
146
 
139
- ### Other Bundlers
147
+ #### Other Bundlers
140
148
 
141
- ### Configure the Bundler
149
+ #### Configure the Bundler
142
150
 
143
151
  Add the matching unplugin adapter to the bundler configuration. Keep the existing TypeScript and JSX transforms.
144
152
 
@@ -158,9 +166,9 @@ Load the emitted stylesheet and script in the document. Adjust the paths to the
158
166
 
159
167
  Run the existing build command. [Bundler Setup](https://zyzz.style/docs/api/unplugin) lists the configuration for each bundler.
160
168
 
161
- #### TDS Variables (Quick)
169
+ ##### TDS Variables (Quick)
162
170
 
163
- ### Style a Section
171
+ #### Style a Section
164
172
 
165
173
  Import `style` from `@tempoxyz/ds/marketing`, and style your markup with Marketing tokens.
166
174
 
@@ -189,11 +197,11 @@ namespace styles {
189
197
  }
190
198
  ```
191
199
 
192
- Tokens such as `content.primary`, `'64'`, and `display.d1` type-check against the Marketing variables. Light and dark values follow the inherited `color-scheme`.
200
+ Tokens such as `content.primary`, `'64'`, and `display.d1` type-check against the Marketing variables. Marketing has one light color scheme. Style a dark section with the `inverse` colors, such as `inverse.content.primary`. Sizes such as `display.d1` step up at 768px, 1024px, and 1512px, and motion tokens turn off under reduced motion.
193
201
 
194
- #### Custom Variables (Advanced)
202
+ ##### Custom Variables (Advanced)
195
203
 
196
- ### Define Config
204
+ #### Define Config
197
205
 
198
206
  Extend the Marketing variables with site tokens, and export the bound helpers.
199
207
 
@@ -203,11 +211,11 @@ import { Config, Vars } from 'zyzz'
203
211
 
204
212
  export const { style, vars } = Config.create({
205
213
  id: 'site',
206
- vars: Vars.extend(variables, { spacing: { section: '7.5rem' } }, { id: 'site/vars' }),
214
+ vars: Vars.extend(variables, { spacing: { band: '7.5rem' } }, { id: 'site/vars' }),
207
215
  })
208
216
  ```
209
217
 
210
- ### Style a Section
218
+ #### Style a Section
211
219
 
212
220
  Apply `vars()` to the site root. Style your markup with the bound `style` helper, which accepts Marketing and site tokens.
213
221