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

@@ -7,7 +7,7 @@
import CommandPalette from './commands/CommandPalette.svelte';
</script>
<div class={$currentTheme}>
<div class={`${$currentTheme} root`}>
<div class="iconbar">
<WidgetIconPanel />
</div>
@@ -31,6 +31,9 @@
</div>
<style>
.root {
color: var(--theme-font-1);
}
.iconbar {
position: fixed;
left: 0;
@@ -53,7 +56,7 @@
left: var(--dim-widget-icon-size);
bottom: var(--dim-statusbar-height);
width: var(--dim-left-panel-width);
background-color: var(--theme-bg-2);
background-color: var(--theme-bg-1);
display: flex;
}
.tabs {