{if $type === 'light'}
    <span class="tw-inline-flex tw-items-center tw-justify-center tw-gap-1 tw-rounded-full
    tw-bg-gray-500 tw-px-2.5 tw-py-1 tw-text-xs tw-font-medium tw-text-white
    tw-dark:bg-white/5 tw-dark:text-white">
        {$text}
    </span>
{elseif $type === 'solid'}
    <span class="tw-inline-flex tw-items-center tw-justify-center tw-gap-1 tw-rounded-full
    tw-bg-gray-800 tw-px-2.5 tw-py-1 tw-text-xs tw-font-medium tw-text-white
    tw-dark:bg-white/15 tw-dark:text-white">
        {$text}
    </span>
{/if}
