From 062fc665b9d9a6fdd61ae832fe02926999cc872a Mon Sep 17 00:00:00 2001 From: Ian Donahue Date: Mon, 13 Mar 2023 00:19:48 +0100 Subject: [PATCH] Commit palette model looks a little more modern --- src/lib/components/Breadcrumbs.svelte | 3 ++- src/lib/components/CommandPalette.svelte | 25 +++++++++++--------- src/routes/projects/[projectId]/+page.svelte | 6 +++++ 3 files changed, 22 insertions(+), 12 deletions(-) diff --git a/src/lib/components/Breadcrumbs.svelte b/src/lib/components/Breadcrumbs.svelte index 223480de8..51d10fe35 100644 --- a/src/lib/components/Breadcrumbs.svelte +++ b/src/lib/components/Breadcrumbs.svelte @@ -12,13 +12,14 @@
- +
    • @@ -381,9 +383,7 @@ {item.text} {#if item.key} - + {item.key} {/if} @@ -405,8 +405,11 @@ bind:this={commitPalette} class="mx-auto max-w-2xl transform overflow-hidden rounded-xl bg-zinc-900 shadow-2xl transition-all border border-zinc-700" style=" - border-width: 0.5px; - border: 0.5px solid rgba(63, 63, 70, 0.50);" + border-width: 0.5px; + border: 0.5px solid rgba(63, 63, 70, 0.50); + -webkit-backdrop-filter: blur(20px) saturate(190%) contrast(70%) brightness(80%); + background-color: rgba(24, 24, 27, 0.6); + " >
      Commit Your Changes diff --git a/src/routes/projects/[projectId]/+page.svelte b/src/routes/projects/[projectId]/+page.svelte index 9e7e8374a..308e2daec 100644 --- a/src/routes/projects/[projectId]/+page.svelte +++ b/src/routes/projects/[projectId]/+page.svelte @@ -182,10 +182,16 @@
    • {activity.status.slice(0, 1)} {shortPath(activity.path)} +
    • + {/each}
+ +
+ +
{/if}