From 128003d3bc8dac78b1afa828ae76f085c6e667de Mon Sep 17 00:00:00 2001 From: CN <31734342+cn42@users.noreply.github.com> Date: Thu, 4 Jan 2024 10:48:40 +0100 Subject: [PATCH] Update link.ftl Made template dark mode ready --- theme/keywind/login/components/atoms/link.ftl | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/theme/keywind/login/components/atoms/link.ftl b/theme/keywind/login/components/atoms/link.ftl index bde7666..bf86612 100644 --- a/theme/keywind/login/components/atoms/link.ftl +++ b/theme/keywind/login/components/atoms/link.ftl @@ -1,13 +1,19 @@ <#macro kw color="" component="a" size="" rest...> <#switch color> <#case "primary"> - <#assign colorClass="text-primary-600 hover:text-primary-500"> + <#assign colorClass="text-primary-600 dark:text-primary-400 hover:text-primary-500"> <#break> <#case "secondary"> - <#assign colorClass="text-secondary-600 hover:text-secondary-900"> + <#assign colorClass="text-secondary-600 dark:text-secondary-400 hover:text-secondary-900"> + <#break> + <#case "secondary-2"> + <#assign colorClass="text-secondary-600 dark:text-secondary-400 hover:text-secondary-900 dark:hover:text-secondary-600"> + <#break> + <#case "secondary-3"> + <#assign colorClass="text-secondary-600 dark:text-secondary-400 hover:text-secondary-900 dark:hover:text-secondary-200"> <#break> <#default> - <#assign colorClass="text-primary-600 hover:text-primary-500"> + <#assign colorClass="text-primary-600 dark:text-primary-400 hover:text-primary-500"> <#switch size>