From bcda52061aa2b8ca029b8ffce0b69e3f5159cb3f Mon Sep 17 00:00:00 2001 From: scobru Date: Tue, 15 Oct 2024 01:57:11 +0200 Subject: [PATCH] update --- packages/svelte/package.json | 1 + packages/svelte/src/app.pcss | 5 +- packages/svelte/src/lib/assets/logo.svg | 29 +- .../svelte/src/lib/components/Footer.svelte | 2 +- .../svelte/src/lib/components/Header.svelte | 15 +- .../src/lib/components/ScaffoldEthApp.svelte | 4 +- .../src/lib/components/SwitchTheme.svelte | 2 +- .../gun/account/AccountAvatar.svelte | 92 ++--- .../gun/account/AccountProfile.svelte | 74 ++-- .../gun/profile/ProfileDisplay.svelte | 175 +++++---- packages/svelte/src/lib/gun/auth.ts | 1 + packages/svelte/src/lib/gun/avatar.ts | 155 ++++---- packages/svelte/src/lib/gun/user.ts | 114 +++--- packages/svelte/src/routes/+page.svelte | 115 +++--- packages/svelte/src/routes/auth/+page.svelte | 55 +-- packages/svelte/src/routes/docs/+page.svelte | 332 ++++++++++-------- .../svelte/src/routes/inspect/+page.svelte | 28 +- packages/svelte/src/routes/shine/+page.svelte | 171 ++++----- packages/svelte/tailwind.config.cjs | 102 +++--- yarn.lock | 39 ++ 20 files changed, 859 insertions(+), 652 deletions(-) diff --git a/packages/svelte/package.json b/packages/svelte/package.json index deda57a..2a11460 100644 --- a/packages/svelte/package.json +++ b/packages/svelte/package.json @@ -50,6 +50,7 @@ "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@leodog896/svelte-french-toast": "^1.3.1", "@rollup/plugin-commonjs": "^28.0.0", + "@tailwindcss/typography": "^0.5.15", "@tanstack/svelte-query": "^5.28.9", "@uniswap/sdk-core": "^4.2.0", "@uniswap/v2-sdk": "^4.3.0", diff --git a/packages/svelte/src/app.pcss b/packages/svelte/src/app.pcss index abb94b4..94f36e9 100644 --- a/packages/svelte/src/app.pcss +++ b/packages/svelte/src/app.pcss @@ -17,7 +17,6 @@ p { --secondary-color: #50e3c2; --background-color: #f5f7fa; --text-color: #333; - --font-family: "Montserrat", sans-serif; } body { @@ -31,9 +30,7 @@ h2, h3, h4, h5, -h6 { - font-family: "Montserrat", sans-serif; -} + @keyframes fadeIn { from { diff --git a/packages/svelte/src/lib/assets/logo.svg b/packages/svelte/src/lib/assets/logo.svg index 93e4b40..9214d4f 100644 --- a/packages/svelte/src/lib/assets/logo.svg +++ b/packages/svelte/src/lib/assets/logo.svg @@ -1,10 +1,19 @@ - - - - - - - - - - + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/svelte/src/lib/components/Footer.svelte b/packages/svelte/src/lib/components/Footer.svelte index 875ec21..c235ea1 100644 --- a/packages/svelte/src/lib/components/Footer.svelte +++ b/packages/svelte/src/lib/components/Footer.svelte @@ -10,7 +10,7 @@ const isLocalNetwork = $derived(targetNetwork.id === hardhat.id); -
+
diff --git a/packages/svelte/src/lib/components/Header.svelte b/packages/svelte/src/lib/components/Header.svelte index 8d8bee6..0769c0b 100644 --- a/packages/svelte/src/lib/components/Header.svelte +++ b/packages/svelte/src/lib/components/Header.svelte @@ -66,10 +66,10 @@ onclick={() => { isDrawerOpen = false; }} - class="hover:bg-secondary focus:!bg-secondary active:!text-neutral grid grid-flow-col gap-2 rounded-full px-3 py-1.5 text-sm hover:shadow-md {$isCurrentPage( + class="hover:!bg-ableton-light-blue text-sm focus:!bg-ableton-orange active:!text-secondary-content grid grid-flow-col gap-2 px-3 py-1.5 hover:text-secondary-content {$isCurrentPage( href, ) - ? 'bg-secondary shadow-md' + ? 'bg-ableton-beige text-black' : ''}" > {#if icon} @@ -81,12 +81,12 @@ {/each} {/snippet} -