Skip to content

Commit a66c977

Browse files
authored
Move video overlays to bottom gradient and darken (#9)
1 parent 8a8d0e1 commit a66c977

File tree

4 files changed

+212
-254
lines changed

4 files changed

+212
-254
lines changed

packages/video/src/constants.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ export const MUTED_COLOR = "#737373";
88
export const RED_COLOR = "#f87171";
99
export const GREEN_COLOR = "#4ade80";
1010
export const YELLOW_COLOR = "#eab308";
11+
export const OVERLAY_GRADIENT_RGB = "10, 10, 10";
12+
export const OVERLAY_GRADIENT_HEIGHT_PX = 420;
13+
export const OVERLAY_GRADIENT_HORIZONTAL_PADDING_PX = 120;
14+
export const OVERLAY_GRADIENT_BOTTOM_PADDING_PX = 80;
15+
export const OVERLAY_GRADIENT_BOTTOM_ALPHA = 0.96;
16+
export const OVERLAY_GRADIENT_MIDDLE_ALPHA = 0.55;
17+
export const OVERLAY_GRADIENT_MIDDLE_STOP_PERCENT = 50;
1118

1219
export const COMMAND = "npx -y react-doctor@latest";
1320
export const CONTENT_WIDTH_PX = 1400;

0 commit comments

Comments
 (0)