Skip to content

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.

test(studio): remove obsolete waveform error decoration checks

罗高67e781c1f9a6
diff --git a/studio/src/player/components/timelineMotionStyles.test.ts b/studio/src/player/components/timelineMotionStyles.test.ts
index 8ebd9c8f..f8dacaa4 100644
--- a/studio/src/player/components/timelineMotionStyles.test.ts
+++ b/studio/src/player/components/timelineMotionStyles.test.ts
@@ -122,7 +122,6 @@ describe("timeline motion styles", () => {
expect(overlaySource).toContain("var(--timeline-thumbnail-label-gradient)");
expect(overlaySource).toContain("var(--timeline-thumbnail-label-shadow)");
expect(overlaySource).toContain('"--timeline-waveform-bar-rgb"');
- expect(overlaySource).toContain("var(--timeline-waveform-error)");
expect(overlaySource).toContain("var(--timeline-waveform-label-shadow)");
expect(overlaySource).toContain("var(--timeline-text-solid)");
expect(overlaySource).toContain("var(--timeline-accent)");
diff --git a/studio/src/styles/theme.css b/studio/src/styles/theme.css
index 7bd3f155..7e2bd1b2 100644
--- a/studio/src/styles/theme.css
+++ b/studio/src/styles/theme.css
@@ -184,11 +184,6 @@
--timeline-waveform-bar-rgb: 245, 237, 255;
--timeline-waveform-muted-rgb: 236, 238, 242;
--timeline-waveform-baseline-rgb: 226, 216, 238;
- --timeline-waveform-error: repeating-linear-gradient(
- 90deg,
- rgba(245, 237, 255, 0.35) 0 2px,
- transparent 2px 5px
- );
--timeline-waveform-label-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
--timeline-clip-bg-active: color-mix(in oklab, var(--color-accent) 20%, transparent);
--timeline-clip-bg-hover: light-dark(