The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
fix(studio): unify control states and refine header labels
open-design-crew[bot]5c0c1e599310
diff --git a/docs/product/architecture.md b/docs/product/architecture.mdindex 8df7b5d4..1d264e15 100644--- a/docs/product/architecture.md+++ b/docs/product/architecture.md@@ -18,9 +18,9 @@ Model Gateway remains a shared media-generation backend for MCP, using local Cod- Agent 与用户操作同一份工程,修改能在工作室继续编辑。- The project sidebar opens as a modal drawer over the editor at every viewport size. It starts closed, leaves the editor dimensions unchanged, and closes via its button, outside click or Escape. The header toggle remains mounted for focus restoration; privacy, theme and language settings live in the drawer footer. Error and empty-session views retain a drawer toggle so users can select an existing project or create one. Project rows show names without dates; the heading offers a New project button instead of a count. Creation uses the existing save and revision guards before opening the blank project.-- An empty, loaded root composition shows a centered import/drop prompt over the mounted preview and hides transport controls, including the placeholder duration. The empty state requires both no timeline clips and no authored preview content; loading, failed previews and nested compositions retain their existing states. Import uses the existing timeline gateway and file-drop pipeline. The empty timeline retains its drop target and ruler, with a muted dashed track sketch instead of a duplicate import prompt or button. Empty timelines disable zoom controls. A confirmed empty composition blocks new exports at both the settings button and the shared editor render-start handler, while existing export history remains available. Properties distinguish no content from no selection; small panel empty states share muted text and icon sizing. Preview zoom percentage and Fit sit in the MVP preview header, outside the picture. Clicking the percentage opens 50%, 75%, 100%, 150% and 200% presets in a compact opaque menu. The MVP hides the corner position navigator; existing zoom gestures and Fit remain available. Browser fullscreen is unavailable in the MVP, including its playback button and keyboard entry; workspace preview expansion remains available. Playback controls respond to their own container width: secondary-button gaps narrow below 420px, and speed/loop controls hide below 420px so timecode, play/pause and volume remain on one row. Preview and track volume use upward floating vertical sliders, opened by hover or keyboard focus; clicking the speaker still toggles mute.+- An empty, loaded root composition shows a centered import/drop prompt over the mounted preview and hides transport controls, including the placeholder duration. The empty state requires both no timeline clips and no authored preview content; loading, failed previews and nested compositions retain their existing states. Import uses the existing timeline gateway and file-drop pipeline. The empty timeline retains its drop target and ruler, with a muted dashed track sketch instead of a duplicate import prompt or button. Empty timelines disable zoom controls. A confirmed empty composition blocks new exports at both the settings button and the shared editor render-start handler, while existing export history remains available. Properties distinguish no content from no selection; small panel empty states share muted text and icon sizing. Preview zoom percentage and Fit sit in the MVP preview header, outside the picture. Clicking the percentage opens 50%, 75%, 100%, 150% and 200% presets in a compact opaque menu. The MVP hides the corner position navigator; existing zoom gestures and Fit remain available. Browser fullscreen is unavailable in the MVP, including its playback button and keyboard entry; workspace preview expansion remains available. Playback controls respond to their own container width: secondary-button gaps narrow below 420px, and speed/loop controls hide below 420px so timecode, play/pause and volume remain on one row. Preview and track volume use upward floating vertical sliders, opened by hover or keyboard focus; clicking the speaker still toggles mute. Editor controls share one neutral hover background for both ordinary and selected states, including visible keyboard focus and highlighted menu items. Primary Export actions retain their dark action hover surface. Disabled controls share one foreground token without per-control opacity, and never gain hover feedback. Official catalog/template surfaces and timeline clip bodies retain their existing presentation. The enabled play/pause icon uses the same action-color token as the header Export background, including hover.- The composition list places the full video first, preserves the remaining clip order, and marks the live preview target. Queued, loading, missing and failed covers share a muted gray OD placeholder without failure text; decoded covers replace it automatically. A confirmed empty root is omitted from this list using the same loaded-preview content check; when no clips remain, the panel shows a brief empty state. The MVP omits the duplicate preview breadcrumb; composition switching and existing return shortcuts remain available.-- The editor header keeps the OpenDesign logo, drawer toggle and template library on the left, centers the editable project name, and places undo/redo and export on the right. Clearing the title and committing with blur or Enter saves the localized Untitled default; Escape cancels. A logo-only community link sits immediately before Export and opens the public Discord community in every interface language, with a localized accessible tooltip; external links open separately from the editor. Undo, redo and version history form one visual group with 4px internal gaps; this group, the community link and Export use equal 16px gaps. A decorative 1px by 16px divider in the shared border color sits between history and community without moving the buttons; it hides with the history group on narrow screens. Transient save/error status remains available. Workspace and export failures show concise causes and available next steps, with raw diagnostics behind expandable, copyable details. Workspace connection failures use a persistent single-line feedback toast at the top center with a Reconnecting status and no buttons or diagnostic details. The Reconnecting ellipsis animates without changing the toast width; reduced-motion preferences keep it static. Automatic polling waits 1.8 seconds after each completed attempt and removes the toast on recovery; it has no overall retry limit or explicit per-request timeout and does not start a stopped service. Other notice dismissal does not bypass write guards. Editor toasts stack at the top center; editor, connection and template-copy feedback share a top-layer host above native dialogs and ordinary overlays, without taking focus. Template-copy feedback retains its existing placement and three-second lifetime; identical notices replace their previous instance. Error toasts use the compact neutral feedback surface and concise recognized causes, with a dismiss button and no details icon or expandable diagnostics. Detailed error panels retain their diagnostic controls. Informational toasts disappear after three seconds without a close control; actionable error notices remain dismissible and do not auto-expire. Save-queue pauses use a brief, localized feedback toast without paths, diagnostics or a retry action; it expires after three seconds without clearing the write guard or claiming that failed edits were saved. The template library reuses the website catalog layout: brand/use-case/video-type facets, configured featured templates, search and sorting, without site navigation, promotional hero or footer. Prism metadata and local cache updates drive the list. The catalog selects the editor locale from a shared multilingual publication, falling back to English and then the Resource default; template-copy prompts support the same eleven UI languages. Previews, author/source links and editable-project opening remain available. The detail view keeps the motion.md download action (`motionDocumentUrl`) above its guide content (`styleDescription`, `reviewFocus`, `motionGuideUrl`). Recreate opens a separate prompt dialog; copied instructions never occupy the guide area.+- The editor header keeps the OpenDesign logo, drawer toggle and template library on the left (the English entry is Template; Chinese remains 模板库), centers the editable project name, and places undo/redo and export on the right. Clearing the title and committing with blur or Enter saves the localized Untitled default; Escape cancels. A logo-only community link sits immediately before Export and opens the public Discord community in every interface language, with a localized accessible tooltip; external links open separately from the editor. Undo, redo and version history form one visual group with 4px internal gaps; the history group and community retain a 16px button gap. The community-to-Export button gap is 12px (18px from the 16px community icon to the Export edge), shifting only community and the three history icons right by 4px while Export and the other header content stay fixed. A decorative 1px by 16px divider in the shared border color sits between history and community without moving the buttons; it hides with the history group on narrow screens. Transient save/error status remains available. Workspace and export failures show concise causes and available next steps, with raw diagnostics behind expandable, copyable details. Workspace connection failures use a persistent single-line feedback toast at the top center with a Reconnecting status and no buttons or diagnostic details. The Reconnecting ellipsis animates without changing the toast width; reduced-motion preferences keep it static. Automatic polling waits 1.8 seconds after each completed attempt and removes the toast on recovery; it has no overall retry limit or explicit per-request timeout and does not start a stopped service. Other notice dismissal does not bypass write guards. Editor toasts stack at the top center; editor, connection and template-copy feedback share a top-layer host above native dialogs and ordinary overlays, without taking focus. Template-copy feedback retains its existing placement and three-second lifetime; identical notices replace their previous instance. Error toasts use the compact neutral feedback surface and concise recognized causes, with a dismiss button and no details icon or expandable diagnostics. Detailed error panels retain their diagnostic controls. Informational toasts disappear after three seconds without a close control; actionable error notices remain dismissible and do not auto-expire. Save-queue pauses use a brief, localized feedback toast without paths, diagnostics or a retry action; it expires after three seconds without clearing the write guard or claiming that failed edits were saved. The template library reuses the website catalog layout: brand/use-case/video-type facets, configured featured templates, search and sorting, without site navigation, promotional hero or footer. Prism metadata and local cache updates drive the list. The catalog selects the editor locale from a shared multilingual publication, falling back to English and then the Resource default; template-copy prompts support the same eleven UI languages. Previews, author/source links and editable-project opening remain available. The detail view keeps the motion.md download action (`motionDocumentUrl`) above its guide content (`styleDescription`, `reviewFocus`, `motionGuideUrl`). Recreate opens a separate prompt dialog; copied instructions never occupy the guide area.- The asset panel shows only the current project, with compact search/import controls, type filters, and a dedicated scrollable list. User-uploaded audio rows in My assets show full filenames with their original extensions and wrap long names within the panel; the generic Audio label is omitted, while duration and specific BGM/SFX/Voice labels remain when available. Official library sources and presentation are unchanged. Assets referenced by the current composition carry an In use badge (已使用 in Chinese); unused assets have no badge. MVP My assets deletion invokes the existing file-deletion handler directly from the menu, without a second confirmation; the full editor retains its confirmation. This does not introduce a new undo mechanism or alter official catalog assets. Usage filtering is omitted; used assets still sort first within each type. In both My assets and the official animation library, hover plays only the card thumbnail, while clicking opens a centered modal preview over a gray full-editor backdrop. The modal reuses Studio-styled playback, volume and speed controls; its play button stays centered, and speed/loop controls hide below 420px to avoid overlap. Volume and loop icons are 16px inside 28px buttons, and playback speed text is 12px; closing it restores access to the paused composition; previewing media does not add it to the project. The global cache view remains in source but has no editor entry in the MVP.- Panel positions are fixed. Export settings and render history live in a compact popover below the header Export button, outside the right panel. Both side groups can temporarily collapse into 48px vertical icon rails, giving their width to preview; the rail toggle restores the previous width and tab, while a module icon opens that module. Collapse does not remove panels or remount the player. Opening the MVP starts both sides collapsed and the timeline at 30% of the available dock height (subject to minimum sizes); users can then drag the divider to enlarge or reduce it. The fixed layout reserves at least 360px for preview, 260px for each expanded side panel. Side availability retains the existing conservative breakpoints, independently of the resizable minimums: below 740px both side groups and rails hide; from 740px to 1011px only one side can expand; wider hosts allow both only when their requested widths leave the preview floor intact. Opening a side through a toggle, module shortcut or programmatic activation uses the same fit check and closes the opposite side when necessary. Shrinking the host collapses expanded sides when they no longer fit; widening restores collapsed rails without automatically reopening panels. At widths smaller than the preview floor, preview uses the available workspace. Remembered expanded side widths remain available when reopening a side. Divider hover and drag change only the thin line to green. Divider resizing and per-project expanded-size persistence remain; panel movement, closing and layout presets are absent. Preview alone can temporarily expand within the editor workspace, keeping the host chat visible and the player mounted. Its header button or Escape restores the previous layout and playback position; expansion is not persisted across reloads.- MVP controls share a locally bundled Remix Icon 4.9.1 set with the reference design system. Menu selections consistently use check icons, and the language menu is 180px wide. Expanded side-panel tabs remain text-only; collapsed rails use the corresponding panel icons. Brand artwork and timeline geometry are separate from control icons.diff --git a/docs/reviews/motion-mvp-ui-followup/control-state-matrix-dark.json b/docs/reviews/motion-mvp-ui-followup/control-state-matrix-dark.jsonnew file mode 100644index 00000000..d1c6def4--- /dev/null+++ b/docs/reviews/motion-mvp-ui-followup/control-state-matrix-dark.json@@ -0,0 +1,107 @@+[+ {+ "bg": "rgb(73, 73, 73)",+ "color": "rgb(250, 250, 250)",+ "hover": true,+ "id": "normal",+ "opacity": "1"+ },+ {+ "bg": "rgb(73, 73, 73)",+ "color": "rgb(250, 250, 250)",+ "hover": true,+ "id": "selected",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.439608 0.439608 0.439608)",+ "hover": true,+ "id": "disabled30",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.439608 0.439608 0.439608)",+ "hover": true,+ "id": "disabled40",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.439608 0.439608 0.439608)",+ "hover": true,+ "id": "disabled45",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.439608 0.439608 0.439608)",+ "hover": true,+ "id": "disabled60",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.439608 0.439608 0.439608)",+ "hover": true,+ "id": "disabledAria",+ "opacity": "1"+ },+ {+ "bg": "rgb(237, 237, 237)",+ "color": "rgb(32, 32, 32)",+ "hover": true,+ "id": "primary",+ "opacity": "1"+ },+ {+ "bg": "rgb(73, 73, 73)",+ "color": "color(srgb 0.439608 0.439608 0.439608)",+ "hover": true,+ "id": "primaryDisabled",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.439608 0.439608 0.439608)",+ "hover": true,+ "id": "inputDisabled",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.439608 0.439608 0.439608)",+ "hover": true,+ "id": "menuDisabled",+ "opacity": "1"+ },+ {+ "bg": "rgb(73, 73, 73)",+ "color": "rgb(250, 250, 250)",+ "hover": true,+ "id": "menuHighlighted",+ "opacity": "1"+ },+ {+ "bg": "rgb(0, 0, 255)",+ "color": "rgb(255, 255, 255)",+ "hover": true,+ "id": "catalog",+ "opacity": "1"+ },+ {+ "bg": "rgb(0, 0, 255)",+ "color": "rgb(255, 255, 255)",+ "hover": true,+ "id": "template",+ "opacity": "1"+ },+ {+ "bg": "rgb(0, 0, 255)",+ "color": "rgb(255, 255, 255)",+ "hover": true,+ "id": "clip",+ "opacity": "1"+ }+]\ No newline at end of filediff --git a/docs/reviews/motion-mvp-ui-followup/control-state-matrix.json b/docs/reviews/motion-mvp-ui-followup/control-state-matrix.jsonnew file mode 100644index 00000000..90506380--- /dev/null+++ b/docs/reviews/motion-mvp-ui-followup/control-state-matrix.json@@ -0,0 +1,122 @@+[+ {+ "bg": "rgb(237, 237, 237)",+ "color": "rgb(32, 32, 32)",+ "cursor": "pointer",+ "hover": true,+ "id": "normal",+ "opacity": "1"+ },+ {+ "bg": "rgb(237, 237, 237)",+ "color": "rgb(32, 32, 32)",+ "cursor": "pointer",+ "hover": true,+ "id": "selected",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.723922 0.723922 0.723922)",+ "cursor": "not-allowed",+ "hover": true,+ "id": "disabled30",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.723922 0.723922 0.723922)",+ "cursor": "not-allowed",+ "hover": true,+ "id": "disabled40",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.723922 0.723922 0.723922)",+ "cursor": "not-allowed",+ "hover": true,+ "id": "disabled45",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.723922 0.723922 0.723922)",+ "cursor": "not-allowed",+ "hover": true,+ "id": "disabled60",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.723922 0.723922 0.723922)",+ "cursor": "not-allowed",+ "hover": true,+ "id": "disabledAria",+ "opacity": "1"+ },+ {+ "bg": "rgb(53, 53, 53)",+ "color": "rgb(250, 250, 250)",+ "cursor": "pointer",+ "hover": true,+ "id": "primary",+ "opacity": "1"+ },+ {+ "bg": "rgb(237, 237, 237)",+ "color": "color(srgb 0.723922 0.723922 0.723922)",+ "cursor": "not-allowed",+ "hover": true,+ "id": "primaryDisabled",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.723922 0.723922 0.723922)",+ "cursor": "not-allowed",+ "hover": true,+ "id": "inputDisabled",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.723922 0.723922 0.723922)",+ "cursor": "not-allowed",+ "hover": true,+ "id": "menuDisabled",+ "opacity": "1"+ },+ {+ "bg": "rgb(237, 237, 237)",+ "color": "rgb(32, 32, 32)",+ "cursor": "auto",+ "hover": true,+ "id": "menuHighlighted",+ "opacity": "1"+ },+ {+ "bg": "rgb(0, 0, 255)",+ "color": "rgb(255, 255, 255)",+ "cursor": "pointer",+ "hover": true,+ "id": "catalog",+ "opacity": "1"+ },+ {+ "bg": "rgb(0, 0, 255)",+ "color": "rgb(255, 255, 255)",+ "cursor": "pointer",+ "hover": true,+ "id": "template",+ "opacity": "1"+ },+ {+ "bg": "rgb(0, 0, 255)",+ "color": "rgb(255, 255, 255)",+ "cursor": "pointer",+ "hover": true,+ "id": "clip",+ "opacity": "1"+ }+]\ No newline at end of filediff --git a/docs/reviews/motion-mvp-ui-followup/editor-unified-states-final.png b/docs/reviews/motion-mvp-ui-followup/editor-unified-states-final.pngnew file mode 100644index 00000000..da63e433Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/editor-unified-states-final.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/editor-unified-states-narrow.png b/docs/reviews/motion-mvp-ui-followup/editor-unified-states-narrow.pngnew file mode 100644index 00000000..4d11b7beBinary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/editor-unified-states-narrow.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/header-18px-after.png b/docs/reviews/motion-mvp-ui-followup/header-18px-after.pngnew file mode 100644index 00000000..81e984a4Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/header-18px-after.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/interaction-update.md b/docs/reviews/motion-mvp-ui-followup/interaction-update.mdindex 43250bc3..f76f0c9d 100644--- a/docs/reviews/motion-mvp-ui-followup/interaction-update.md+++ b/docs/reviews/motion-mvp-ui-followup/interaction-update.md@@ -136,3 +136,24 @@ The user accepted the existing spacing and requested a small divider after versi| Remote WorkBuddy and dark-theme walkthrough | Unverified | Local light-theme browser only; dark colors follow the shared border token by source inspection. |The working production build and assembled PR check, Studio typecheck/build, 20 MotionStudioHost cases and scoped whitespace checks passed. The editor remains open, paused at zero. No project source/media/timing/volume changes or service restart were performed. Only this divider and its documentation/evidence were transferred to the publish checkout.+++## Unified control states and compact header labels (2026-11-12)++Ordinary and selected editor controls now use the **same** neutral hover background, as explicitly confirmed by the user. Visible keyboard focus and highlighted menu items use that same surface; primary actions retain their semantic action hover. A shared editor state stylesheet replaces scattered opacity differences with one disabled foreground token and opacity 1. Disabled controls do not gain hover feedback. The scope includes header, panel, player, timeline-toolbar and menu controls; preview iframe content, timeline clip bodies and official catalog/template surfaces are excluded. A catalog-root marker only establishes that exclusion and does not restyle the library.++Volume, speed and loop now have visible hover feedback. The enabled play/pause control, including its SVG/use color, matches Export's action background. The header entry reads **Template** in English, retains **模板库** in Chinese and leaves other translations and the modal title unchanged. Its grid icon uses the stronger shared foreground.++The visible community-icon-to-Export gap is now **18px**, replacing 22px (button-box gap 12px instead of 16px). Only community and Undo/Redo/history move right by 4px. Logo, Template, project title and Export positions remain fixed; history internal gaps stay 4px and history-to-community stays 16px. The existing short divider remains. This supersedes the equal outer gaps described in the earlier grouping entry.++| Check | Result | Evidence / boundary |+| --- | --- | --- |+| Actual editor hover and disabled states | Pass | Nine measured samples cover Template, history, play, volume, speed, loop, selected Select, Split and disabled Undo. Enabled neutral hover is rgb(237, 237, 237); disabled Undo remains transparent with the shared foreground and opacity 1. [Samples](real-editor-state-samples.json), [player hover](unified-player-hover.png). |+| Light/dark shared state cascade | Pass, isolated | Fifteen production-CSS fixture samples per theme cover ordinary/selected/highlighted hover, legacy opacity classes, native/ARIA/data-disabled controls, primary actions, disabled input and protected catalog/template/clip probes. [Light](control-state-matrix.json), [dark](control-state-matrix-dark.json). This is style coverage, not full workflow acceptance. |+| Header geometry and color | Pass | Same-viewport before/after measurements show only the four intended icons moving +4px; icon-to-Export gap is exactly 18px. Play and Export both compute to rgb(32, 32, 32). [Spacing](header-18px-after.png), [final editor](editor-unified-states-final.png). |+| English and Chinese | Pass | Switched the real interface to Chinese and verified 模板库; restored English and verified Template and the stronger icon. No translation changes to other locales. |+| Responsive layout and restoration | Pass | Real production editor inspected at 1054px and 680px. History and its divider hide at the existing breakpoint, community/Export remain visible. [Narrow](editor-unified-states-narrow.png). Viewport override removed; both panels restored to Compositions / Layers. |+| Project safety and workflow transitions | Unchanged | Editor remains open, paused at zero, with original 0.5x speed and audio/loop settings. No real media, timing, volume, source, export or history mutation; no restart of 4173. Loading, error, empty-state, save and request-race behavior are unchanged. |+| Complete workflow, accessibility and remote acceptance | Unverified | Not every property/menu workflow was manually exercised. No assistive-technology walkthrough or WorkBuddy verification. Dark-theme visual coverage used an isolated production-CSS fixture rather than changing the user's preference. |++Validation: 65 tests across eight affected files passed in the assembled PR checkout. Repository check, Studio typecheck/build and scoped whitespace checks passed there; main-checkout Studio typecheck/build also passed. The real editor was refreshed after rebuilding. Only the incremental source changes, architecture clarification and this evidence were transferred; existing working changes and publish-checkout differences were retained.diff --git a/docs/reviews/motion-mvp-ui-followup/real-editor-state-samples.json b/docs/reviews/motion-mvp-ui-followup/real-editor-state-samples.jsonnew file mode 100644index 00000000..dedf8aef--- /dev/null+++ b/docs/reviews/motion-mvp-ui-followup/real-editor-state-samples.json@@ -0,0 +1,74 @@+[+ {+ "bg": "rgb(237, 237, 237)",+ "color": "rgb(32, 32, 32)",+ "disabled": false,+ "hover": true,+ "label": "Template",+ "opacity": "1"+ },+ {+ "bg": "rgb(237, 237, 237)",+ "color": "rgb(32, 32, 32)",+ "disabled": false,+ "hover": true,+ "label": "Version history",+ "opacity": "1"+ },+ {+ "bg": "rgb(237, 237, 237)",+ "color": "rgb(32, 32, 32)",+ "disabled": false,+ "hover": true,+ "label": "Play",+ "opacity": "1"+ },+ {+ "bg": "rgb(237, 237, 237)",+ "color": "rgb(32, 32, 32)",+ "disabled": false,+ "hover": true,+ "label": "Mute audio",+ "opacity": "1"+ },+ {+ "bg": "rgb(237, 237, 237)",+ "color": "rgb(32, 32, 32)",+ "disabled": false,+ "hover": true,+ "label": "Playback speed",+ "opacity": "1"+ },+ {+ "bg": "rgb(237, 237, 237)",+ "color": "rgb(32, 32, 32)",+ "disabled": false,+ "hover": true,+ "label": "Enable loop playback",+ "opacity": "1"+ },+ {+ "bg": "rgb(237, 237, 237)",+ "color": "rgb(32, 32, 32)",+ "disabled": false,+ "hover": true,+ "label": "Select",+ "opacity": "1"+ },+ {+ "bg": "rgb(237, 237, 237)",+ "color": "rgb(32, 32, 32)",+ "disabled": false,+ "hover": true,+ "label": "Split",+ "opacity": "1"+ },+ {+ "bg": "rgba(0, 0, 0, 0)",+ "color": "color(srgb 0.723922 0.723922 0.723922)",+ "disabled": true,+ "hover": true,+ "label": "Undo",+ "opacity": "1"+ }+]\ No newline at end of filediff --git a/docs/reviews/motion-mvp-ui-followup/unified-player-hover.png b/docs/reviews/motion-mvp-ui-followup/unified-player-hover.pngnew file mode 100644index 00000000..6bb67b3cBinary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/unified-player-hover.png differdiff --git a/studio/src/components/sidebar/BlocksTab.tsx b/studio/src/components/sidebar/BlocksTab.tsxindex 0b44e5b9..9bf505c8 100644--- a/studio/src/components/sidebar/BlocksTab.tsx+++ b/studio/src/components/sidebar/BlocksTab.tsx@@ -58,7 +58,7 @@ export const BlocksTab = memo(function BlocksTab({ onAddBlock, onPreviewBlock }:}return (- <div className="flex flex-col flex-1 min-h-0">+ <div data-motion-catalog className="flex flex-col flex-1 min-h-0">{/* Search */}<div className="px-3 pt-2 pb-1 shrink-0"><SearchInputdiff --git a/studio/src/motion/MotionStudioHost.tsx b/studio/src/motion/MotionStudioHost.tsxindex 89efa766..5e9f2d4a 100644--- a/studio/src/motion/MotionStudioHost.tsx+++ b/studio/src/motion/MotionStudioHost.tsx@@ -127,10 +127,11 @@ function WorkspaceHistoryActions() {}function WorkspaceActions() {- const { t } = useI18n();+ const { t, locale } = useI18n();+ const label = locale === 'en' ? 'Template' : t('Template library');const { switchingDisabled, openLibrary } = useWorkspaceChrome();return <div className="motion-workspace-actions">- <button className="motion-button motion-button-quiet" aria-label={t("Template library")} title={t("Template library")} aria-haspopup="dialog" disabled={switchingDisabled} onClick={event => openLibrary(event.currentTarget)}><MotionIcon name="grid" /><span className="motion-template-label">{t("Template library")}</span></button>+ <button className="motion-button motion-button-quiet" aria-label={label} title={label} aria-haspopup="dialog" disabled={switchingDisabled} onClick={event => openLibrary(event.currentTarget)}><MotionIcon name="grid" /><span className="motion-template-label">{label}</span></button></div>;}diff --git a/studio/src/motion/controlStates.css b/studio/src/motion/controlStates.cssnew file mode 100644index 00000000..1c56b11b--- /dev/null+++ b/studio/src/motion/controlStates.css@@ -0,0 +1,42 @@+/* One interaction palette for editor chrome; authored content and catalogs keep+ their own presentation. Scope by document so preview iframes are unaffected. */+:root[data-motion-ui][data-motion-studio] {+ --motion-control-disabled: color-mix(in srgb, var(--motion-strong) 30%, var(--motion-panel));+}++:root[data-motion-ui][data-motion-studio] :is(button, [role="button"], [role="tab"], [role="combobox"], [role="option"], [role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"], .motion-community-link):not(:where(.connection-dialog *, .connect-preview-dialog *, .motion-library *, [data-motion-catalog] *, .timeline-clip, .timeline-clip *)) {+ &:not(:disabled):not([aria-disabled="true"]):not([data-disabled]):not(.hf-od-primary, .motion-button-primary, .bg-danger):is(:hover, :focus-visible, [data-highlighted]) {+ background-color: var(--motion-hover);+ color: var(--motion-strong);+ }++ /* Primary actions keep their semantic surface instead of a neutral wash. */+ &:is(.hf-od-primary, .motion-button-primary):not(:disabled):not([aria-disabled="true"]):is(:hover, :focus-visible) {+ background-color: var(--motion-action-hover);+ color: var(--motion-on-action);+ }++ &.motion-player-play:enabled:is(:hover, :focus-visible) {+ color: var(--motion-action);+ }++ &:is(:disabled, [aria-disabled="true"], [data-disabled]) {+ color: var(--motion-control-disabled);+ background-color: transparent;+ opacity: 1;+ cursor: not-allowed;+ filter: none;++ & :is(span, svg) { color: inherit; opacity: 1; }+ }++ &:is(.hf-od-primary, .motion-button-primary):is(:disabled, [aria-disabled="true"], [data-disabled]) {+ background-color: var(--motion-inset);+ }+}++:root[data-motion-ui][data-motion-studio] :is(input, textarea, select):disabled:not(:where(.connection-dialog *, .connect-preview-dialog *, [data-motion-catalog] *)) {+ color: var(--motion-control-disabled);+ opacity: 1;+ cursor: not-allowed;+}diff --git a/studio/src/motion/theme.css b/studio/src/motion/theme.cssindex 2c97d463..1dc97bb9 100644--- a/studio/src/motion/theme.css+++ b/studio/src/motion/theme.css@@ -1,3 +1,5 @@+@import './controlStates.css';+/* OpenDesign Motion adapter. The shared token JSON owns all UI colors. */:root[data-motion-ui] :is(input, textarea)::placeholder { color: var(--motion-placeholder); opacity: 1; }:root[data-motion-ui] .motion-audio-row { padding-inline: 6px; gap: 6px; }@@ -102,7 +104,6 @@ button, input, select, textarea { font-family: inherit; }:root[data-motion-ui] :is(.motion-timeline-toolbar, .motion-header-history-actions) button:disabled { color: color-mix(in srgb, var(--motion-strong) 30%, var(--motion-panel)); opacity: 1; cursor: not-allowed; }:root[data-motion-ui] :is(.motion-timeline-toolbar, .motion-player-controls) button:enabled:hover { color: var(--motion-strong); }:root[data-motion-ui] :is(.motion-timeline-toolbar, .motion-player-controls) button[aria-pressed="true"]:not([data-studio-control="mute"]):enabled { color: var(--motion-strong); background: var(--motion-inset); }-:root[data-motion-ui] :is(.motion-timeline-toolbar, .motion-player-controls) button[aria-pressed="true"]:not([data-studio-control="mute"]):enabled:hover { background: var(--motion-border); }.hf-dock .dv-tab { border-radius: 0; height: 34px; padding: 0 8px; }.hf-dock .dv-scrollable { height: 34px; }.hf-dock-tab-fill { height: 34px; border-radius: 0; background: transparent; }@@ -206,7 +207,8 @@ button, input, select, textarea { font-family: inherit; }.motion-studio-header .motion-button { height: 28px; padding: 0 9px; font-size: 11px; }.motion-studio-header [data-testid="header-export"] { background: var(--motion-action); color: var(--motion-on-action); }.motion-studio-header [data-testid="header-export"]:enabled:hover { background: var(--motion-action-hover); }-:root[data-motion-studio] button[data-studio-control="playback"] svg { fill: var(--motion-strong); }+:root[data-motion-studio] .motion-player-controls .motion-player-play:enabled { color: var(--motion-action); }+:root[data-motion-studio] .motion-player-play svg { fill: currentColor; }@media(max-width: 1100px) {.motion-studio-header { gap: 12px; padding-inline: 12px; }.motion-studio-header > div:first-child { gap: 10px; }@@ -346,7 +348,9 @@ button, input, select, textarea { font-family: inherit; }.motion-studio-header-centered .motion-header-history-actions::after { content: ""; position: absolute; top: 50%; right: -8px; width: 1px; height: 16px; transform: translateY(-50%); background: var(--motion-border); pointer-events: none; }.motion-studio-header-centered .motion-workspace-actions { padding-right: 0; margin-right: 0; border-right: 0; }.motion-community-link { flex-shrink: 0; }+.motion-studio-header-centered .motion-community-link { margin-inline-end: -4px; }.motion-community-link img { display: block; }+.motion-workspace-actions .motion-icon { color: var(--motion-strong); }.motion-header-brand { display: inline-flex; align-items: center; gap: 10px; }.motion-header-brand img { display: block; width: 104px; height: auto; }.motion-header-project .motion-project-control { justify-content: center; }@@ -443,7 +447,7 @@ button, input, select, textarea { font-family: inherit; }/* Passive empty hints share the disabled-control tone in both themes. */.motion-panel-empty-content { color: color-mix(in srgb, var(--motion-strong) 30%, var(--motion-panel)); font-size: 12px; line-height: 1.5; }.motion-panel-empty-content :is(svg, p) { color: inherit; font-size: inherit; }-:root[data-motion-ui] .motion-timeline-zoom input:disabled { opacity: .3; cursor: not-allowed; }+:root[data-motion-ui] .motion-timeline-zoom input:disabled { cursor: not-allowed; }:root[data-motion-ui] .motion-timeline-zoom input:disabled::-webkit-slider-thumb { cursor: not-allowed; }/* The outlined Import button needs spacing, not another divider. */