How could I remove the shadows from the outline?

Welcome :tada:

If you use EEVEE and do not want any shadow at all then you might try shadow mode : none

( use the slider to see the difference )