Text usage for the colors/earth|earth palette — the shades that earn their place.

ShadeUse it for
100–300Headlines on dark surfaces
400–500Secondary text on dark
600–700Body text on light surfaces
800–900Headings on light surfaces

Example#

html
<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.

colors/earth|Earth hub · colors/index|Color system