mirror of
https://github.com/lukin/keywind.git
synced 2025-01-11 02:16:23 +00:00
Update input.ftl
Made template dark mode ready
This commit is contained in:
parent
f3d0e150c0
commit
8bc9dc708d
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
<#macro
|
<#macro
|
||||||
kw
|
kw
|
||||||
autofocus=false
|
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
|
disabled=false
|
||||||
invalid=false
|
invalid=false
|
||||||
label=""
|
label=""
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
@click="show = !show"
|
@click="show = !show"
|
||||||
aria-controls="${name}"
|
aria-controls="${name}"
|
||||||
:aria-expanded="show"
|
: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"
|
type="button"
|
||||||
>
|
>
|
||||||
<div x-show="!show">
|
<div x-show="!show">
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
>
|
>
|
||||||
</#if>
|
</#if>
|
||||||
<#if invalid?? && message??>
|
<#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}
|
${message?no_esc}
|
||||||
</div>
|
</div>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
Loading…
Reference in a new issue