sunbeam.city is one of the many independent Mastodon servers you can use to participate in the fediverse.
Sunbeam City is a anticapitalist, antifascist solarpunk instance that is run collectively.

Administered by:

Server stats:

87
active users

it's a beautiful day with lots of sun...

and all I can think about is wishing that the AmbientLightSensor web api were available so that websites can switch between light and dark mode based on room lighting

developer.mozilla.org/en-US/do

The MDN Web Docs logo, featuring a blue accent color, displayed on a solid black background.
MDN Web DocsAmbientLightSensor - Web APIs | MDNThe AmbientLightSensor interface of the Sensor APIs returns the current light level or illuminance of the ambient light around the hosting device.
Powersource

@andrew_chou isn't it better for the OS to switch the theme instead? This API feels like it'd only be used for tracking

@powersource better in regards to privacy yes - probably part of why this hasn't been implemented 😄

personally i don't like the idea of my whole os theme switching though. there are some specific sites where I don't mind both their themes, but using the dark theme when there's a ton of direct light makes it hard to read so I have to manually toggle it temporarily.