How to configure SDDM sugar-candy theme declaratively

Linking to my post from a few years ago that might be of help: SDDM background image - #2 by peterhoeg

Full disclosure - I am no longer using that, as my life became infinitely easier when I decided to simply use the stock themes that come with sddm and kde (and stuff in general).