Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bahmutov/todomvc-light-and-dark
TodoMVC with light and dark color theme depending on the OS media preference
https://github.com/bahmutov/todomvc-light-and-dark
cypress cypress-example
Last synced: 18 days ago
JSON representation
TodoMVC with light and dark color theme depending on the OS media preference
- Host: GitHub
- URL: https://github.com/bahmutov/todomvc-light-and-dark
- Owner: bahmutov
- Created: 2019-12-08T15:57:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-12T03:07:10.000Z (about 4 years ago)
- Last Synced: 2024-12-27T20:59:20.762Z (about 1 month ago)
- Topics: cypress, cypress-example
- Language: JavaScript
- Size: 1010 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# todomvc-light-and-dark
> TodoMVC with light and dark color theme depending on the OS media preferenceCopied from [cypress-example-todomvc](https://github.com/cypress-io/cypress-example-todomvc)
See [cypress/integration](cypress/integration) tests that work against [index.html](index.html)
![Cypress test against light and dark appearance](img/light-and-dark.gif)
## Run
```shell
npm install
npm run dev
```Then click on any spec file
## Related
- [Fix low contrast with Cypress](https://glebbahmutov.com/blog/fix-low-contrast-with-cypress/)