Open this example in the interactive library
Source code
<div
class="demo bg-[#e0f2fe] text-[#0c4a6e] dark:bg-[#0c4a6e] dark:text-[#e0f2fe]"
>
Choose colours from the system theme
</div>
Choose colours from the system theme with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div
class="demo bg-[#e0f2fe] text-[#0c4a6e] dark:bg-[#0c4a6e] dark:text-[#e0f2fe]"
>
Choose colours from the system theme
</div>