I recently went through Sarah Drasner's workshop "Design for developers" https://frontendmasters.com/workshops/design-for-devs/
It went through exactly the points you mention in good detail. And she also showed implementation of some of these ideas on the web.