refactor: use native css w/ tailwindcss restrictions
This commit is contained in:
12 files changed
+251
-66
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user