From af9d0cf302637c22d11d6ff16ea4b72699e952de Mon Sep 17 00:00:00 2001 From: CN <31734342+cn42@users.noreply.github.com> Date: Thu, 4 Jan 2024 10:43:27 +0100 Subject: [PATCH] Update button.ftl Made template dark mode ready --- theme/keywind/login/components/atoms/button.ftl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/theme/keywind/login/components/atoms/button.ftl b/theme/keywind/login/components/atoms/button.ftl index eeb0af7..3529d12 100644 --- a/theme/keywind/login/components/atoms/button.ftl +++ b/theme/keywind/login/components/atoms/button.ftl @@ -1,13 +1,13 @@ <#macro kw color="" component="button" size="" rest...> <#switch color> <#case "primary"> - <#assign colorClass="bg-primary-600 text-white focus:ring-primary-600 hover:bg-primary-700"> + <#assign colorClass="bg-primary-600 text-white dark:text-secondary-100 focus:ring-primary-600 hover:bg-primary-700"> <#break> <#case "secondary"> - <#assign colorClass="bg-secondary-100 text-secondary-600 focus:ring-secondary-600 hover:bg-secondary-200 hover:text-secondary-900"> + <#assign colorClass="bg-secondary-100 dark:bg-secondary-800 text-secondary-600 dark:text-secondary-100 focus:ring-secondary-600 hover:bg-secondary-200 dark:hover:bg-secondary-900 hover:text-secondary-900 dark:hover:text-secondary-100"> <#break> <#default> - <#assign colorClass="bg-primary-600 text-white focus:ring-primary-600 hover:bg-primary-700"> + <#assign colorClass="bg-primary-600 text-white dark:text-secondary-100 focus:ring-primary-600 hover:bg-primary-700"> <#switch size>