Files
openmotion/packages/design-system/studio.css
Tom Huang 25490a6c1c Polish MCP onboarding, template previews, and sharing metadata (#402)
* Polish MCP onboarding, template previews, and sharing metadata

Start Agent setup from public installation guidance, reuse template preview cards, simplify MCP copy, and refresh social metadata with the README hero.

* Reuse setupGuideUrl in templatePrompt

templatePrompt resolved the published install-guide URL inline, so the
published-artifact path added in this branch had two sources that could
drift. Delegate to setupGuideUrl and cover the template prompt for the
default and dev catalog environments.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

---------

Co-authored-by: looper <luogao@users.noreply.github.com>
2026-11-15 19:19:58 +08:00

57 lines
1.9 KiB
CSS

/* Shared Studio presentation. Application layout and business behavior stay in Studio. */
@import "./tokens.css";
@import "./fonts.css";
@import "./controls.css";
@import "./material.css";
@import "./studio/adapter.css";
@import "./studio/control-states.css";
@import "./studio/feedback.css";
@import "./studio/editor-workspace.css";
@import "./studio/application.css";
@import "./studio/mcp.css";
@import "./studio/template-cards.css";
/* Asset geometry is shared; currentColor follows the application's selected theme. */
.motion-brand-lockup {
display: inline-block;
flex: none;
height: var(--motion-space-24);
aspect-ratio: 141.625 / 24;
vertical-align: middle;
background: currentColor;
mask: url("./brand/openmotion-logo.svg") center / contain no-repeat;
}
/* Shared placement feedback: crisp target geometry and a readable live readout. */
.motion-placement-outline {
border: 2px solid var(--motion-accent);
border-radius: var(--motion-radius-sm);
background: var(--motion-accent-soft);
}
.motion-placement-label {
position: absolute;
z-index: 65;
display: flex;
align-items: center;
gap: var(--motion-space-8);
padding: var(--motion-space-4) var(--motion-space-8);
border: 1px solid var(--motion-border);
border-radius: var(--motion-radius-sm);
background: var(--motion-raised);
color: var(--motion-strong);
box-shadow: var(--motion-shadow-sm);
font-size: var(--motion-text-xs);
line-height: 1;
white-space: nowrap;
pointer-events: none;
overflow: hidden;
}
.motion-placement-label strong { font-family: var(--motion-font-mono); font-weight: var(--motion-weight-medium); font-variant-numeric: tabular-nums; }
.motion-placement-label[data-snapped] { border-color: var(--motion-accent); }
@container (max-width: 700px) {
.motion-brand-lockup--responsive {
aspect-ratio: 1;
mask-image: url("./brand/loading-mark.svg");
}
}