Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Remove blur, glows, lifts and eyebrow caps from chrome

Bitti092d54c60eb2
diff --git a/src/styles/agent-dock.css b/src/styles/agent-dock.css
index daac041..bef58b8 100644
--- a/src/styles/agent-dock.css
+++ b/src/styles/agent-dock.css
@@ -78,7 +78,6 @@
font-size: var(--text-2xl);
font-weight: var(--weight-semibold);
line-height: var(--leading-tight);
- letter-spacing: var(--tracking-tight);
text-align: center;
}
@@ -92,10 +91,10 @@
visibility: hidden;
transform: translateY(6px);
transition:
- flex-grow 180ms ease,
- opacity 140ms ease,
- transform 180ms ease,
- visibility 0s linear 180ms;
+ flex-grow var(--motion-panel) var(--ease-decelerate),
+ opacity var(--motion-normal) linear,
+ transform var(--motion-panel) var(--ease-decelerate),
+ visibility 0s linear var(--motion-panel);
}
.agent-dock-wrap--expanded .agent-expanded-content {
@@ -226,11 +225,6 @@
animation: spin 1.2s linear infinite;
}
-.agent-dock:has(textarea:focus-visible) {
- outline: var(--focus-ring-width) solid var(--focus-ring-color);
- outline-offset: 2px;
-}
-
/* --- Provider selector ----------------------------------------------------- */
.agent-provider {
@@ -291,10 +285,11 @@
z-index: 30;
min-width: 180px;
padding: var(--space-1);
- border: 1px solid var(--line-strong);
- border-radius: var(--radius-md);
- background: var(--panel-2);
- box-shadow: var(--shadow);
+ border: 1px solid var(--stroke-surface);
+ border-radius: var(--radius-lg);
+ background: var(--acrylic);
+ backdrop-filter: var(--acrylic-filter);
+ box-shadow: var(--shadow-sm);
}
.agent-provider__option {
@@ -361,11 +356,13 @@
overflow: auto;
margin-bottom: var(--space-3);
padding: var(--space-2);
- border: 1px solid var(--line-solid);
- border-radius: var(--radius-md);
- background: var(--glass);
- box-shadow: var(--shadow);
- backdrop-filter: blur(12px);
+ border: 1px solid var(--stroke-surface);
+ border-radius: var(--radius-lg);
+ /* A flyout over the workspace, so it is one of the few surfaces allowed
+ acrylic (tokens.css rule 11). */
+ background: var(--acrylic);
+ box-shadow: var(--shadow-sm);
+ backdrop-filter: var(--acrylic-filter);
}
.agent-dock-wrap--expanded .agent-conversation {
@@ -396,10 +393,8 @@
.agent-conversation b {
color: var(--accent-bright);
font-size: var(--text-xs);
- font-weight: var(--weight-bold);
+ font-weight: var(--weight-semibold);
line-height: var(--leading-normal);
- letter-spacing: var(--tracking-label);
- text-transform: uppercase;
}
.agent-conversation__user b {
@@ -429,39 +424,29 @@
color: var(--danger) !important;
}
+/* "Waiting for a reply" is a 16px Fluent ProgressRing, not three bouncing
+ dots. The markup still renders the three <i>s; they are hidden and the
+ ring is drawn by the wrapper itself, the same arc as .progress-ring. */
.agent-conversation__waiting-dots {
min-height: 1.5em;
display: inline-flex;
align-items: center;
- gap: var(--space-1);
+ color: var(--accent-bright);
}
-.agent-conversation__waiting-dots i {
- width: 5px;
- height: 5px;
- display: block;
+.agent-conversation__waiting-dots::before {
+ content: "";
+ width: 16px;
+ height: 16px;
+ border: 2px solid transparent;
+ border-top-color: currentColor;
+ border-right-color: currentColor;
border-radius: 50%;
- background: var(--accent-bright);
- animation: agent-waiting-dot 1.1s ease-in-out infinite;
+ animation: spin 0.9s linear infinite;
}
-.agent-conversation__waiting-dots i:nth-child(2) {
- animation-delay: 0.14s;
-}
-
-.agent-conversation__waiting-dots i:nth-child(3) {
- animation-delay: 0.28s;
-}
-
-@keyframes agent-waiting-dot {
- 0%, 60%, 100% {
- opacity: 0.35;
- transform: translateY(0);
- }
- 30% {
- opacity: 1;
- transform: translateY(-3px);
- }
+.agent-conversation__waiting-dots i {
+ display: none;
}
@media (prefers-reduced-motion: reduce) {
@@ -477,8 +462,8 @@
animation-iteration-count: infinite !important;
}
- .agent-conversation__waiting-dots i {
- animation-duration: 1.1s !important;
+ .agent-conversation__waiting-dots::before {
+ animation-duration: 0.9s !important;
animation-iteration-count: infinite !important;
}
}
diff --git a/src/styles/controls.css b/src/styles/controls.css
index bc7f34e..b194638 100644
--- a/src/styles/controls.css
+++ b/src/styles/controls.css
@@ -215,8 +215,6 @@
font-size: var(--text-2xs);
font-weight: var(--weight-bold);
line-height: var(--leading-snug);
- text-transform: uppercase;
- letter-spacing: var(--tracking-label);
}
/* --- Back link ------------------------------------------------------------- */
@@ -272,7 +270,6 @@
color: var(--text-muted);
background: none;
font-size: var(--text-2xs);
- letter-spacing: var(--tracking-label);
}
.panel-chrome button:hover {
@@ -334,7 +331,7 @@
border: 1px solid var(--danger-line);
border-radius: var(--radius-lg);
background: var(--danger-soft);
- box-shadow: var(--shadow);
+ box-shadow: var(--shadow-sm);
display: grid;
grid-template-columns: 1fr auto;
gap: var(--space-1) var(--space-4);
diff --git a/src/styles/exit-guard.css b/src/styles/exit-guard.css
index 87eb147..00feff4 100644
--- a/src/styles/exit-guard.css
+++ b/src/styles/exit-guard.css
@@ -2,9 +2,8 @@
exit-guard.css — the confirmation shown before an exit that would throw away
a generation the engine is still working on.
- Colours come from tokens.css only. The scrim is painted by a ::before layer
- rather than an rgba() literal so it follows whatever --bg becomes: a hard
- -coded dark wash would be a white-on-white bug the day a light theme lands.
+ Colours come from tokens.css only. The scrim is the flat --scrim token,
+ painted by a ::before layer: no blur (blur is for menus and flyouts only).
========================================================================== */
.exit-guard-backdrop {
@@ -20,9 +19,7 @@
content: "";
position: absolute;
inset: 0;
- background: var(--bg);
- opacity: 0.82;
- backdrop-filter: blur(5px);
+ background: var(--scrim);
}
.exit-guard {
@@ -31,9 +28,9 @@
display: grid;
gap: var(--space-4);
padding: var(--space-6);
- border: 1px solid var(--line-strong);
- border-radius: var(--radius-lg);
- background: var(--panel-2);
+ border: 1px solid var(--stroke-surface);
+ border-radius: var(--radius-xl);
+ background: var(--dialog-bg);
box-shadow: var(--shadow);
}
@@ -124,8 +121,6 @@
font-size: var(--text-2xs);
font-style: normal;
font-family: var(--font-mono);
- letter-spacing: var(--tracking-label);
- text-transform: uppercase;
}
.exit-guard__jobs .exit-guard__more {
@@ -145,12 +140,12 @@
Generator's inspector column, so it cannot sit in a row of two; this is the
same colour contract at button-row proportions. */
.exit-guard__confirm {
- min-height: var(--control-lg);
+ min-height: var(--control-md);
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--space-2);
- padding: 0 var(--space-5);
+ padding: 0 var(--space-3);
border: 1px solid var(--danger);
border-radius: var(--radius-md);
color: var(--danger);
@@ -158,7 +153,7 @@
font-size: var(--text-base);
font-weight: var(--weight-semibold);
line-height: var(--leading-snug);
- transition: 0.18s ease;
+ transition: var(--transition-control);
}
.exit-guard__confirm:hover {
diff --git a/src/styles/export.css b/src/styles/export.css
index 014d6f5..8ab6561 100644
--- a/src/styles/export.css
+++ b/src/styles/export.css
@@ -2,7 +2,8 @@
export.css — the Export screen: settings, preview, and the run itself.
Sizing contract (see tokens.css): no literal px type sizes, nothing below
- --text-2xs (12px), every interactive control at least --control-sm (36px).
+ --text-2xs (12px), standard controls --control-md (32px), compact ones
+ --control-sm (24px).
========================================================================== */
.export-view {
@@ -30,7 +31,6 @@
font-size: var(--text-2xl);
font-weight: var(--weight-semibold);
line-height: var(--leading-tight);
- letter-spacing: var(--tracking-hero);
}
/* Export, and Cancel while it runs — the same place the References screen puts
@@ -61,9 +61,7 @@
background: var(--success-soft);
font-size: var(--text-xs);
font-weight: var(--weight-semibold);
- letter-spacing: var(--tracking-label);
- text-transform: uppercase;
- animation: export-toast-in 0.18s ease-out;
+ animation: export-toast-in var(--motion-normal) var(--ease-decelerate);
}
.export-toast svg {
@@ -126,7 +124,6 @@
margin: 0 0 var(--space-3);
font-size: var(--text-md);
font-weight: var(--weight-semibold);
- letter-spacing: var(--tracking-tight);
}
.export-settings h2:not(:first-of-type) {
@@ -235,7 +232,10 @@
visibility: hidden;
transform: translateY(12px);
pointer-events: none;
- transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.22s;
+ transition:
+ opacity var(--motion-normal) linear,
+ transform var(--motion-panel) var(--ease-decelerate),
+ visibility 0s linear var(--motion-panel);
}
.export-stage--controls-visible .export-transport,
@@ -249,23 +249,22 @@
.export-transport button {
flex: 0 0 auto;
- width: var(--control-sm);
- height: var(--control-sm);
+ width: var(--icon-button);
+ height: var(--icon-button);
display: grid;
place-items: center;
padding: 0;
border: 0;
- border-radius: 50%;
+ border-radius: var(--radius-sm);
color: var(--on-stage);
background: transparent;
filter: drop-shadow(0 1px 2px color-mix(in srgb, var(--stage-bg) 55%, transparent));
- transition: color 0.14s ease, background-color 0.14s ease, transform 0.14s ease;
+ transition: var(--transition-control);
}
.export-transport button:hover:not(:disabled) {
color: var(--on-stage);
background: color-mix(in srgb, var(--on-stage) 16%, transparent);
- transform: scale(1.06);
}
.export-transport button:focus-visible {
@@ -337,7 +336,7 @@
}
.export-transport input[type="range"]:focus-visible::-webkit-slider-thumb {
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--on-stage) 35%, transparent), 0 1px 4px color-mix(in srgb, var(--stage-bg) 55%, transparent);
+ box-shadow: 0 0 0 1px var(--stage-bg), 0 0 0 3px var(--on-stage);
}
.export-transport output {
@@ -390,8 +389,6 @@
color: var(--text-muted);
font-size: var(--text-2xs);
font-weight: var(--weight-medium);
- letter-spacing: var(--tracking-label);
- text-transform: uppercase;
}
.export-fields select {
@@ -447,8 +444,6 @@
color: var(--text-muted);
font-size: var(--text-2xs);
font-weight: var(--weight-medium);
- letter-spacing: var(--tracking-label);
- text-transform: uppercase;
}
.export-summary dd {
@@ -501,8 +496,6 @@
color: var(--warning);
font-size: var(--text-xs);
font-weight: var(--weight-semibold);
- letter-spacing: var(--tracking-label);
- text-transform: uppercase;
}
.export-notice--bad h3 {
diff --git a/src/styles/generator.css b/src/styles/generator.css
index 16a9f26..c500922 100644
--- a/src/styles/generator.css
+++ b/src/styles/generator.css
@@ -3,8 +3,8 @@
that edits whatever is open on it.
Legibility contract: body copy is --text-base, the smallest text anywhere is
- --text-2xs (12px) and only for mono micro-labels, every interactive element
- clears --control-sm (36px). No raw px type, no hand-written greys.
+ --text-2xs (12px), standard controls are --control-md (32px) and compact
+ ones --control-sm (24px). No raw px type, no hand-written greys.
========================================================================== */
.generator-view {
@@ -80,7 +80,7 @@
background: color-mix(in srgb, var(--success) 10%, var(--panel-2));
font-size: var(--text-sm);
font-weight: var(--weight-semibold);
- transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
+ transition: var(--transition-control);
}
.generator-runtime__trigger:hover,
@@ -91,12 +91,11 @@
.generator-runtime__trigger:focus-visible {
border-color: var(--success);
- box-shadow: 0 0 0 2px var(--success-line);
}
.generator-runtime__trigger > svg {
flex: 0 0 auto;
- transition: transform 0.15s ease;
+ transition: transform var(--motion-normal) var(--ease-decelerate);
}
.generator-runtime__select--open .generator-runtime__trigger > svg {
@@ -136,7 +135,7 @@
overflow-y: auto;
padding: var(--space-1);
border: 1px solid var(--success-line);
- border-radius: var(--radius-md);
+ border-radius: var(--radius-lg);
background: color-mix(in srgb, var(--success) 9%, var(--panel-2));
box-shadow: var(--shadow-sm);
scrollbar-color: var(--success-line) transparent;
@@ -201,7 +200,6 @@
.generator-runtime--modelsMissing .generator-runtime__trigger:focus-visible {
border-color: var(--danger);
- box-shadow: 0 0 0 2px var(--danger-line);
}
.generator-runtime--modelsMissing .generator-runtime__options {
@@ -222,7 +220,6 @@
.generator-runtime--modelsMissing .generator-runtime__options button i {
background: var(--danger);
- box-shadow: 0 0 8px color-mix(in srgb, var(--danger) 45%, transparent);
}
@media (prefers-reduced-motion: reduce) {
@@ -282,7 +279,6 @@
font-size: var(--text-2xl);
font-weight: var(--weight-semibold);
line-height: var(--leading-tight);
- letter-spacing: var(--tracking-hero);
}
.generator-heading__title p {
@@ -344,8 +340,8 @@
.generator-heading__cancel {
width: auto;
- min-height: var(--control-lg);
- padding: 0 var(--space-5);
+ min-height: var(--control-md);
+ padding: 0 var(--space-3);
font-size: var(--text-base);
}
@@ -438,7 +434,6 @@
font-size: var(--text-md);
font-weight: var(--weight-semibold);
line-height: var(--leading-snug);
- letter-spacing: var(--tracking-tight);
text-overflow: ellipsis;
white-space: nowrap;
}
@@ -447,7 +442,6 @@
flex: 0 0 auto;
color: var(--text-muted);
font: var(--weight-semibold) var(--text-2xs) / var(--leading-snug) var(--font-mono);
- letter-spacing: var(--tracking-label);
}
.scene-rule__length {
@@ -661,11 +655,6 @@
color: inherit;
background: var(--panel);
text-align: left;
- cursor: grab;
-}
-
-.shot-card:active:not(:disabled) {
- cursor: grabbing;
}
.shot-card:hover {
@@ -850,17 +839,16 @@
.shot-thumb__play {
position: absolute;
inset: 50% auto auto 50%;
- width: 38px;
- height: 38px;
+ width: var(--icon-button);
+ height: var(--icon-button);
display: grid;
place-items: center;
transform: translate(-50%, -50%);
border-radius: var(--radius-pill);
color: var(--on-accent);
background: var(--scrim);
- box-shadow: var(--shadow-sm);
opacity: 0;
- transition: opacity 120ms ease, transform 120ms ease;
+ transition: opacity var(--motion-fast) linear;
}
.shot-thumb--playable:hover .shot-thumb__play,
@@ -871,11 +859,6 @@
opacity: 1;
}
-.shot-thumb--playable:hover .shot-thumb__play,
-.shot-thumb--playable:focus-visible .shot-thumb__play {
- transform: translate(-50%, -50%) scale(1.06);
-}
-
.shot-thumb em {
padding: 0 var(--space-2);
color: inherit;
@@ -918,7 +901,7 @@
height: 100%;
display: block;
background: var(--accent-bright);
- transition: width 180ms ease;
+ transition: width var(--motion-normal) linear;
}
/* --- The controls a shot's panel is made of -------------------------------- */
@@ -986,9 +969,10 @@
border-color: var(--accent);
}
+/* A composite text field: the TextBox underline, not a ring. */
.shot-action-editor:has(textarea:focus-visible) {
- outline: var(--focus-ring-width) solid var(--focus-ring-color);
- outline-offset: 2px;
+ border-bottom-color: var(--field-focus-line);
+ box-shadow: inset 0 -1px 0 var(--field-focus-line);
}
.shot-card__action textarea {
@@ -1060,11 +1044,9 @@
resize: vertical;
}
-.shot-speech > textarea:focus-visible,
-.shot-speech__language select:focus-visible {
- border-color: var(--accent);
- outline: var(--focus-ring-width) solid var(--focus-ring-color);
- outline-offset: 2px;
+.shot-speech > textarea:focus-visible {
+ border-bottom-color: var(--field-focus-line);
+ box-shadow: inset 0 -1px 0 var(--field-focus-line);
}
.shot-speech__hint {
@@ -1140,8 +1122,6 @@
color: var(--text-faint);
font-size: var(--text-2xs);
font-style: normal;
- text-transform: uppercase;
- letter-spacing: var(--tracking-label);
}
.setting-tag b {
@@ -1368,8 +1348,6 @@
color: var(--text-faint);
font-size: var(--text-2xs);
font-style: normal;
- text-transform: uppercase;
- letter-spacing: var(--tracking-label);
}
.reference-chip b {
@@ -1518,7 +1496,6 @@
font-size: var(--text-xl);
font-weight: var(--weight-semibold);
line-height: var(--leading-snug);
- letter-spacing: var(--tracking-tight);
}
.panel-head h2 small {
@@ -1651,7 +1628,6 @@
place-items: center;
padding: var(--space-5);
background: var(--scrim);
- backdrop-filter: blur(5px);
}
.debug-prompt-dialog {
@@ -1661,9 +1637,9 @@
display: flex;
flex-direction: column;
padding: var(--space-5);
- border: 1px solid var(--line-strong);
- border-radius: var(--radius-lg);
- background: var(--panel);
+ border: 1px solid var(--stroke-surface);
+ border-radius: var(--radius-xl);
+ background: var(--dialog-bg);
box-shadow: var(--shadow);
}
@@ -1702,15 +1678,14 @@
place-items: center;
padding: var(--space-4);
background: var(--scrim);
- backdrop-filter: blur(5px);
}
.remove-dialog {
width: min(440px, 100%);
padding: var(--space-6);
- border: 1px solid var(--line-strong);
- border-radius: var(--radius-lg);
- background: var(--panel);
+ border: 1px solid var(--stroke-surface);
+ border-radius: var(--radius-xl);
+ background: var(--dialog-bg);
box-shadow: var(--shadow);
}
@@ -1799,7 +1774,6 @@
display: inline-block;
color: var(--text-muted);
font: var(--weight-semibold) var(--text-2xs) / var(--leading-snug) var(--font-mono);
- letter-spacing: var(--tracking-label);
}
.job-title h2 {
@@ -1808,7 +1782,6 @@
font-size: var(--text-lg);
font-weight: var(--weight-semibold);
line-height: var(--leading-snug);
- letter-spacing: var(--tracking-tight);
}
/* Reads as the heading it sits in until it is hovered or focused — the same
diff --git a/src/styles/image-editor.css b/src/styles/image-editor.css
index f97c003..c7e7bc1 100644
--- a/src/styles/image-editor.css
+++ b/src/styles/image-editor.css
@@ -21,7 +21,7 @@
.image-tree__select span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.image-tree__spacer { width: var(--control-sm); flex-shrink: 0; }
.image-editor .image-tree__rename { flex: 1; min-width: 0; width: 100%; margin: var(--space-1); padding: var(--space-1); min-height: var(--control-sm); }
-.image-hierarchy-menu { position: fixed; z-index: 115; width: 220px; max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); overflow: auto; padding: var(--space-1); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--panel); box-shadow: var(--shadow); }
+.image-hierarchy-menu { position: fixed; z-index: 115; width: 220px; max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); overflow: auto; padding: var(--space-1); border: 1px solid var(--stroke-surface); border-radius: var(--radius-lg); background: var(--acrylic); backdrop-filter: var(--acrylic-filter); box-shadow: var(--shadow-sm); }
.image-hierarchy-menu button { display: flex; align-items: center; gap: var(--space-2); width: 100%; padding: var(--space-2); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-primary); text-align: left; font-size: var(--text-sm); }
.image-hierarchy-menu button:hover:not(:disabled), .image-hierarchy-menu button:focus-visible { background: var(--panel-3); }
.image-hierarchy-menu button:disabled { opacity: 0.4; }
@@ -52,7 +52,7 @@
.image-error { margin: 0; padding: var(--space-2) var(--space-3); color: var(--danger); }
.image-results { display: flex; min-height: 82px; gap: var(--space-2); overflow-x: auto; padding: var(--space-2); border-top: 1px solid var(--line-solid); }
.image-results button { position: relative; flex: 0 0 72px; height: 64px; padding: 0; overflow: hidden; border: 2px solid transparent; background: var(--panel); }
-.image-draft-badge { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 3px; padding: 2px; background: var(--glass); color: var(--text); font-size: 10px; }
+.image-draft-badge { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 3px; padding: 2px; background: var(--glass); color: var(--text-primary); font-size: var(--text-2xs); }
.image-results button[aria-pressed="true"] { border-color: var(--accent); }
.image-results img { width: 100%; height: 100%; object-fit: cover; }
.image-inspector__fields { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-3); }
diff --git a/src/styles/library.css b/src/styles/library.css
index 5c62192..68489ea 100644
--- a/src/styles/library.css
+++ b/src/styles/library.css
@@ -22,7 +22,6 @@
padding: 0 var(--space-6);
border-bottom: 1px solid var(--line);
background: var(--topbar-glass);
- backdrop-filter: blur(16px);
}
.library__topbar .search-field {
@@ -53,7 +52,6 @@
align-content: center;
padding: var(--space-7) var(--space-5);
background: var(--scrim);
- backdrop-filter: blur(10px);
}
.composer-shell {
@@ -63,7 +61,7 @@
position: relative;
overflow-x: hidden;
overflow-y: auto;
- border: 1px solid var(--accent-line);
+ border: 1px solid var(--stroke-surface);
border-radius: var(--radius-xl);
padding: var(--space-6);
background: var(--composer-bg);
@@ -89,7 +87,6 @@
font-size: var(--text-xl);
font-weight: var(--weight-semibold);
line-height: var(--leading-tight);
- letter-spacing: var(--tracking-tight);
}
.composer {
@@ -163,7 +160,7 @@
border: 1px solid var(--line-strong);
border-radius: var(--radius-md);
background: var(--panel-2);
- transition: border-color var(--motion-fast), background-color var(--motion-fast);
+ transition: var(--transition-control);
}
.composer__type-icon { display: grid; place-items: center; flex-shrink: 0; width: var(--control-lg); height: var(--control-lg); border-radius: var(--radius-md); background: var(--wash-2); color: var(--text-secondary); }
@@ -177,7 +174,7 @@
.composer__type-input:checked + .composer__type-card .composer__type-indicator { border-color: var(--accent); }
.composer__type-input:checked + .composer__type-card .composer__type-indicator::after { opacity: 1; }
.composer__type-input:not(:disabled) + .composer__type-card:hover { border-color: var(--accent-line-strong); }
-.composer__type-input:focus-visible + .composer__type-card { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--space-1); }
+.composer__type-input:focus-visible + .composer__type-card { outline: var(--focus-ring-width) solid var(--focus-outer); outline-offset: 1px; box-shadow: 0 0 0 1px var(--focus-inner); }
.composer__type-input:disabled + .composer__type-card { opacity: 0.5; }
@media (max-width: 600px) {
@@ -399,7 +396,7 @@
color: var(--text-secondary);
background: var(--wash-1);
font-size: var(--text-sm);
- transition: 0.16s ease;
+ transition: var(--transition-control);
}
.idea-row button:hover {
@@ -483,13 +480,17 @@
border-radius: var(--radius-lg);
background: var(--panel);
overflow: hidden;
- transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
+ transition: var(--transition-control);
+}
+
+/* A Fluent card has a stroke and no shadow; under the mouse only its fill
+ changes (tokens.css rule 8). */
+.project-card:hover {
+ background: var(--panel-2);
}
-.project-card:hover,
.project-card:focus-within {
border-color: var(--accent-line);
- box-shadow: var(--shadow-sm);
}
.project-card__art-button {
@@ -504,8 +505,9 @@
/* The card clips its children, so the default outset ring on this button would
be cut off on three sides. Draw the same ring just inside the artwork. */
.project-card__art-button:focus-visible {
- outline: var(--focus-ring-width) solid var(--focus-ring-color);
- outline-offset: -4px;
+ outline: var(--focus-ring-width) solid var(--focus-outer);
+ outline-offset: -2px;
+ box-shadow: inset 0 0 0 3px var(--focus-inner);
}
.project-card__art {
@@ -660,7 +662,6 @@
border: 1px solid rgba(255, 255, 255, 0.16);
color: rgba(255, 255, 255, 0.85);
background: rgba(4, 6, 10, 0.7);
- backdrop-filter: blur(8px);
border-radius: var(--radius-xs);
padding: var(--space-1) var(--space-2);
font: var(--weight-medium) var(--text-2xs) / 1 var(--font-mono);
@@ -756,9 +757,10 @@
right: 0;
min-width: 200px;
padding: var(--space-1);
- border: 1px solid var(--line-strong);
- border-radius: var(--radius-md);
- background: var(--panel-3);
+ border: 1px solid var(--stroke-surface);
+ border-radius: var(--radius-lg);
+ background: var(--acrylic);
+ backdrop-filter: var(--acrylic-filter);
box-shadow: var(--shadow-sm);
}
@@ -806,9 +808,7 @@
content: "";
position: absolute;
inset: 0;
- background: var(--bg);
- opacity: 0.82;
- backdrop-filter: blur(5px);
+ background: var(--scrim);
}
.delete-project-dialog {
@@ -817,9 +817,9 @@
display: grid;
gap: var(--space-4);
padding: var(--space-6);
- border: 1px solid var(--line-strong);
- border-radius: var(--radius-lg);
- background: var(--panel-2);
+ border: 1px solid var(--stroke-surface);
+ border-radius: var(--radius-xl);
+ background: var(--dialog-bg);
box-shadow: var(--shadow);
}
@@ -879,12 +879,12 @@
}
.delete-project-dialog__confirm {
- min-height: var(--control-lg);
+ min-height: var(--control-md);
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--space-2);
- padding: 0 var(--space-5);
+ padding: 0 var(--space-3);
border: 1px solid var(--danger-line-strong);
border-radius: var(--radius-md);
color: var(--danger);
diff --git a/src/styles/references.css b/src/styles/references.css
index f03ef7d..a161fd1 100644
--- a/src/styles/references.css
+++ b/src/styles/references.css
@@ -2,7 +2,8 @@
references.css — reference library, reference inspector, add-reference dialog.
Sizing contract (see tokens.css): no literal px type sizes, nothing below
- --text-2xs (12px), every interactive control at least --control-sm (36px).
+ --text-2xs (12px), standard controls --control-md (32px), compact ones
+ --control-sm (24px).
========================================================================== */
.references-view {
@@ -41,7 +42,6 @@
font-size: var(--text-2xl);
font-weight: var(--weight-semibold);
line-height: var(--leading-tight);
- letter-spacing: var(--tracking-hero);
}
.references-heading__title p {
@@ -81,7 +81,6 @@
font-size: var(--text-md);
font-weight: var(--weight-semibold);
line-height: var(--leading-snug);
- letter-spacing: var(--tracking-tight);
}
.reference-title__name {
@@ -133,7 +132,6 @@
.reference-grid > button.selected {
border-color: var(--accent-bright);
- box-shadow: 0 0 0 2px var(--accent-soft);
}
/* The plate a reference sits on: a hatched panel with its kind lettered on it.
@@ -622,7 +620,6 @@
place-items: center;
padding: var(--space-5);
background: var(--scrim);
- backdrop-filter: blur(5px);
}
.reference-video-dialog {
@@ -632,9 +629,9 @@
min-width: 0;
max-height: calc(100dvh - var(--space-5) * 2);
overflow: hidden;
- border: 1px solid var(--line-strong);
- border-radius: var(--radius-lg);
- background: var(--panel-2);
+ border: 1px solid var(--stroke-surface);
+ border-radius: var(--radius-xl);
+ background: var(--dialog-bg);
box-shadow: var(--shadow);
}
@@ -865,15 +862,14 @@
display: grid;
place-items: center;
background: var(--scrim);
- backdrop-filter: blur(5px);
}
.reference-dialog {
width: min(560px, calc(100vw - var(--space-6)));
padding: var(--space-6);
- border: 1px solid var(--line-strong);
- border-radius: var(--radius-lg);
- background: var(--panel-2);
+ border: 1px solid var(--stroke-surface);
+ border-radius: var(--radius-xl);
+ background: var(--dialog-bg);
box-shadow: var(--shadow);
}
@@ -950,9 +946,9 @@
display: flex;
flex-direction: column;
overflow: hidden;
- border: 1px solid var(--line-strong);
- border-radius: var(--radius-lg);
- background: var(--panel-2);
+ border: 1px solid var(--stroke-surface);
+ border-radius: var(--radius-xl);
+ background: var(--dialog-bg);
box-shadow: var(--shadow);
}
@@ -1236,8 +1232,6 @@
color: var(--accent-bright);
font-size: var(--text-2xs);
font-weight: var(--weight-semibold);
- letter-spacing: var(--tracking-label);
- text-transform: uppercase;
}
.reference-preset-grid b {
diff --git a/src/styles/settings.css b/src/styles/settings.css
index 5d705f2..d2c54d7 100644
--- a/src/styles/settings.css
+++ b/src/styles/settings.css
@@ -59,7 +59,6 @@
font-size: var(--text-2xl);
font-weight: var(--weight-semibold);
line-height: var(--leading-tight);
- letter-spacing: var(--tracking-hero);
}
/* --- Sidebar tabs ---------------------------------------------------------- */
@@ -163,9 +162,9 @@
display: flex;
flex-direction: column;
min-height: 0;
- border: 1px solid var(--line-strong);
+ border: 1px solid var(--stroke-surface);
border-radius: var(--radius-xl);
- background: var(--panel);
+ background: var(--dialog-bg);
box-shadow: var(--shadow);
overflow: hidden;
}
@@ -394,8 +393,6 @@
.settings-status__platform b {
color: var(--text-primary);
font-size: var(--text-xs);
- letter-spacing: 0.04em;
- text-transform: uppercase;
}
.settings-status--ready {
@@ -482,7 +479,7 @@
border-radius: var(--radius-lg);
color: var(--text-muted);
background: var(--wash-1);
- transition: 0.16s ease;
+ transition: var(--transition-control);
}
/* The radio still exists and still takes focus — it is only invisible, so the
@@ -497,8 +494,9 @@
}
.theme-choice__option:has(input:focus-visible) {
- outline: var(--focus-ring-width) solid var(--focus-ring-color);
- outline-offset: 2px;
+ outline: var(--focus-ring-width) solid var(--focus-outer);
+ outline-offset: 1px;
+ box-shadow: 0 0 0 1px var(--focus-inner);
}
.theme-choice__option > svg {
@@ -622,7 +620,6 @@
font-size: var(--text-2xs);
font-style: normal;
font-weight: var(--weight-regular);
- text-transform: uppercase;
}
.llm-provider__fields input {
@@ -696,9 +693,7 @@
border-radius: var(--radius-xs);
color: var(--text-faint);
font: var(--weight-medium) var(--text-2xs) / 1 var(--font-mono);
- letter-spacing: var(--tracking-label);
font-style: normal;
- text-transform: uppercase;
}
.settings-path__row {
diff --git a/src/styles/shell.css b/src/styles/shell.css
index 31ef7ae..196d68a 100644
--- a/src/styles/shell.css
+++ b/src/styles/shell.css
@@ -28,7 +28,6 @@
.brand__edition {
font: var(--weight-medium) var(--text-2xs) / 1 var(--font-mono);
- letter-spacing: var(--tracking-label);
color: var(--text-faint);
border: 1px solid var(--line-strong);
border-radius: var(--radius-xs);
@@ -40,7 +39,6 @@
font-size: var(--text-xl);
font-weight: var(--weight-bold);
line-height: 1;
- letter-spacing: -0.7px;
}
/* --- Application icon ----------------------------------------------------- */
@@ -81,9 +79,8 @@
border-radius: 50%;
color: var(--text-muted);
background: var(--glass);
- backdrop-filter: blur(12px);
box-shadow: var(--shadow-sm);
- transition: 0.16s ease;
+ transition: var(--transition-control);
}
.settings-launcher:hover {
diff --git a/src/styles/tag-editor.css b/src/styles/tag-editor.css
index 4a18114..34db9fe 100644
--- a/src/styles/tag-editor.css
+++ b/src/styles/tag-editor.css
@@ -9,7 +9,7 @@
.tag-editor__remove:hover { color: var(--danger); }
.tag-editor__add { display: inline-flex; align-items: center; gap: 3px; padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 14px; background: transparent; color: var(--text-muted); font-size: inherit; }
.tag-editor__add:hover, .tag-editor__add[aria-expanded="true"] { background: var(--panel-3); color: var(--text-primary); }
-.tag-editor__popup { position: fixed; z-index: 115; width: min(280px, calc(100vw - 16px)); max-height: calc(100dvh - 16px); overflow: auto; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--panel); color: var(--text-primary); box-shadow: var(--shadow); font-size: var(--text-sm); }
+.tag-editor__popup { position: fixed; z-index: 115; width: min(280px, calc(100vw - 16px)); max-height: calc(100dvh - 16px); overflow: auto; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-3); border: 1px solid var(--stroke-surface); border-radius: var(--radius-lg); background: var(--acrylic); backdrop-filter: var(--acrylic-filter); color: var(--text-primary); box-shadow: var(--shadow-sm); font-size: var(--text-sm); }
.tag-editor__custom { display: flex; gap: var(--space-1); }
.tag-editor__custom input { width: 100%; min-width: 0; min-height: var(--field-height); padding: var(--space-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--field-bg); color: var(--text-primary); }
.tag-editor__custom button { flex-shrink: 0; }
diff --git a/src/styles/timeline.css b/src/styles/timeline.css
index 6438e6d..573826e 100644
--- a/src/styles/timeline.css
+++ b/src/styles/timeline.css
@@ -3,7 +3,8 @@
inspector, and the multi-track timeline.
Sizing contract (see tokens.css): no literal px type sizes, nothing below
- --text-2xs (12px), every interactive control at least --control-sm (36px).
+ --text-2xs (12px), standard controls --control-md (32px), compact ones
+ --control-sm (24px).
========================================================================== */
.timeline-view {
@@ -21,8 +22,9 @@
editor. It has to SHOW that focus, or the shortcuts are invisible: there is
no inner control that stands in for it. Inset so the ring is not clipped. */
.timeline-view:focus-visible {
- outline: var(--focus-ring-width) solid var(--focus-ring-color);
+ outline: var(--focus-ring-width) solid var(--focus-outer);
outline-offset: -2px;
+ box-shadow: inset 0 0 0 3px var(--focus-inner);
}
.edit-panels {
@@ -217,7 +219,6 @@
border-radius: var(--radius-xs);
color: var(--text-secondary);
background: var(--glass);
- backdrop-filter: blur(6px);
font: var(--weight-medium) var(--text-2xs) / 1.1 var(--font-mono);
font-style: normal;
}
@@ -883,17 +884,17 @@
margin-right: max(0px, calc(var(--video-centre-shift) * -2));
}
-/* 36px is the floor for a hit target and these are round, so the width is the
- height. Play is a --control-md, the size of a default control. */
+/* Subtle icon buttons, the Fluent media-transport size: 32px square with
+ 4px corners. Play is the same size and carries the accent fill. */
.timeline-transport button {
- width: var(--control-sm);
- height: var(--control-sm);
+ width: var(--icon-button);
+ height: var(--icon-button);
flex: 0 0 auto;
display: grid;
place-items: center;
padding: 0;
border: 0;
- border-radius: 50%;
+ border-radius: var(--radius-sm);
color: var(--text-secondary);
background: none;
}
@@ -904,8 +905,8 @@
}
.timeline-transport .play-button {
- width: var(--control-md);
- height: var(--control-md);
+ width: var(--icon-button);
+ height: var(--icon-button);
color: var(--on-accent);
background: var(--accent);
}
@@ -1290,7 +1291,7 @@
overflow: hidden;
border-top: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
background: color-mix(in srgb, var(--panel) 34%, transparent);
- transition: opacity 120ms ease;
+ transition: opacity var(--motion-fast) linear;
pointer-events: none;
}
@@ -1352,7 +1353,7 @@
cursor: ew-resize;
border-radius: var(--radius-sm);
background: transparent;
- transition: background 120ms ease;
+ transition: var(--transition-control);
}
.clip-handle--start { left: 0; }
@@ -1529,7 +1530,7 @@
.clip-effects__add { display: flex; align-items: center; justify-content: center; gap: var(--space-2); width: 100%; padding: var(--space-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--panel-2); color: var(--text-primary); font-size: var(--text-sm); }
.clip-effects__add:hover:not(:disabled) { border-color: var(--accent); background: var(--panel-3); }
.clip-effects__add:disabled, .clip-effect__remove:disabled { opacity: .45; }
-.clip-effects__picker { position: absolute; z-index: 5; bottom: calc(100% - var(--space-2)); left: var(--space-4); right: var(--space-4); padding: 4px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--panel-2); box-shadow: var(--shadow-sm); max-height: min(280px, 40vh); overflow-y: auto; }
+.clip-effects__picker { position: absolute; z-index: 5; bottom: calc(100% - var(--space-2)); left: var(--space-4); right: var(--space-4); padding: 4px; border: 1px solid var(--stroke-surface); border-radius: var(--radius-lg); background: var(--acrylic); backdrop-filter: var(--acrylic-filter); box-shadow: var(--shadow-sm); max-height: min(280px, 40vh); overflow-y: auto; }
.clip-effects__picker button { display: flex; flex-direction: column; gap: 3px; width: 100%; border: 0; border-radius: var(--radius-sm); padding: var(--space-2); background: transparent; color: var(--text-primary); text-align: left; }
.clip-effects__picker button:hover, .clip-effects__picker button:focus-visible { outline: none; background: var(--panel-3); }
.clip-effects__picker strong { font-size: var(--text-sm); font-weight: var(--weight-medium); }
diff --git a/src/styles/work-queue.css b/src/styles/work-queue.css
index 3c3a765..af2c395 100644
--- a/src/styles/work-queue.css
+++ b/src/styles/work-queue.css
@@ -33,11 +33,11 @@
flex-direction: column;
width: min(440px, calc(100vw - 32px));
max-height: calc(100dvh - 108px);
- border: 1px solid var(--line-strong);
+ border: 1px solid var(--stroke-surface);
border-radius: var(--radius-lg);
background: var(--panel);
color: var(--text-primary);
- box-shadow: var(--shadow);
+ box-shadow: var(--shadow-sm);
overflow: hidden;
}
.work-queue__header {
diff --git a/src/styles/workspace.css b/src/styles/workspace.css
index 5587b9b..8fe90d1 100644
--- a/src/styles/workspace.css
+++ b/src/styles/workspace.css
@@ -101,8 +101,6 @@
border-radius: var(--radius-xs);
color: var(--text-faint);
font: var(--weight-medium) var(--text-2xs) / 1 var(--font-mono);
- letter-spacing: var(--tracking-label);
- text-transform: uppercase;
}
/* --- View navigation --------------------------------------------------------
@@ -139,7 +137,7 @@
font-weight: var(--weight-medium);
line-height: var(--leading-snug);
white-space: nowrap;
- transition: 0.16s ease;
+ transition: var(--transition-control);
}
.project-nav button > svg {