Files
s41r4j-pixie/resources
s41r4jandClaude Opus 5.5 f45fa7b196 Smoother notch and overlays, board for diagrams, neutral premium UI
- disable WebKit background throttling (animations/timers froze until a click)
- native hover detection for the notch peek (WebKit can't track hover in an inactive app)
- screenshots at 1:1 points; overlay uses the window's real frame; targets snap to the nearest
  detected control/text line
- marks persist through the answer and fade 6 s after speech ends (no click needed)
- board: a white paper canvas for visual explanations (draw board=true); notch goes to one
  line while marks or the board are up so it never covers them
- neutral theme: graphite + white + one blue accent, system font, hairlines, no gradients/purple
- clearer permission hints with relaunch/reset inline

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 11:48:11 +05:30
..

resources/

All media is loaded by slot name through manifest.json; code never hardcodes a path.

"sounds": {
  "badge-pop": { "files": ["sounds/badge-pop-1.wav", "…-2", "…-3"], "gain": 0.8, "category": "ui" },
  "pencil-paper-bed": { "files": ["…"], "category": "ambient", "bed": true }
}
  • files: one or more variants (sounds pick one at random; icons/fonts/videos use the first).
  • gain: per-slot gain (0–2), multiplied by the category gain (ui, agent, ambient) and master.
  • bed: long looping sound; only one bed plays at a time.

Replacing media

Drop a file at the same path (or point the manifest at a new one). No code changes. Sounds and icons come from the OpenClicky Design System v2 (design/OpenClicky_Design_System_v2, original work; REPLACEMENT_MAP.csv maps each slot). Videos are still placeholders from npm run placeholders (scripts/gen-placeholders.mjs). The script never overwrites existing files. Fonts are the upstream OFL releases (Barlow, Patrick Hand) from github.com/google/fonts, licences in fonts/OFL-*.txt.

Do not copy media from other products into this folder; use originals or CC0 sources.

Theme

theme.json holds the design tokens (BUILD-SPEC §8). The UI reads it at startup and sets them as CSS custom properties (colors.ink → --ink, draw.sky → --draw-sky).

Local pack

npm run assets:local copies media you have locally into ~/Library/Application Support/com.openclicky.app/resources, which the app loads before these files. Use it for private testing; it never touches this folder.