Skip to content

Assortment/darkmodejs-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

darkmodejs-demo

Status License

View the deployed demo on Netlify – https://darkmodejs-demo.netlify.com/


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