Comment by fireant
2 days ago
That's really nice. Have you tested if it works well with longer and more detailed prompts? For example adding more whole product specs and so on. It would be nice to generate a design system from generated UI you like instead of recreating that UI directly.
RE longer prompts, yes. Generally speaking I expand most prompts to be around a full page of text as it is already, so adding more detail in just refines that expanded prompt. That's more for a single screen though. It sounds like what you're asking about is something like a design.md for an entire brand / docs for a design system.
For that, I have a different approach, which is to extract your design system from screenshots. After which you can just select the brand you want when generating. There's sample images in the sibling comment in this thread.
Also it might be worth noting my pedigree here - I ran the design systems features over at Figma for around 5 years, but quit to build out diffui. The project is heavily oriented towards being able to replicate brands consistently, since the target audience I'm going after is enterprise design teams who are having trouble with existing tools capturing their brand look/feel.