🎥 Make videos programmatically with React
`@remotion/studio`: Add negative start colors to palette
JonnyBurgera9ebf799227c
diff --git a/packages/studio/src/components/Timeline/TimelineSequence.tsx b/packages/studio/src/components/Timeline/TimelineSequence.tsxindex e987da9e5a..a5270a59ee 100644--- a/packages/studio/src/components/Timeline/TimelineSequence.tsx+++ b/packages/studio/src/components/Timeline/TimelineSequence.tsx@@ -7,6 +7,8 @@ import {TIMELINE_BACKGROUND_COLOR,TIMELINE_AUDIO_GRADIENT,TIMELINE_IMAGE_GRADIENT,+ TIMELINE_NEGATIVE_START_BACKGROUND_COLOR,+ TIMELINE_NEGATIVE_START_BORDER_COLOR,TIMELINE_VIDEO_GRADIENT,TRANSPARENT,WHITE,@@ -125,21 +127,17 @@ const TimelineSequenceNegativeStartInner: React.FC<{}, [clipped, left, width]);const innerStyle = useMemo((): React.CSSProperties => {- // WHITE_ALPHA_10 composited over the timeline background (#15181B).- const backgroundColor = '#2C2F32';- // The same stroke composited over the indicator background.- const borderColor = '#414446';const showLeftEdge = leftEdgeVisible && !clipped;const maskImage = clipped? 'linear-gradient(to right, transparent, black 20%)': undefined;return {- backgroundColor,- border: `${SEQUENCE_BORDER_WIDTH}px solid ${borderColor}`,+ backgroundColor: TIMELINE_NEGATIVE_START_BACKGROUND_COLOR,+ border: `${SEQUENCE_BORDER_WIDTH}px solid ${TIMELINE_NEGATIVE_START_BORDER_COLOR}`,borderBottomLeftRadius: showLeftEdge ? 2 : 0,borderLeft: showLeftEdge- ? `${SEQUENCE_BORDER_WIDTH}px solid ${borderColor}`+ ? `${SEQUENCE_BORDER_WIDTH}px solid ${TIMELINE_NEGATIVE_START_BORDER_COLOR}`: 'none',borderRight: 'none',borderTopLeftRadius: showLeftEdge ? 2 : 0,diff --git a/packages/studio/src/helpers/colors.ts b/packages/studio/src/helpers/colors.tsindex 6e71030a35..80b9730d19 100644--- a/packages/studio/src/helpers/colors.ts+++ b/packages/studio/src/helpers/colors.ts@@ -66,6 +66,10 @@ export const INFO_BLUE = '#60a5fa';export const SERVER_DISCONNECTED_BACKGROUND = '#e74c3c';export const STACK_FRAME_BORDER_BLUE = 'rgb(66, 144, 245)';export const TIMELINE_BACKGROUND_COLOR = '#15181B';+// WHITE_ALPHA_10 composited over TIMELINE_BACKGROUND_COLOR.+export const TIMELINE_NEGATIVE_START_BACKGROUND_COLOR = '#2C2F32';+// WHITE_ALPHA_10 composited over TIMELINE_NEGATIVE_START_BACKGROUND_COLOR.+export const TIMELINE_NEGATIVE_START_BORDER_COLOR = '#414446';export const TIMELINE_SELECTED_BACKGROUND_COLOR = '#3B3F42';export const TIMELINE_SELECTED_LABEL_BACKGROUND_COLOR = '#B0B0B0';export const TIMELINE_BLUE = '#0b84ff';