willhackett

willhackett/is-dark

Detect whether or not the system is in dark mode from the browser.

TypeScript
5
0
MIT License

`is-dark` is a lightweight JavaScript/TypeScript library that detects whether a user's system is currently in dark mode. It allows developers to both check the theme once and subscribe to real-time system changes, enabling websites to automatically adapt their appearance. This tool is designed for frontend developers building theme-aware web applications.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on willhackett/is-dark

Top contributors

willhackett's profile
willhackett
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet