Skip to content

Commit b6020ae

Browse files
committed
Fix CI: add 'num' token type and sync package-lock.json
1 parent 1ee6ab9 commit b6020ae

3 files changed

Lines changed: 137 additions & 1 deletion

File tree

‎components/media/CodeSample.module.css‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* .nu nu API → --site-accent (silver-woven teal in NuSection scope)
1313
* .str strings → silver ink
1414
* .cmt comments → dim ink, italic
15+
* .num numbers → mid ink
1516
*
1617
* NuSection sets vizHue="teal" so --site-accent[-2] remap to teal + steel.
1718
* ==========================================================================*/
@@ -144,3 +145,4 @@
144145
.nu { color: var(--site-accent); }
145146
.str { color: var(--site-ink); }
146147
.cmt { color: var(--site-ink-4); font-style: italic; }
148+
.num { color: var(--site-ink-3); }

‎components/media/CodeSample.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useState } from 'react';
44
import { Copy, Check } from 'lucide-react';
55
import s from './CodeSample.module.css';
66

7-
export type CodeTok = { c?: 'kw' | 'nu' | 'str' | 'cmt'; t: string };
7+
export type CodeTok = { c?: 'kw' | 'nu' | 'str' | 'cmt' | 'num'; t: string };
88

99
interface Props {
1010
/** Filename shown in the tab strip (e.g. "app.py"). */

‎package-lock.json‎

Lines changed: 134 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)