Skip to content

Commit 9eefb16

Browse files
authored
💄 Align the homepage copy with the design's exact wording (#616)
* 💄 Align the homepage copy with the design's exact wording Homepage.dc.html is the design source of truth; several sections had drifted from it, and the Runtime section carried two grids the design no longer specifies. * 🐛 Merge the schema/retry code samples the design keeps in one panel The compose section rendered the Let/Parse and Elicit samples as two code-panels and dropped the schema-echoing <Json> lines from three retry/parse prompts; Homepage.dc.html keeps each of those samples in a single panel with the schema shown in full. * 🐛 Color schema keys as plain text, not as the {{ }} expression color RELEASE_MD, PARSE_MD, and ELICIT_MD wrapped each key: line (including the bare key) in the tok-mod class, so every schema key rendered in the orange expression color. Homepage.dc.html marks only the punctuation dim and leaves keys unwrapped so they inherit full-contrast ink/white. --------- Co-authored-by: Taras Mankovski <74687+taras@users.noreply.github.com>
1 parent 0962ea2 commit 9eefb16

2 files changed

Lines changed: 144 additions & 241 deletions

File tree

‎site/components/Prose.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export const P_MEASURED = `${P_SM}max-width:74ch;`;
1919
export const CLAIM =
2020
"margin:0;font-size:1.0625rem;line-height:1.45;color:var(--ink);font-weight:800;letter-spacing:-0.01em;";
2121

22+
/** An inline bold lead-in inside a prose paragraph. */
23+
export const STRONG = "font-weight:800;color:var(--ink);";
24+
2225
export const CHAIN_ITEM =
2326
`${MONO}font-size:0.8125rem;font-weight:700;color:var(--ink);`;
2427

0 commit comments

Comments
 (0)