The VS Code of video editing, built for agents.
TypeScript
Update Caption Text Styles and Highlight Color
konstantin-paulusf2a82581c9d1
diff --git a/packages/runtime/src/media/caption/guinea.ts b/packages/runtime/src/media/caption/guinea.tsindex 8f86262c..dd9ea1bc 100644--- a/packages/runtime/src/media/caption/guinea.ts+++ b/packages/runtime/src/media/caption/guinea.ts@@ -21,8 +21,8 @@ const HEIGHT = 200;// The preset's base TextStyle; the document writes it and authored style// props overwrite it (see CAPTION_PRESET_STYLES).export const GUINEA_TEXT_STYLE = {- fontFamily: 'Poppins',- fontWeight: '800',+ fontFamily: 'Outfit',+ fontWeight: '700',fontSize: 62,textAlign: TextAlign.CENTER,textBaseline: TextBaseline.MIDDLE,diff --git a/packages/runtime/src/media/caption/spotlight.ts b/packages/runtime/src/media/caption/spotlight.tsindex 4924e6dd..3d1973c2 100644--- a/packages/runtime/src/media/caption/spotlight.ts+++ b/packages/runtime/src/media/caption/spotlight.ts@@ -18,13 +18,13 @@ import type { CaptionDecoder, CaptionPresetStyle } from './types';const WIDTH = 700;const HEIGHT = 100;-const HIGHLIGHT_COLOR = 0x24D5FF;+const HIGHLIGHT_COLOR = 0x19FF75;// The preset's base TextStyle; the document writes it and authored style// props overwrite it (see CAPTION_PRESET_STYLES).export const SPOTLIGHT_TEXT_STYLE = {- fontFamily: 'Poppins',- fontWeight: '800',+ fontFamily: 'Outfit',+ fontWeight: '600',fontStyle: FontStyle.NORMAL,fontSize: 70,textAlign: TextAlign.CENTER,