Maybe for web development, but people use Figma for mobile app designs too and those do not for the most part use CSS as the language for design.
I work on native app designs and other non-product design work in Figma and having the features CSS would provide out of the box would save me literally dozens of hours a month.
Figma shows CSS code in the Inspect view. It's limited, but not ignored.
Once you get the basic design abilities down, you can behind the scenes setup logic using some framework (sure you can use React, but I think tying a tool to a framework like that is a bad idea, React won't last forever and hopefully will die soon in place of newer better frameworks) that doesn't actually impact the basic HTML/CSS that is output.
Devs will still be needed to hook up designs to code logic, but at least give designers the ability to give devs clean HTML/CSS for them to wire up into JSX or Vue templates or whatever because currently many front-end devs are absolutely shit at HTML and CSS and React encourages lots of bad practices with HTML and CSS.
> Some sort of open AST
well React is kind of that but it's not serializable. The "React Server Components" is trying.
---
We just need HTML but in form of AST so that it is serializable and programmable.
Sure, you can encode whatever you want inside of data attributes, but that's just ignoring the problem. You still have to decide on a language to express all that within your data attributes.
React server components also does not is not trying to serialize this. Quite the opposite. We have an in-depth write up here: https://www.plasmic.app/blog/how-react-server-components-wor...
(Sise note: Plasmic's AST is in the open and has an API.)
That's what I'm talking about.
CSS is the language of design, yet for some reason every design tool completely ignores it.
Every top feature request on the Figma Forums is for HTML/CSS type features. We need a design tool built from the ground up on HTML/CSS rendering that has a Figma-like interface. Framer and Plasmic are sort of like this except made the mistake of wrapping everything in React code with tons of unnecessary abstractions that make the HTML/CSS output really messy.
I like the attitude relate.app (now Rainbow) has, but I don't see Figma being the final design tool, particularly when working with developers.