Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/src/commands/contrast-audit.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// esbuild mangling (page.evaluate serializes functions; __name helpers break).
//
// NOTE: WCAG math (relLum, wcagRatio, parseColor, median) is duplicated in
// skills/hyperframes-contrast/scripts/contrast-report.mjs — keep in sync.
// skills/hyperframes/scripts/contrast-report.mjs — keep in sync.

/* eslint-disable */
window.__contrastAudit = async function (imgBase64, time) {
Expand Down
2 changes: 1 addition & 1 deletion skills/hyperframes/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ Use `--no-contrast` to skip if iterating rapidly and you'll check later.
After authoring animations, run the animation map to verify choreography:

```bash
node skills/hyperframes-animation-map/scripts/animation-map.mjs <composition-dir> \
node skills/hyperframes/scripts/animation-map.mjs <composition-dir> \
--out <composition-dir>/.hyperframes/anim-map
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// human-readable summaries. Outputs a single animation-map.json.
//
// Usage:
// node skills/hyperframes-animation-map/scripts/animation-map.mjs <composition-dir> \
// node skills/hyperframes/scripts/animation-map.mjs <composition-dir> \
// [--frames N] [--out <dir>] [--min-duration S] [--width W] [--height H] [--fps N]

import { mkdir, writeFile } from "node:fs/promises";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// - contrast-overlay.png (sprite grid; magenta=fail AA, yellow=pass AA only, green=AAA)
//
// Usage:
// node skills/hyperframes-contrast/scripts/contrast-report.mjs <composition-dir> \
// node skills/hyperframes/scripts/contrast-report.mjs <composition-dir> \
// [--samples N] [--out <dir>] [--width W] [--height H] [--fps N]
//
// The composition directory must contain an index.html. Raw authoring HTML
Expand Down
Loading