brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
dark-mode-testingToggle between light and dark mode in Cursor's browser, screenshot both states, and flag missing token mappings or contrast issues.
Independent GitHub snapshot · Automated classification · Original documentation governs
Verify that dark mode works correctly by toggling themes and comparing.
Navigate to the target page using browser_navigate.
Take a screenshot of the page in its default (light) state using browser_take_screenshot.
Toggle dark mode using one of these methods (try in order):
dark class to <html>:
document.documentElement.classList.toggle('dark')
data-theme="dark":
document.documentElement.setAttribute('data-theme', 'dark')
prefers-color-scheme: darkbrowser_snapshot and click itTake another screenshot after toggling.
Check the browser_snapshot aria tree and screenshots for:
bg-white instead of bg-white dark:bg-slate-900#ffffff, #000000, white, black in inline stylesDark Mode Test:
Light mode: OK
Dark mode issues found:
- Header logo: white logo invisible on dark bg (needs dark variant)
- Card borders: border-gray-200 invisible on dark bg → add dark:border-gray-700
- Footer text: hardcoded #333 → use text-gray-900 dark:text-gray-100
Fix each issue and re-test.