Spaces:
Running
Running
fix(tools): color of active tag look better in light mode
Browse files
src/routes/tools/+page.svelte
CHANGED
@@ -229,7 +229,7 @@
|
|
229 |
<a
|
230 |
href="{base}/tools/{tool._id.toString()}"
|
231 |
class="relative flex flex-row items-center gap-4 overflow-hidden text-balance rounded-xl border bg-gray-50/50 px-4 text-center shadow hover:bg-gray-50 hover:shadow-inner dark:border-gray-800/70 dark:bg-gray-950/20 dark:hover:bg-gray-950/40 max-sm:px-4 sm:h-24"
|
232 |
-
class:!border-blue-
|
233 |
>
|
234 |
<ToolLogo color={tool.color} icon={tool.icon} />
|
235 |
<div class="flex h-full w-full flex-col items-start py-2 text-left">
|
@@ -239,7 +239,7 @@
|
|
239 |
</span>
|
240 |
{#if isActive}
|
241 |
<span
|
242 |
-
class="mx-1.5 inline-flex items-center rounded-full bg-blue-
|
243 |
>Active</span
|
244 |
>
|
245 |
{/if}
|
|
|
229 |
<a
|
230 |
href="{base}/tools/{tool._id.toString()}"
|
231 |
class="relative flex flex-row items-center gap-4 overflow-hidden text-balance rounded-xl border bg-gray-50/50 px-4 text-center shadow hover:bg-gray-50 hover:shadow-inner dark:border-gray-800/70 dark:bg-gray-950/20 dark:hover:bg-gray-950/40 max-sm:px-4 sm:h-24"
|
232 |
+
class:!border-blue-600={isActive}
|
233 |
>
|
234 |
<ToolLogo color={tool.color} icon={tool.icon} />
|
235 |
<div class="flex h-full w-full flex-col items-start py-2 text-left">
|
|
|
239 |
</span>
|
240 |
{#if isActive}
|
241 |
<span
|
242 |
+
class="mx-1.5 inline-flex items-center rounded-full bg-blue-600 px-2 py-0.5 text-xs font-semibold text-white"
|
243 |
>Active</span
|
244 |
>
|
245 |
{/if}
|