All Projects → bahmutov → Cypress Dark

bahmutov / Cypress Dark

Dark and Halloween color themes for Cypress.io test runner

Projects that are alternatives of or similar to Cypress Dark

Veluxi Starter
Veluxi Vue.js Starter Project with Nuxt JS and Vuetify
Stars: ✭ 39 (-58.51%)
Mutual labels:  dark-theme
Npp Material Theme
Material Theme, the most epic theme for Notepad++ | Dark Theme
Stars: ✭ 60 (-36.17%)
Mutual labels:  dark-theme
Noctis
🐵 Dark Blue Theme for Home Assistant
Stars: ✭ 83 (-11.7%)
Mutual labels:  dark-theme
Darkerr
A darker theme for Sonarr, Radarr & Lidarr
Stars: ✭ 41 (-56.38%)
Mutual labels:  dark-theme
Awesome Userstyles
🌈 A repository featuring awesome userstyles to use with Stylus
Stars: ✭ 52 (-44.68%)
Mutual labels:  dark-theme
Design Pattern Samples App
🎨 Exploring creational,structural and behavioral design patterns using Kotlin
Stars: ✭ 62 (-34.04%)
Mutual labels:  dark-theme
Idea One Dark Theme
One Dark theme for IntelliJ IDEA, PhpStorm, PyCharm, RubyMine, WebStorm
Stars: ✭ 971 (+932.98%)
Mutual labels:  dark-theme
Telegram
🧛🏻‍♂️ Dark theme for Telegram Desktop
Stars: ✭ 92 (-2.13%)
Mutual labels:  dark-theme
Owl
A Mozilla Firefox add-on to make online reading comfortable.
Stars: ✭ 58 (-38.3%)
Mutual labels:  dark-theme
Dark google calendar
Dark theme for Google Calendar.
Stars: ✭ 81 (-13.83%)
Mutual labels:  dark-theme
Tdesktop Dark Theme
Telegram Desktop Dark Theme
Stars: ✭ 43 (-54.26%)
Mutual labels:  dark-theme
Dark Mode Screenshot
This Puppeteer script takes a 📷 screenshot of a webpage in 🌞 Light and 🌒 Dark Mode.
Stars: ✭ 47 (-50%)
Mutual labels:  dark-theme
Darkstudio
darkstudio. A dark grey alternative to RStudio's default dark theme.
Stars: ✭ 75 (-20.21%)
Mutual labels:  dark-theme
Notemaster
NoteMaster is an smart minimalistic persistent note-taking app to help boost productivity.
Stars: ✭ 40 (-57.45%)
Mutual labels:  dark-theme
Pico
Graceful & Minimal CSS design system in pure semantic HTML
Stars: ✭ 89 (-5.32%)
Mutual labels:  dark-theme
Gaudi
A swift theming framework for UIKit for easy adoption of multi theme and iOS dark mode
Stars: ✭ 36 (-61.7%)
Mutual labels:  dark-theme
Jetbrains Legacy
😱 A dark theme for the different JetBrains IDEs such as PhpStorm, RubyMine, etc.
Stars: ✭ 61 (-35.11%)
Mutual labels:  dark-theme
Notion Icons 2.0
Create a more vibrant and modern workspace. Use Github Issues to request more Icons.
Stars: ✭ 93 (-1.06%)
Mutual labels:  dark-theme
Libreoffice Breezedark
Icons, color palette and color scheme for LibreOffice
Stars: ✭ 90 (-4.26%)
Mutual labels:  dark-theme
New Moon Vscode
New Moon Theme for Visual Studio Code.
Stars: ✭ 75 (-20.21%)
Mutual labels:  dark-theme

cypress-dark

Dark mode for Cypress test runner from user space

NPM

Build status semantic-release standard renovate-app badge

Cypress dark

You can find videos from Cypress Dark test run on Cypress Dashboard

You can see this theme in action, including playing audio clips on failed test in this video from ReactiveConf around minute 22.

Install

Requires Node version 6 or above.

npm install --save-dev cypress-dark

Use

Install Halloween theme

Add to your cypress/support/index.js line

require('cypress-dark/src/halloween')

Install Dark theme

Add to your cypress/support/index.js line

require('cypress-dark')

By default dark theme will be loaded. If you want to switch to another theme, set its name in your cypress.json file.

{
  "theme": "dark"
}

If the theme name is unknown (look at CSS files in src folder), or unspecified, default dark theme will be used.

Themes

For now all themes are shipped with this package and can use CSS variables. Available themes are:

Dark page under test

You can "tell" the web application under test to switch to the dark mode using media (prefers-color-scheme: dark) if the application uses JavaScript media query to check for preferred scheme. See original issue #29 and cypress/fixtures/custom-dark.html page.

To enable stubbing window.matchMedia from your tests and "force" your app to switch to dark mode, set option in cypress.json

{
  "darkMediaQuery": true
}

Result - both the test runner and the application are running in dark mode.

Dark application

Small print

Author: Gleb Bahmutov <[email protected]> © 2018

"Maniacal Witches Laugh Sound" by Mike Koenig, under license Attribution 3.0

License: MIT - do anything with the code, but don't blame me if it does not work.

Support: if you find any problems with this module, email / tweet / open issue on Github

MIT License

Copyright (c) 2018 Gleb Bahmutov <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].