Addon · Gradients
grad-linear from-brand to-accent d-r. That's the whole API.
Compose with from-* and to-*. Direction with d-r, d-br. Or any 5° step with a-90, a-135.
Same syntax, swap grad-linear for grad-radial. Position with bg-center, bg-top.
Add animated, animated-fast, animated-slow. . Or apply to text with -text, to borders with -border.
from-brand /* full */ from-brand_ /* 65% */ from-brand-d /* darker */ to-transparent /* fade */
d-t d-b d-l d-r d-tl d-tr d-bl d-br a-0 ... a-360 (5° step)
<body class="all-grads"> <!-- enables variables --> </body>
Background size modifiers, position helpers, animation timings, the full angle table — all in the AI doc.
Open /llms.txt →