The theming on Linux desktops is generally CSS based. For example, gtk/gnome shell is fully styled with CSS - with shell extensions written in JS.
I'm talking about something made purely in HTML + CSS + JS. Something like this: https://macos-web.app/
If only these could support native Linux apps somehow (through a WM).
Exactly what I was stating to GP (or implying, now that I read it over) — pretty sure Flutter is OpenGL or <canvas> or etc, and not outputting to HTML or some DOM like React et. al. are doing.