Update input.ftl

Made template dark mode ready
This commit is contained in:
CN 2024-01-04 10:47:43 +01:00 committed by GitHub
parent f3d0e150c0
commit 8bc9dc708d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
<#macro
kw
autofocus=false
class="block border-secondary-200 mt-1 rounded-md w-full focus:border-primary-300 focus:ring focus:ring-primary-200 focus:ring-opacity-50 sm:text-sm"
class="block border-secondary-200 mt-1 rounded-md w-full focus:border-primary-300 focus:ring focus:ring-primary-200 dark:focus:ring-primary-400 focus:ring-opacity-50 sm:text-sm dark:text-secondary-900"
disabled=false
invalid=false
label=""
@ -40,7 +40,7 @@
@click="show = !show"
aria-controls="${name}"
:aria-expanded="show"
class="absolute text-secondary-400 right-3 top-3 sm:top-2"
class="absolute text-secondary-400 dark:text-secondary-500 right-3 top-3 sm:top-2"
type="button"
>
<div x-show="!show">
@ -70,7 +70,7 @@
>
</#if>
<#if invalid?? && message??>
<div class="mt-2 text-red-600 text-sm">
<div class="mt-2 text-red-600 dark:text-red-400 text-sm">
${message?no_esc}
</div>
</#if>