Skip to content

Commit 09442c1

Browse files
committed
Merge reviewed PR #607 into local capability integration
2 parents 63d1087 + 4f1b178 commit 09442c1

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎remotion-composer/SCENE_TYPES.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ When you add a new component, append it here and in `src/components/index.ts`.
1515
| `text_card` | `TextCard` | `text` | `fontSize`, `backgroundVideo`, `backgroundOverlay`, `color` | Large-typography beat |
1616
| `hero_title` | `HeroTitle` | `text` | `heroSubtitle`, `backgroundVideo`, `backgroundOverlay` | Title/end card |
1717
| `stat_card` | `StatCard` | `stat` | `subtitle`, `accentColor`, `backgroundVideo` | A single big number |
18-
| `callout` | `CalloutBox` | `text` | `callout_type` (info/warning/tip/quote), `title`, `backgroundVideo` | Boxed message with bullets |
18+
| `callout` | `CalloutBox` | `text` | `callout_type` (info/warning/tip/quote), `title`, `backgroundVideo`, `fontSize`, `titleFontSize` | Boxed message with bullets |
1919
| `comparison` | `ComparisonCard` | `leftLabel`, `leftValue`, `rightLabel`, `rightValue` | `title`, `backgroundColor` | Side-by-side compare |
2020
| `bar_chart` | `BarChart` | `chartData` | `chartAnimation`, `showValues`, `showGrid`, `backgroundVideo` | Animated bars |
2121
| `line_chart` | `LineChart` | `chartSeries` | `chartAnimation`, `xLabel`, `yLabel`, `showMarkers` | Animated line |

‎remotion-composer/src/Explainer.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ interface Cut {
238238
color?: string;
239239
accentColor?: string;
240240
fontSize?: number;
241+
titleFontSize?: number;
241242
// Animation & transitions
242243
animation?: string;
243244
transition_in?: string;
@@ -604,6 +605,7 @@ const SceneRenderer: React.FC<{ cut: Cut; theme: ThemeConfig }> = ({ cut, theme
604605
text={cut.text} type={cut.callout_type} title={cut.title}
605606
borderColor={accent} backgroundColor={cut.backgroundColor || theme.surfaceColor}
606607
textColor={textColor} containerBackgroundColor={bgColor}
608+
fontSize={cut.fontSize} titleFontSize={cut.titleFontSize}
607609
/>
608610
);
609611
}

0 commit comments

Comments
 (0)