Commandbar and dark mode UI fixes (#491)

* Improve dark mode

* Improve commandbar style and add interactions
This commit is contained in:
Félix Malfait
2023-07-01 08:38:45 -07:00
committed by GitHub
parent 256bc24a8c
commit c871d1cc10
6 changed files with 42 additions and 12 deletions

View File

@ -72,21 +72,25 @@ export function CommandMenu() {
<StyledInput placeholder="Search" />
<StyledList>
<StyledEmpty>No results found.</StyledEmpty>
<StyledGroup heading="Go to">
<CommandMenuItem to="/people" label="People" shortcuts={['G', 'P']} />
<StyledGroup heading="Navigate">
<CommandMenuItem
to="/people"
label="Go to People"
shortcuts={['G', 'P']}
/>
<CommandMenuItem
to="/companies"
label="Companies"
label="Go to Companies"
shortcuts={['G', 'C']}
/>
<CommandMenuItem
to="/opportunities"
label="Opportunities"
label="Go to Opportunities"
shortcuts={['G', 'O']}
/>
<CommandMenuItem
to="/settings/profile"
label="Settings"
label="Go to Settings"
shortcuts={['G', 'S']}
/>
</StyledGroup>