Update checkbox.ftl

Made template dark mode ready
This commit is contained in:
CN 2024-01-04 10:45:18 +01:00 committed by GitHub
parent 1c92515a14
commit c5f0751662
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
<input <input
<#if checked>checked</#if> <#if checked>checked</#if>
class="border-secondary-200 h-4 rounded text-primary-600 w-4 focus:ring-primary-200 focus:ring-opacity-50" class="border-secondary-200 h-4 rounded text-primary-600 dark:text-primary-500 w-4 focus:ring-primary-200 focus:ring-opacity-50"
id="${name}" id="${name}"
name="${name}" name="${name}"
type="checkbox" type="checkbox"
@ -12,7 +12,7 @@
${attrName}="${attrValue}" ${attrName}="${attrValue}"
</#list> </#list>
> >
<label class="ml-2 text-secondary-600 text-sm" for="${name}"> <label class="ml-2 text-secondary-600 dark:text-secondary-200 text-sm" for="${name}">
${label} ${label}
</label> </label>
</div> </div>