From 07e2ea90c02976204a8ca962c4c920bb3e5a0c8e Mon Sep 17 00:00:00 2001 From: Ian Donahue Date: Fri, 10 Mar 2023 18:28:17 +0100 Subject: [PATCH] Very basic styling of the command palette --- src/lib/components/CommandPalette.svelte | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/lib/components/CommandPalette.svelte b/src/lib/components/CommandPalette.svelte index 65674cfd5..6642173ad 100644 --- a/src/lib/components/CommandPalette.svelte +++ b/src/lib/components/CommandPalette.svelte @@ -79,7 +79,7 @@ } } - let activeClass = ['active', 'bg-orange-800', 'text-white']; + let activeClass = ['active', 'bg-zinc-700/50', 'text-white']; function upMenu() { const menu = document.getElementById('commandMenu'); @@ -189,7 +189,8 @@ bind:this={palette} in:fade={{ duration: 100 }} out:fade={{ duration: 100 }} - class="mx-auto max-w-2xl transform divide-y divide-zinc-500 divide-opacity-20 overflow-hidden rounded-xl bg-zinc-900 shadow-2xl transition-all" + class="mx-auto max-w-2xl transform divide-y divide-zinc-500 divide-opacity-20 overflow-hidden rounded-xl bg-zinc-900 shadow-2xl transition-all border border-zinc-700" + style="border-width: 0.5px;" >
{item.text} {#if item.key} - {item.key} + + {item.key} + {/if} {/each}