design: tweak theming and remove questionable text in sign up page

This commit is contained in:
Xylight committed 2024-04-29 17:47:55 -07:00
1 parent 4c8bbe4e64
commit 32c4a060a1
10 files changed
+103 -93

No files matched your search

+22 -22
View File
@@ -39,6 +39,28 @@
<div class="shell {$$props.class}" style={colorsToVars($colors)}>
<slot />
<div
class="
{$userSettings.dock.noGap ? '' : 'p-4 max-w-3xl left-1/2 -translate-x-1/2'}
{$userSettings.dock.top ? 'top-0' : 'bottom-0'}
w-full fixed z-50 pointer-events-none"
style="grid-area: navbar;"
>
<slot
name="navbar"
class="
{$userSettings.dock.noGap
? $userSettings.dock.top
? 'border-b shadow-none'
: 'border-t'
: 'border rounded-full'}
border-slate-200 dark:border-zinc-800 shadow-2xl
backdrop-blur-xl dark:backdrop-brightness-[25%] bg-[#ffffff]/75 dark:bg-transparent transition-colors duration-500
pointer-events-auto"
style="grid-area: navbar"
{title}
/>
</div>
<div
class="content md:divide-x divide-slate-200 dark:divide-zinc-900 min-h-screen {$userSettings.newWidth
? 'limit-width'
@@ -63,28 +85,6 @@
style="grid-area: suffix;"
/>
</div>
<div
class="
{$userSettings.dock.noGap ? '' : 'p-4 max-w-3xl left-1/2 -translate-x-1/2'}
{$userSettings.dock.top ? 'top-0' : 'bottom-0'}
w-full fixed z-50 pointer-events-none"
style="grid-area: navbar;"
>
<slot
name="navbar"
class="
{$userSettings.dock.noGap
? $userSettings.dock.top
? 'border-b shadow-none'
: 'border-t'
: 'border rounded-full'}
border-slate-200 dark:border-zinc-800 shadow-2xl
backdrop-blur-xl dark:backdrop-brightness-[25%] bg-[#ffffff]/75 dark:bg-transparent transition-colors duration-500
pointer-events-auto"
style="grid-area: navbar"
{title}
/>
</div>
</div>
<style>
+6 -6
View File
@@ -24,6 +24,7 @@
InformationCircle,
Moon,
Sun,
Swatch,
UserCircle,
UserGroup,
} from 'svelte-hero-icons'
@@ -100,12 +101,7 @@
<Icon src={Cog6Tooth} mini width={16} slot="prefix" />
Settings
</MenuButton>
<MenuButton
class="!py-0"
on:click={() => {
goto('/theme')
}}
>
<MenuButton class="!py-0">
<Icon
src={$legacyTheme == 'system'
? ComputerDesktop
@@ -129,6 +125,10 @@
</Select>
</div>
</MenuButton>
<MenuButton href="/theme">
<Icon src={Swatch} size="16" mini slot="prefix" />
Theme
</MenuButton>
{#if $userSettings.debugInfo}
<MenuButton link href="/util">
<Icon src={BugAnt} mini width={16} slot="prefix" />