That's why scalable solutions like CSS & SVG are a great idea for UI elements.
That said right now often you still need raster graphics (e.g. screenshots) and making sure you provide them in a way that takes zoomability and devices with high pixel density in account makes a lot of sense :)
If you go mobile-first you can avoid many of these mindset pitfalls :)