The state prefix applies a class based on the specified interaction state. A class without a prefix will apply to all states. Adding the state prefix lets you create dynamic and user-friendly interfaces without writing custom CSS for each interaction. Overview
<a href="#" class="link-default hover:link-hover"> This link uses the link-default colour. On hover, the link will use the link-hover colour instead.</a>
Focus focus:<class>
<button class="bg-dark text-light focus:bg-light focus:text-primary"> This button uses the dark background colour. On focus, the button will use the light background colour instead.</button>