Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakejarvis/dark-mode-example
🌓 Simple dark mode switching using local storage, OS preference detection, and minimal JavaScript
https://github.com/jakejarvis/dark-mode-example
css dark-mode javascript
Last synced: about 2 months ago
JSON representation
🌓 Simple dark mode switching using local storage, OS preference detection, and minimal JavaScript
- Host: GitHub
- URL: https://github.com/jakejarvis/dark-mode-example
- Owner: jakejarvis
- License: mit
- Created: 2020-04-29T16:51:33.000Z (almost 5 years ago)
- Default Branch: gh-pages
- Last Pushed: 2020-08-16T16:29:11.000Z (over 4 years ago)
- Last Synced: 2024-12-09T01:37:21.614Z (about 2 months ago)
- Topics: css, dark-mode, javascript
- Language: JavaScript
- Homepage: https://jarv.is/notes/dark-mode/
- Size: 66.4 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🌓 Dark mode switcheroo
Simple dark mode switching with local storage & OS setting detection!
- [`dark-mode.js`](dark-mode.js) has all the juicy stuff.
- [`dark-mode.min.js`](dark-mode.min.js) is minified for production.
- [`index.html`](index.html) & [`dark-mode.css`](dark-mode.css) make up a very barebones example.
- [View the example.](https://jakejarvis.github.io/dark-mode-example/)
- [Read the blog post.](https://jarv.is/notes/dark-mode/)