News for hackers. Stuff that matters.
Re:Show HN: Noya – A new kind of design tool by dmitriid on Saturday February 18, 2023 @04:40PM (#34851378)
> None of them actually solve this problem because they can’t generate the actual code. That is a crucial part.

Because there are a million ways to generate that code (if we're talking about the browser), and they will all break when coming into contact with reality.

- your sizes are in em/rem, and your root font size is off? Goodbye design

- you absolutely need something at the bottom of the screen (think media controls), and you have absolute positioning? Goodbye design for large combinations combination of screen/positioning

- you need something centered on, say, third element from the right? And then another element is added on the left? Goodbye design

- you need something animated? Goodbye design

- etc. etc. etc.

However, for some established patterns you might get away with some standard design choices and some generated code

There are no comments on this comment yet.