Three modes: System, the default, follows the computer; Light and Dark override it. The choice is remembered per person.
In apps with a user menu, the switch sits there as three choices with their icons. Pages without a user menu, like this site, show one icon button at the end of the header. It shows the mode you switch to: a moon while light, a sun while dark.
The user menu in an app, opened from the initials.