From the UX perspective, what's the dark mode priority should be on a site,
localStorage or user default computer theme?
E.g. If a user has a dark theme by default (on a computer), and then the user enabled the light theme (switch on a site), then the next time the user enters a site what value should be applied (default or saved from the localStorage)?
Or have I misunderstood this whole dark mode and doing something wrong?