remotion
remotion copied to clipboard
implement zod type for google fonts
Feature Request 🛍️
It would be beneficial to have a combobox or picker to select google fonts similar to zColor. This will improve the dev experience to easily select a font while development.
Use Case
Possible Solution
Extend https://www.remotion.dev/docs/zod-types/ to add a z-google-font with a zGoogleFont type
Sounds good to me, since google fonts is a huge package though, it would be better if it does not become a dependency of @remotion/zod-types
.
So maybe we only copy a list of the fonts as a string array into the zod-types package?
Yep, we could just create a script to generate an array from getAvailableFonts() tho write a file containing the font array.
Does the studio support combobox right now?
The studio does do that yes! It is just z.enum
Can I take this on? This will be my first time contributing to this project. :)
@erayerdin That would be awesome! Thanks for giving it an attempt! 🙌