Skip to content


Folders and files

Last commit message
Last commit date

Latest commit


Repository files navigation


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