refactor(web): use dark colours instead of slate

This commit is contained in:
Luke committed 2023-03-19 10:58:43 +01:00
1 parent 2a11ded518
commit 7b2b440825
6 files changed
+34 -8

No files matched your search

+4 -4
View File
@@ -7,23 +7,23 @@
</script>
<div class="p-4 w-full h-full flex justify-between gap-4">
<div class="bg-slate-800 p-4 flex flex-col w-2/3 rounded-md">
<div class="bg-dark-700 p-4 flex flex-col w-2/3 rounded-md">
<p class="text-2xl mb-4">Resources</p>
<Input icon={IconSearch} />
<div class="flex flex-col gap-3 mt-6">
{#each resources as resource}
<button
on:click={() => router.goto(`/${resource}`)}
class="bg-slate-700 p-3 text-left hover:bg-slate-600 rounded-md"
class="bg-dark-600 p-3 text-left hover:bg-dark-400 rounded-md"
>
{resource}
</button>
{/each}
</div>
</div>
<div class="bg-slate-800 p-4 flex flex-col w-1/3 rounded-md">
<div class="bg-dark-700 p-4 flex flex-col w-1/3 rounded-md">
<p class="text-2xl mb-4">General data</p>
<div class="flex flex-col">
<div class="flex flex-col text-dark-50">
<p>Queries: 360</p>
<p>Time querying: 332 ms</p>
<p>Slow queries: 6</p>