Skip to content

Commit 7554b12

Browse files
refactor: increase discoverability of action bar
1 parent 6adeea2 commit 7554b12

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

app/components/Package/ActionBar.vue

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,24 @@ onKeyStroke(
3030
ref="actionBarRef"
3131
tabindex="-1"
3232
aria-keyshortcuts="b"
33-
class="pointer-events-auto bg-bg shadow-xl shadow-accent/5 border border-fg-muted/20 p-2.5 min-w-[300px] rounded-xl flex gap-2 items-center justify-between animate-in"
33+
class="pointer-events-auto bg-bg shadow-2xl shadow-accent/20 border-2 border-accent/60 p-3 min-w-[300px] rounded-xl flex gap-3 items-center justify-between animate-in ring-1 ring-accent/30"
3434
>
3535
<div aria-live="polite" aria-atomic="true" class="sr-only">
3636
{{ $t('action_bar.selection', selectedPackages.length) }}.
3737
{{ $t('action_bar.shortcut', { key: shortcutKey }) }}.
3838
</div>
3939

40-
<div class="flex items-center gap-1 ms-2">
41-
<span class="text-fg text-sm">
40+
<div class="flex items-center gap-2">
41+
<span class="text-fg font-semibold text-sm flex items-center gap-1.5">
42+
<i class="i-ph:check-circle-fill text-accent text-base" aria-hidden="true"></i>
4243
{{ $t('action_bar.selection', selectedPackages.length) }}
4344
</span>
4445
<button
4546
@click="clearSelectedPackages"
46-
class="flex items-center ms-2 hover:text-fg-muted"
47+
class="flex items-center ms-1 text-fg-muted hover:(text-fg bg-accent/10) p-1.5 rounded-lg transition-colors"
4748
aria-label="Close action bar"
4849
>
49-
<span class="i-lucide:x text-xs relative top-px" aria-hidden="true" />
50+
<span class="i-lucide:x text-sm" aria-hidden="true" />
5051
</button>
5152
</div>
5253

0 commit comments

Comments
 (0)