There is no reason to hardcode design. Design should be dynamic, and that goes beyond "responsive" design.
Heck, even a simple card-oriented UI where every model has a manually designed layout would beat whatever we have now.
Unless you're implementing a system that generates UI dynamically based on the data to display, you don't need to touch any low-level GUI code dealing with margins, colors, animations, sizes, etc.
All of this is quite obvious and intuitive. I'm sure it's been tried many times before. Why is it not what we use today?