Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Style FaderNew to Visual Studio Code? Get it now.
Style Fader

Style Fader

pankaj

|
7 installs
| (0) | Free
Collapse or dim Tailwind or Inline CSS, className/style attributes in your editor for better readability.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🌀 Style Fader – VS Code Extension

A lightweight VS Code extension to dim or collapse Tailwind className, class, and style attributes in JSX, TSX, HTML, and more.


✨ Features

  • 🎯 Dim or collapse long Tailwind class strings
  • 🎨 Supports both class, className, and style attributes
  • 🧠 Handles:
    • Quoted strings: "...", '...'
    • Template literals: `...`
    • JSX expressions: { "..." }, { \...` }, { condition ? '...' : '...' }`
  • 💻 Works in .tsx, .jsx, .html, and more

🛠️ Modes

Mode Description
off No styling, disables decoration
dim Fades class/style values using low opacity
collapse Replaces class/style value with "...", shows on hover

🚀 Usage

  • Open Command Palette: Ctrl+Shift+L → Tailwind Styler: Toggle Mode
  • Cycles through: off → dim → collapse

⚙️ Configuration

You can set the default mode in your settings (settings.json):

"tailwindStyler.mode": "collapse"
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft