okay my theme switching does kinda work if I hardcode it to dark mode, then I can switch the theme
but it only affects the theme, not the background.
But the background is set by the system theme, so if you have the theme set to lightmode and system them set to dark, you get a black background and black UI form
So it's just invisible