Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#UI

Advanced AI Prompt for Theme-Aware Inversion Cursor

Customize the variables below to instantly engineer your prompt.

Required Variables

theme-aware-inversion-cursor.txt
Create a custom cursor that detects the current site theme ([DARK_MODE_SELECTOR] vs [LIGHT_MODE_SELECTOR]) and adjusts its styling (color, border, glow) accordingly over a [TRANSITION_TIME]. Use a MutationObserver to watch for class changes on the body element. Ensure the cursor is high-contrast and follows WCAG 2.1 contrast guidelines for all theme states. Provide a JavaScript class-based implementation for clean state management.

Example Text Output

"A theme-reactive script that updates the cursor's CSS variables whenever the site's 'dark-mode' class is toggled."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Theme-Aware Inversion Cursor" prompt used for?

A theme-reactive script that updates the cursor's CSS variables whenever the site's 'dark-mode' class is toggled.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.