Use slash to display menu and filter commands

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-03-24 12:29:50 +04:00
parent 9c810eb1dc
commit c81769b926
9 changed files with 449 additions and 125 deletions

View File

@@ -52,4 +52,18 @@
pre { @apply my-4 px-6 py-4 bg-border-solid rounded-lg text-sm; }
code { @apply text-inherit font-mono bg-border-solid rounded-md; }
p.is-empty-focused::before {
content: attr(data-placeholder);
@apply text-txt-tertiary pointer-events-none float-left h-0;
}
.slash-search {
@apply bg-subtle rounded px-1.5 py-0.5;
}
.slash-search[data-empty="true"]::after {
content: attr(data-placeholder);
@apply text-txt-tertiary;
}
}