Hi there,
It sounds like you’d want the design of the site to automatically reflect a ‘dark’ or ‘light’ mode once a visitor selects an option.
In that case, you may need to design two versions of your pages so that your visitors can alternate (perhaps using a button).
Good luck!