Text usage for the colors/earth|earth 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-earth-700 dark:text-earth-300">Adaptive copy</p>
<a class="text-earth-600 hover:text-earth-500 underline">A link</a>Dark mode#
On dark surfaces, shift two shades lighter: text-earth-600 in light mode becomes dark:text-earth-400.
Related#
colors/earth|Earth hub · colors/index|Color system
