Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

Document fx/link in CLAUDE.md

nyblnete73744c468ae
diff --git a/CLAUDE.md b/CLAUDE.md
index 512e03df..dfd77a77 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -13,7 +13,9 @@ One HTML file = the document + viewer + editor. See `README.md` for the vision.
Reveal sections. Elements carry `data-el-id` (editing) and `data-flip-id` (morph).
- `src/present.ts` — Reveal.js overlay; slides with `transition:'morph'` use GSAP Flip:
matched `data-flip-id` elements animate geometry via Flip, style props (fill/color)
- tween straight from the model values.
+ tween straight from the model values. Elements can carry `fx` (enter stagger,
+ countUp, ken-burns ambient) and `link` (click → jump to slide id) — both run only
+ in present mode; the editor ignores them (no UI yet).
- `src/editor/` — vanilla-TS editor. Moveable + Selecto handle manipulation.
## Hard-won details — do not regress