mirror of
https://github.com/lukin/keywind.git
synced 2025-01-25 16:56:24 +00:00
Update link.ftl
Made template dark mode ready
This commit is contained in:
parent
8bc9dc708d
commit
128003d3bc
1 changed files with 9 additions and 3 deletions
|
@ -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>
|
||||
|
||||
<#switch size>
|
||||
|
|
Loading…
Reference in a new issue