remove-color-transition

Remove color-related CSS transitions and delays from frontend styling.

Updated May 6, 2026
One-click install
npx skills add https://github.com/korwlik23/skills --skill remove-color-transition
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: remove-color-transition
Source: https://github.com/korwlik23/skills/tree/main/v1/remove-color-transition
Command: npx skills add https://github.com/korwlik23/skills --skill remove-color-transition

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes fade effects from color changes so hover, focus, and other states update instantly instead of transitioning smoothly, improving responsiveness and user preference consistency.

Core Features & Use Cases

  • Targeted color-transition removal: Removes transitions affecting color-related properties (e.g., color, background-color, border-color, outline-color, fill, stroke, text-decoration-color, caret-color, accent-color) without disabling unrelated motion.
  • Framework and syntax coverage: Handles CSS/SCSS/LESS, Tailwind (including transition-colors/transition-all), React/Vue SFCs, inline styles, and common CSS-in-JS patterns (styled-components, Emotion).
  • State-aware edits: Applies changes to specific states (hover/focus/active/selected/disabled/dark mode/breakpoints) when specified; otherwise prompts when intent is ambiguous.

Quick Start

Use this skill when you want your app’s hover and focus color changes to happen instantly by removing only the color-transition parts.

Frequently Asked Questions about remove-color-transition

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

FAQPage Schema
How do I remove color transitions from hover and focus states in CSS?

To remove color transitions from hover and focus states, you must strip transition-colors, transition-property, or transition: all rules affecting color properties. This forces UI color updates to occur instantly instead of fading, while preserving non-color motion like transform or opacity.

How do I disable Tailwind transition-colors without breaking transform animations?

Disabling Tailwind transition-colors without breaking transform animations requires precise scoping to color properties. You must remove only the color-related transition utilities and duration/ease variables, leaving transform, opacity, and filter transition behavior intact and validated.

Does this approach work with CSS-in-JS libraries like styled-components and Emotion?

Yes, this approach works with CSS-in-JS libraries like styled-components and Emotion. It targets and removes color transition behavior within common CSS-in-JS patterns, React/Vue SFCs, inline styles, and plain CSS/SCSS to ensure color updates happen instantly across different frontend styling architectures.

Why do my UI color changes still fade after removing the transition-duration property?

Your UI color changes still fade because removing transition-duration is insufficient if transition: all or state-based color variants remain active. You must completely remove all transition rules specifically targeting color properties like background-color and border-color to achieve instant updates.

Can I apply instant color updates only to specific interaction states like dark mode?

Yes, you can apply instant color updates to specific interaction states like dark mode, active, or disabled. The removal of color transitions can be scoped precisely to target state-based color variants, prompting for clarification only when the intent is ambiguous.

What is the best way to make caret-color and accent-color update instantly without fading?

The best way to make caret-color and accent-color update instantly is to remove all color-related CSS transition and delay behavior. This precisely targets properties like fill, stroke, text-decoration-color, and accent-color, ensuring immediate visual feedback without leaving unused duration utilities.