Gradients

Patterns and principles for building high-quality CSS gradients: choosing the right color space (sRGB vs oklab vs oklch), linear / radial / conic gradient syntax, layering, performance, hue-shift avoidance, and common recipes (mesh-like backgrounds, button glows, text gradients, masked overlays). Use when building hero backgrounds, button styles, glow effects, gradient text, mesh backgrounds, or fixing muddy/banded gradients. Triggers: gradient, background, oklch, oklab, color interpolation, mesh gradient, glow, hero background.

tommylower 1267446 7.3 KB Updated

File contents

tommylower/cortex/tree/main/design/color/gradients commit 1267446f2e

Frequently asked questions

npx skillmds@latest add tommylower/gradients