If the user chooses 'Auto', then the system preference decides whether it is light or dark.
If the user chooses 'Light' or 'Dark', then the webpage theme is fully controlled by the user's choice. Changing system preference now will not affect the web page.
User's manual preference would be stored in local storage, which is 'Light', 'Dark', or 'Auto'.