Skip to content

🎥 Make videos programmatically with React

start with z-color

Jonny Burgercfa4073f9d8f
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index 2b4a453e57..0137bbefa5 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -57,7 +57,6 @@ export type BundleState =
};
checkMultipleRemotionVersions();
-
export {z} from 'zod';
export * from './AbsoluteFill.js';
export * from './audio/index.js';
@@ -102,6 +101,7 @@ export * from './use-video-config.js';
export * from './version.js';
export * from './video-config.js';
export * from './video/index.js';
+export {zColor} from './z-color.js';
export const Experimental = {
/**
diff --git a/packages/core/src/z-color.ts b/packages/core/src/z-color.ts
new file mode 100644
index 0000000000..2d29d74ee9
--- /dev/null
+++ b/packages/core/src/z-color.ts
@@ -0,0 +1,5 @@
+import {z} from 'zod';
+
+export const REMOTION_COLOR_BRAND = '__remotion-color';
+
+export const zColor = z.string().describe(REMOTION_COLOR_BRAND);