dark-mode-testing

Detect dark mode rendering defects by comparing light and dark browser states.

672|104|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/spencerpauly/awesome-cursor-skills --skill dark-mode-testing-spencerpauly
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dark-mode-testing
Source: https://github.com/spencerpauly/awesome-cursor-skills/tree/main/resources/dark-mode-testing
Command: npx skills add https://github.com/spencerpauly/awesome-cursor-skills --skill dark-mode-testing-spencerpauly

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you verify that a web app renders correctly in dark mode, so you can catch contrast regressions, invisible UI elements, and hardcoded light-theme colors before users see them.

Core Features & Use Cases

  • Theme Comparison: Toggle between light and dark states and compare the same screen side by side.
  • Visual Regression Checks: Inspect screenshots and browser structure for missing token mappings, disappearing borders, and unreadable text.
  • UI Quality Assurance: Validate that logos, shadows, forms, and other components adapt properly to dark backgrounds.
  • Use Case: After a design update, use this Skill to confirm that every page still looks accessible and polished in dark mode.

Quick Start

Use the dark-mode-testing skill to open the target page, switch to dark mode, compare it with the light state, and report any visibility or contrast issues you find.

Frequently Asked Questions about dark-mode-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I catch dark mode rendering defects in a web app?

Visual regression checks for dark mode detect missing token mappings, invisible text, and unreadable contrast by comparing screenshots of light and dark UI states. This mechanism validates that logos, shadows, forms, and borders adapt properly to dark backgrounds.

How do I verify UI contrast and accessibility after a theme update?

Visual regression testing for dark mode validates contrast and accessibility by comparing light and dark browser states. It catches hardcoded light-theme colors, disappearing borders, and unreadable text after design updates.

Can I use browser automation to check for hardcoded light-theme colors?

Yes, browser automation can check for hardcoded light-theme colors by comparing light and dark browser states. It inspects screenshots and browser structure to catch missing token mappings, disappearing borders, and input styling regressions.

What is the best way to test dark mode input styling and shadow regressions?

The best way to test dark mode input styling and shadow regressions is to toggle the theme and compare light and dark browser states side by side. This UI quality assurance process validates that components adapt properly and catches missing token mappings.

Why does my text become invisible when switching to dark mode?

Text becomes invisible when switching to dark mode due to missing token mappings or hardcoded light-theme colors that fail to adapt. Visual inspection of light and dark states catches these contrast regressions and unreadable text issues.