diff --git a/src/app.html b/src/app.html index 3581800e5..9f52797f1 100644 --- a/src/app.html +++ b/src/app.html @@ -7,7 +7,7 @@
%sveltekit.body% diff --git a/src/app.postcss b/src/app.postcss index 89c9b2cb2..4f2231d21 100644 --- a/src/app.postcss +++ b/src/app.postcss @@ -12,10 +12,9 @@ button { } input, -textarea, textarea { outline: none; - @apply rounded border border-zinc-600 bg-zinc-700 p-2 text-zinc-300 dark:bg-zinc-700; + @apply rounded border border-light-500 bg-white p-2 text-light-900 dark:border-dark-400 dark:bg-dark-600 dark:text-dark-100; @apply hover:border-zinc-500/80; @apply focus:ring-2 focus:ring-blue-600; } @@ -239,7 +238,7 @@ button:focus { @apply text-[#5852A0]; } .purple.outlined { - @apply border-[#524C93] no-underline; + @apply border-[#524C93] text-light-900 no-underline dark:text-dark-100; } .purple.outlined:hover { @apply bg-[#524C93]/20; diff --git a/src/lib/assets/logo-310x310.png b/src/lib/assets/logo-310x310.png new file mode 100644 index 000000000..9f3878915 Binary files /dev/null and b/src/lib/assets/logo-310x310.png differ diff --git a/src/lib/components/Login.svelte b/src/lib/components/Login.svelte index 87026758d..3f0ef098f 100644 --- a/src/lib/components/Login.svelte +++ b/src/lib/components/Login.svelte @@ -8,6 +8,8 @@ const cloud = CloudApi(); const user = stores.user; + export let width: 'basic' | 'full-width' = 'basic'; + const pollForUser = async (token: string) => { const apiUser = await cloud.login.user.get(token).catch(() => null); if (apiUser) { @@ -37,20 +39,18 @@ const authUrl = derived(token, ($token) => $token?.url as string); -- - if you are not redirected automatically, you can -
- {:else} - - {/if} -+ + if you are not redirected automatically, you can +
+{:else} + +{/if} diff --git a/src/lib/theme.ts b/src/lib/theme.ts index f40969af7..298c129f4 100644 --- a/src/lib/theme.ts +++ b/src/lib/theme.ts @@ -1,3 +1,4 @@ +import { building } from '$app/environment'; import { writable, type Writable } from '@square/svelte-store'; import { appWindow, type Theme } from '@tauri-apps/api/window'; @@ -7,6 +8,7 @@ export const theme: WritableYour online account details on gitbutler.com
+