Skip to content

Commit 7263a4c

Browse files
authored
fix: CodeMorphScene pure black background
Replace gradient background with flat #000000. The gradient was producing a subtle purple tint even with constants updated.
1 parent d802b03 commit 7263a4c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

remotion/components/CodeMorphScene.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ export const CodeMorphScene: React.FC<CodeMorphSceneProps> = ({
160160
);
161161
}
162162

163-
// --- Gradient background angle (alternating per scene) ---
164-
const gradientAngle = (sceneIndex % 4) * 90;
165163

166164
// --- Layout dimensions ---
167165
const codeFontSize = fonts.code;
@@ -173,7 +171,7 @@ export const CodeMorphScene: React.FC<CodeMorphSceneProps> = ({
173171
{/* Layer 1: Dark gradient background */}
174172
<AbsoluteFill
175173
style={{
176-
background: `linear-gradient(${gradientAngle}deg, ${COLORS.gradientStart}, ${COLORS.backgroundDark}, ${COLORS.backgroundMedium})`,
174+
backgroundColor: "#000000",
177175
}}
178176
/>
179177

0 commit comments

Comments
 (0)