Text usage for the colors/sunset|sunset palette — the shades that earn their place.
Recommended shades#
| Shade | Use it for |
|---|---|
| 100–300 | Headlines on dark surfaces |
| 400–500 | Secondary text on dark |
| 600–700 | Body text on light surfaces |
| 800–900 | Headings on light surfaces |
Example#
<p class="text-sunset-700 dark:text-sunset-300">Adaptive copy</p>
<a class="text-sunset-600 hover:text-sunset-500 underline">A link</a>Dark mode#
On dark surfaces, shift two shades lighter: text-sunset-600 in light mode becomes dark:text-sunset-400.
Related#
colors/sunset|Sunset hub · colors/index|Color system
