diff --git a/packages/studio/src/captions/components/CaptionAnimationPanel.tsx b/packages/studio/src/captions/components/CaptionAnimationPanel.tsx index e426404c38c..03964ccf1fc 100644 --- a/packages/studio/src/captions/components/CaptionAnimationPanel.tsx +++ b/packages/studio/src/captions/components/CaptionAnimationPanel.tsx @@ -171,7 +171,7 @@ function AnimationPhase({ }} className="flex-1 accent-studio-accent disabled:opacity-40" /> - + {intensity.toFixed(2)} @@ -239,7 +239,7 @@ export const CaptionAnimationPanel = memo(function CaptionAnimationPanel() { if (!group || !resolvedGroupId || !animation) { return (
-

Select a caption word to edit animations

+

Select a caption word to edit animations

); } @@ -286,13 +286,13 @@ export const CaptionAnimationPanel = memo(function CaptionAnimationPanel() { {/* Footer */} -
+
diff --git a/packages/studio/src/captions/components/CaptionOverlay.tsx b/packages/studio/src/captions/components/CaptionOverlay.tsx index 1b30bff8c81..c9a40724516 100644 --- a/packages/studio/src/captions/components/CaptionOverlay.tsx +++ b/packages/studio/src/captions/components/CaptionOverlay.tsx @@ -407,7 +407,7 @@ export const CaptionOverlay = memo(function CaptionOverlay({ iframeRef }: Captio > {wordBoxes.length === 0 && model && model.segments.size > 0 && (
- + No captions visible at this frame. Scrub to a caption, or select one in the track below
diff --git a/packages/studio/src/captions/components/CaptionPropertyPanel.tsx b/packages/studio/src/captions/components/CaptionPropertyPanel.tsx index f1ea71f41c3..119ed9cd05c 100644 --- a/packages/studio/src/captions/components/CaptionPropertyPanel.tsx +++ b/packages/studio/src/captions/components/CaptionPropertyPanel.tsx @@ -188,7 +188,7 @@ export const CaptionPropertyPanel = memo(function CaptionPropertyPanel({ if (selectedSegmentIds.size === 0) { return (
-

Select caption words to edit their style

+

Select caption words to edit their style

); } @@ -213,9 +213,9 @@ export const CaptionPropertyPanel = memo(function CaptionPropertyPanel({ return (
{/* Header */} -
+
- {countLabel} + {countLabel}
{/* Tab switcher */}
@@ -228,7 +228,7 @@ export const CaptionPropertyPanel = memo(function CaptionPropertyPanel({ "flex-1 py-0.5 rounded-sm text-2xs font-medium transition-colors", activeTab === "style" ? "bg-studio-accent/20 text-accent-ink border border-studio-accent/50" - : "text-neutral-500 border border-neutral-800 hover:text-neutral-300 hover:border-neutral-600", + : "text-text-tertiary border border-border-button-default hover:text-text-primary hover:border-border-button-hover", ].join(" ")} > Style @@ -242,7 +242,7 @@ export const CaptionPropertyPanel = memo(function CaptionPropertyPanel({ "flex-1 py-0.5 rounded-sm text-2xs font-medium transition-colors", activeTab === "animation" ? "bg-studio-accent/20 text-accent-ink border border-studio-accent/50" - : "text-neutral-500 border border-neutral-800 hover:text-neutral-300 hover:border-neutral-600", + : "text-text-tertiary border border-border-button-default hover:text-text-primary hover:border-border-button-hover", ].join(" ")} > Animation diff --git a/packages/studio/src/captions/components/shared.tsx b/packages/studio/src/captions/components/shared.tsx index 0ac98bb2c1b..ce5d29b251b 100644 --- a/packages/studio/src/captions/components/shared.tsx +++ b/packages/studio/src/captions/components/shared.tsx @@ -2,13 +2,13 @@ import type React from "react"; import { useEffect, useRef, useState } from "react"; export const inputCls = - "w-full bg-neutral-900 border border-neutral-800 rounded-sm px-1.5 py-0.5 text-2xs text-neutral-200 font-mono outline-hidden focus:border-studio-accent disabled:opacity-40 disabled:cursor-not-allowed"; + "w-full bg-background-tertiary-default border border-border-button-default rounded-sm px-1.5 py-0.5 text-2xs text-text-primary font-mono outline-hidden focus:border-border-button-active disabled:opacity-40 disabled:cursor-not-allowed"; export function Section({ label, children }: { label: string; children: React.ReactNode }) { return (
- + {label}
@@ -20,7 +20,7 @@ export function Section({ label, children }: { label: string; children: React.Re export function Row({ label, children }: { label: string; children: React.ReactNode }) { return (
- {label} + {label}
{children}
); diff --git a/packages/studio/src/components/AskAgentModal.tsx b/packages/studio/src/components/AskAgentModal.tsx index f29a11c4551..a4ac2305318 100644 --- a/packages/studio/src/components/AskAgentModal.tsx +++ b/packages/studio/src/components/AskAgentModal.tsx @@ -1,6 +1,8 @@ import { useState, useRef, type CSSProperties } from "react"; import { useMountEffect } from "../hooks/useMountEffect"; import { type AgentModalAnchorPoint, clampNumber } from "../utils/studioHelpers"; +import { Button, cn } from "./ui"; +import { DialogHeader, dialogClasses } from "./ui/Dialog"; import { useDialogBehavior } from "./ui/useDialogBehavior"; function getAgentModalPositionStyle( @@ -64,11 +66,7 @@ export function AskAgentModal({ return (
e.stopPropagation()} > -
-
-

Copy prompt to AI agent

-

- {selectionLabel.length > 50 ? `${selectionLabel.slice(0, 49)}…` : selectionLabel} -

-
- -
-
+ 50 ? `${selectionLabel.slice(0, 49)}…` : selectionLabel + } + onClose={onClose} + /> +