Align motion.toml easing keys between converter and engine #75

Closed
opened 2026-08-22 21:54:22 +01:00 by joshquinlan · 1 comment
Owner

The converter emits easing standard/emphasised/linear and duration flash; the engine reads standard/enter/exit. The engine now falls back, but the converter (tools/convert-theme-json) and donbox-themes should emit enter and exit so the shell gets the intended curves.

The converter emits easing standard/emphasised/linear and duration flash; the engine reads standard/enter/exit. The engine now falls back, but the converter (tools/convert-theme-json) and donbox-themes should emit enter and exit so the shell gets the intended curves.
Author
Owner

Done on branch easing.

The converter now maps the JSON easings onto the keys the engine reads: standard stays standard, emphasised becomes enter, and exit takes an exit curve the JSON states or stands on standard otherwise (no theme states one today, so all seventeen get exit = "OutCubic"). flash and linear are carried through untouched; theme check already accepts motion keys it does not read, and a test now holds it to that.

  • donbox 5e08ea58e027960c6d8c7e3c0691aec25c0ae500 fix(tools): emit the enter and exit easings
  • donbox-themes 67ab0da6b09484e8e719cc0e0996bc1d10d042ac fix: name the enter and exit easings

packages.toml pins the new themes ref. ./test/shell is green; neither commit is pushed.

Done on branch `easing`. The converter now maps the JSON easings onto the keys the engine reads: `standard` stays `standard`, `emphasised` becomes `enter`, and `exit` takes an exit curve the JSON states or stands on `standard` otherwise (no theme states one today, so all seventeen get `exit = "OutCubic"`). `flash` and `linear` are carried through untouched; `theme check` already accepts motion keys it does not read, and a test now holds it to that. - donbox `5e08ea58e027960c6d8c7e3c0691aec25c0ae500` fix(tools): emit the enter and exit easings - donbox-themes `67ab0da6b09484e8e719cc0e0996bc1d10d042ac` fix: name the enter and exit easings `packages.toml` pins the new themes ref. `./test/shell` is green; neither commit is pushed.
Sign in to join this conversation.
No description provided.