mirror of
https://github.com/lukin/keywind.git
synced 2025-01-26 17:26:22 +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...>
|
<#macro kw color="" component="a" size="" rest...>
|
||||||
<#switch color>
|
<#switch color>
|
||||||
<#case "primary">
|
<#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>
|
<#break>
|
||||||
<#case "secondary">
|
<#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>
|
<#break>
|
||||||
<#default>
|
<#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>
|
||||||
|
|
||||||
<#switch size>
|
<#switch size>
|
||||||
|
|
Loading…
Reference in a new issue