change theme from command palette

This commit is contained in:
Jan Prochazka
2021-02-25 19:30:20 +01:00
parent f0802dc471
commit fe1fc7923f
5 changed files with 73 additions and 15 deletions

View File

@@ -19,6 +19,7 @@
let domInput;
let parentCommand;
let filter = '';
$: selectedIndex = true ? 0 : filter;
onMount(() => domInput.focus());
@@ -64,7 +65,7 @@
width: 500px;
max-height: 500px;
background: var(--theme-bg-2);
padding: 4px;
padding: 5px;
}
.search {
display: flex;
@@ -73,7 +74,7 @@
width: 100%;
}
.command {
padding: 3px;
padding: 5px;
}
.command:hover {
background: var(--theme-bg-3);