Skip to content
Demo app for @assortment/darkmodejs
Branch: master
Clone or download
lukewhitehouse Add support for v1.0.1 of @assortment/darkmodejs
Create new page to demonstrate removing query listeners
Latest commit 7a0b0ff Jul 13, 2019


Status License

View the deployed demo on Netlify –

A demonstration of how you can use the @assortment/darkmodejs NPM package to theme your website based on a user's Operating System theme, thanks to the matchMedia API and prefers-color-scheme media queries.

This example has been created with Emotion and the emotion-theming package. Take a look at the darkmodejs package with the links below:

✍️ License

MIT © Luke Whitehouse

You can’t perform that action at this time.