This PR adds support to handle color variants like TailwindCSS.
Example:
use function Termwind\span;
span('text', 'bg-green-300 text-color-gray-700')->render();
// or
span('text')->bg('green', 300)->textColor('gray', 700)->render();
@nunomaduro if you can double check the exception ColorNotFound and the Element function getColorVariant not sure if that's the style we want.
This PR adds support to handle color variants like TailwindCSS.
Example:
@nunomaduro if you can double check the exception
ColorNotFound
and the Element functiongetColorVariant
not sure if that's the style we want.Thanks