Hacker News new | ask | show | jobs
by dheera 1231 days ago
> And please, don't design UI without having a design background. Use some UI library or Tailwind/Bootstrap instead.:)

Maybe it's time overthrow the W3C and invent HTML6 already, and provide for some proper modern UI widgets instead of needing piles and piles of JavaScript UI-library-of-the-month that create widgets by hacking together a clutter-fest of div hell.

Stuff like <hamburger>, <tabset swipeable="true">, <img pinchzoomable="true" onclick="window.lightbox(this)" lowsrc="..." highsrc="..." ultrahighsrc="...">, <ul pulltorefresh="true" onrefresh="foo()"> should be part of it already, <button> should have more sane margins, font, contrast, and border radius choices by default, <hr> should be low contrast by default as the article says, and the default background and text colors should be #f2f2f2/#222222, and not #ffffff/#000000. Visual centering should be implemented in CSS with a neural net. Let's get standards with the beat.

1 comments

>Visual centering should be implemented in CSS with a neural net. Let's get standards with the beat.

Actually, I am utterly baffled that this is not the target of current neural net implementation. I expected some form of automation to emerge in this field first.

Instead, someone decided, that investing in generative "A.I." art and removing the human element from the illustration process is more important.:)