refactor: use native css w/ tailwindcss restrictions

This commit is contained in:
Xylight committed 2025-09-21 16:12:53 -07:00
1 parent 9a27e95a5f
commit e61d77f46e
12 files changed
+251 -66

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@
import 'nprogress/nprogress.css'
import { onMount } from 'svelte'
import { Forward } from 'svelte-hero-icons'
import '../style/app.css'
import '../app.css'
interface Props {
children?: import('svelte').Snippet
}
+5 -11
View File
@@ -97,22 +97,16 @@
{$t('routes.accounts')}
{#snippet extended()}
<div class="flex">
<div class="flex gap-2 mr-auto">
<div class="flex gap-2 mr-auto items-center">
<Button
href="/accounts/login"
rounding="pill"
class="px-4"
color="primary"
icon={ArrowLeftOnRectangle}
>
{$t('account.login')}
</Button>
<Button
href="/signup"
rounding="pill"
class="px-4"
icon={Identification}
>
<Button href="/signup" rounding="pill" icon={Identification}>
{$t('account.signup')}
</Button>
{#if !LINKED_INSTANCE_URL}
@@ -165,9 +159,9 @@
{/if}
</span>
<span class="text-sm text-slate-600 dark:text-zinc-400">
<span class="capitalize"
>{p.client?.name ?? DEFAULT_CLIENT_TYPE.name}</span
>
<span class="capitalize">
{p.client?.name ?? DEFAULT_CLIENT_TYPE.name}
</span>
• {p.instance}
</span>
</div>
+2 -1
View File
@@ -47,7 +47,7 @@
<Header pageHeader class="lg:flex-row justify-between flex-col">
{$t('routes.inbox.title')}
<div class="flex items-center gap-2 tracking-normal">
<div class="flex gap-2 tracking-normal">
<Button
onclick={() => goto(page.url, { invalidateAll: true })}
size="custom"
@@ -63,6 +63,7 @@
rounding="pill"
color="primary"
icon={Check}
size="lg"
>
{$t('routes.inbox.markAsRead')}
</Button>