mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 21:55:59 +00:00
improved colors
This commit is contained in:
@@ -70,7 +70,13 @@
|
|||||||
|
|
||||||
<div class="main" use:clickOutside on:clickOutside={() => ($visibleCommandPalette = false)}>
|
<div class="main" use:clickOutside on:clickOutside={() => ($visibleCommandPalette = false)}>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<input type="text" bind:this={domInput} bind:value={filter} on:keydown={handleKeyDown} />
|
<input
|
||||||
|
type="text"
|
||||||
|
bind:this={domInput}
|
||||||
|
bind:value={filter}
|
||||||
|
on:keydown={handleKeyDown}
|
||||||
|
placeholder={parentCommand?.text || ''}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{#each filteredItems as command, index}
|
{#each filteredItems as command, index}
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
<style>
|
<style>
|
||||||
:global(.theme-dark) {
|
:global(.theme-dark) {
|
||||||
--theme-font-1: #e3e3e3;
|
--theme-font-1: #e3e3e3;
|
||||||
--theme-font-2: #919191;
|
--theme-font-2: #b5b5b5;
|
||||||
--theme-font-3: #5e5e5e;
|
--theme-font-3: #888888;
|
||||||
--theme-font-4: #2b2b2b;
|
--theme-font-4: #5a5a5a;
|
||||||
--theme-font-hover: #8dcff8; /* blue-9 */
|
--theme-font-hover: #8dcff8; /* blue-9 */
|
||||||
--theme-font-link: #65b7f3; /* blue-8 */
|
--theme-font-link: #65b7f3; /* blue-8 */
|
||||||
--theme-font-alt: #b2e58b; /* green-9 */
|
--theme-font-alt: #b2e58b; /* green-9 */
|
||||||
|
|||||||
@@ -7,10 +7,10 @@
|
|||||||
padding: 5px;
|
padding: 5px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
background-color: var(--theme-bg-2);
|
background-color: var(--theme-bg-1);
|
||||||
border: 1px solid var(--theme-border);
|
border: 2px solid var(--theme-border);
|
||||||
}
|
}
|
||||||
div:hover {
|
div:hover {
|
||||||
background-color: var(--theme-bg-3);
|
background-color: var(--theme-bg-2);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user