redesign command palette

- add collapsible search groups
- reduce modal padding
- reduce command item padding
- use breadcrumbs for pagination
- move page breadcrumbs to the bottom
This commit is contained in:
jeffvli
2026-03-17 22:28:07 -07:00
parent 3eafa73217
commit 3c562c1398
5 changed files with 146 additions and 44 deletions
@@ -0,0 +1,42 @@
.root {
display: flex;
flex-direction: column;
gap: var(--theme-spacing-xs);
&:not(:last-child) {
margin-bottom: var(--theme-spacing-xs);
}
}
.heading {
display: flex;
gap: var(--theme-spacing-xs);
align-items: center;
font-size: var(--theme-font-size-sm);
cursor: pointer;
user-select: none;
opacity: 0.8;
}
.heading:hover {
opacity: 1;
}
.heading:focus-visible {
outline: 2px solid var(--theme-colors-primary);
outline-offset: 2px;
}
.chevron {
flex-shrink: 0;
width: 1rem;
height: 1rem;
opacity: 0.9;
}
.items {
display: flex;
flex-direction: column;
gap: 0;
}