Here is an endpoint for a logo that I will use in the example: https://rdanhgsjebvnzzvsohyx.supabase.co/storage/v1/object/public/assets/logos/logoaidvisor-purple.svg
So importing and rendering the SVG as an image and styling it using Tailwind CSS works perfectly fine:
<img src="https://rdanhgsjebvnzzvsohyx.supabase.co/storage/v1/object/public/assets/logos/logoaidvisor-purple.svg" alt="logo" class="w-28 sm:w-48 md:w-60" />
However, I can't find a way to modify the SVG as I would be able to do with "normal" SVGs.
note: I am working in a svelte project but I wish to find a universal solution that works no matter the framework, etc.
I tried giving the image attributes that id usually would give to SVGs such as fill:
<img src="https://rdanhgsjebvnzzvsohyx.supabase.co/storage/v1/object/public/assets/logos/logoaidvisor-purple.svg" alt="logo" class="w-28 sm:w-48 md:w-60" fill="#222" />
I assumed that would do the trick but it did not. after plenty of research, I still can't find a solution.