🎥 Make videos programmatically with React
`@remotion/animation-utils`: Fix 3D transforms in `interpolateStyles()`
Jonny Burgerfd124429e8cc
diff --git a/packages/animation-utils/src/transformation-helpers/interpolate-styles/utils.ts b/packages/animation-utils/src/transformation-helpers/interpolate-styles/utils.tsindex a28c3af60d..5b83546808 100644--- a/packages/animation-utils/src/transformation-helpers/interpolate-styles/utils.ts+++ b/packages/animation-utils/src/transformation-helpers/interpolate-styles/utils.ts@@ -42,7 +42,7 @@ const matchers: ColorMatchers = {const namedColors = new Set(Object.keys(NoReactInternals.colorNames));const numberUnitRegex = /^(-?\d+(?:\.\d+)?)([a-zA-Z%]*)$/;-const functionGlobalRegex = /([a-zA-Z-]+)\(([^)]+)\)/g;+const functionGlobalRegex = /([a-zA-Z-][a-zA-Z0-9-]*)\(([^)]+)\)/g;const getColorMatchers = (): ColorMatchers => matchers;