dislop AI slop linter · v0.8.2

Default purple-pink AI gradient

How to judge

Replace decorative neon gradients with solid surface tokens, crisp 1px rules, and typographic contrast.

What this rule catches

Default purple/indigo-to-pink generator gradient or gradient-clipped display headline.

Before and after examples

Original (flagged)
<h1 class="bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 bg-clip-text text-transparent">Release Notes v2.4</h1>
Fallback trap (still sounds like AI)
<h1 class="bg-gradient-to-r from-teal-400 to-cyan-500 bg-clip-text text-transparent">Release Notes v2.4</h1>
Clean version
<h1 class="page-title">Release Notes v2.4</h1>

Edit note: Swapping purple-pink for teal-cyan gradient text repeats the same template habit; set headlines in solid high-contrast ink.

Run locally via CLI

npx --yes dislop explain ui-ai-gradient
npx --yes dislop check . --pack deck-and-ui

Related guides

Other rules in deck-and-ui