Skip to content

feat: per-state colors for timeline blocks - #17

Open
prem-thatikonda29 wants to merge 11 commits into
jeremy-prt:mainfrom
prem-thatikonda29:feat/per-state-colors
Open

prem-thatikonda29 wants to merge 11 commits into
jeremy-prt:mainfrom
prem-thatikonda29:feat/per-state-colors

Conversation

@prem-thatikonda29

Copy link
Copy Markdown

Summary

Add per-block color overrides to the animation timeline. Each block can have its own body color, with smooth blending during transitions.

Changes

  • Data model: Optional field on with validation against the 12-color palette
  • i18n: New keys for Color section UI (fr, en, zh)
  • Color resolution & blending: resolves per-block colors and blends using curves synchronized with shape morphing
  • Timeline UI: Color dots on block cards show which blocks have color overrides
  • Animations panel: New Color section with 12-color palette and Default button
  • Export: Per-block colors passed to off-screen renderer, filename uses 'multi' suffix

Testing

  • 214/214 tests passing
  • vite v8.2.1 building client environment for production...
    �[2K
    transforming...✓ 139 modules transformed.
    rendering chunks...
    computing gzip size...
    dist/index.html 4.62 kB │ gzip: 1.99 kB
    dist/assets/index-Dgqb1Wnb.css 32.25 kB │ gzip: 7.03 kB
    dist/assets/video-CgbLcBqL.js 0.77 kB │ gzip: 0.47 kB
    dist/assets/src-BW0JzxIk.js 167.94 kB │ gzip: 43.46 kB
    dist/assets/index-DpkfWxc0.js 175.63 kB │ gzip: 64.26 kB

✓ built in 474ms clean

  • Backward-compatible: existing blocks without color work unchanged

@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

@prem-thatikonda29 is attempting to deploy a commit to the Jeremy's projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant