Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# todomvc-light-and-dark
> TodoMVC with light and dark color theme depending on the OS media preference

Copied 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/)