Skip to main content

zColor()

使用 zColor(),你可以在你的 schema 中指定一个字符串必须是颜色。

🌐 Using zColor(), you can specify in your schema that a string has to be a color.

在 Remotion Studio 中,将显示一个颜色选择器,允许更改和验证颜色选择器。

🌐 In the Remotion Studio, a color picker will be displayed allowing to change and validate the color picker.

另请参阅

🌐 See also