Theme is dark for public and doesn't change

Do you have the site setting default dark mode color scheme id set? If your operating system is set to dark mode, you might be getting automatically switched to a dark color palette.

You can also check your personal preferences at community.example.com/my/preferences/interface… if you have a different color scheme set here, if might be overriding the site setting.