How do you make high quality GUI elements?

(Not really tech support, but there isnt a 'questions' tag), Basically, every time i make a GUI element for something, in the game it looks slightly pixellared, as if its being upscaled very poorly. So i wanted to know how do you all make your gui elements or if maybe there's something i'm missing?

Update: Still have the same problem after trying some of the comments, i tried making some SVG files with inkscape to check for differences, but there seems to be none except for better colors, the borders are still blurry/pixellated
Editor view: (svg - png)

https://preview.redd.it/kwexa6i5imwc1.png?width=1329&format=png&auto=webp&s=14664c12ee0fab8baad03c68b812947b04363ba2

In-game view:

https://preview.redd.it/81755hvaimwc1.png?width=1168&format=png&auto=webp&s=4ace0385d53272768de762e5a62e428be48b397b