migrate: run bunx migrate
This commit is contained in:
115 files changed
+329
-326
No files matched your search
@@ -35,12 +35,12 @@
|
||||
color="none"
|
||||
{...rest}
|
||||
class={[
|
||||
'flex-shrink-0 rounded-full w-10 h-10 lg:w-max lg:h-8 lg:px-3 lg:rounded-xl',
|
||||
'shrink-0 rounded-full w-10 h-10 lg:w-max lg:h-8 lg:px-3 lg:rounded-xl',
|
||||
isSelected &&
|
||||
'bg-slate-200 dark:bg-zinc-900 text-primary-900 dark:!text-primary-100',
|
||||
'bg-slate-200 dark:bg-zinc-900 text-primary-900 dark:text-primary-100!',
|
||||
!rest.color && buttonColor.tertiary,
|
||||
!rest.color &&
|
||||
'lg:bg-white lg:dark:bg-zinc-900 border lg:border-slate-200 lg:border-b-slate-300 lg:dark:border-zinc-800 lg:dark:border-t-zinc-700/50 lg:hover:bg-slate-100 lg:hover:dark:bg-zinc-800 lg:active:bg-slate-200 lg:active:dark:bg-zinc-950',
|
||||
'lg:bg-white lg:dark:bg-zinc-900 border lg:border-slate-200 lg:border-b-slate-300 lg:dark:border-zinc-800 lg:dark:border-t-zinc-700/50 lg:hover:bg-slate-100 lg:dark:hover:bg-zinc-800 lg:active:bg-slate-200 lg:dark:active:bg-zinc-950',
|
||||
clazz,
|
||||
]}
|
||||
size="custom"
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
}}
|
||||
href="/"
|
||||
label={$t('nav.home')}
|
||||
class="ml-2 lg:ml-2 logo border-0 lg:!rounded-full lg:w-10 lg:h-10 lg:!p-0"
|
||||
class="ml-2 lg:ml-2 logo border-0 lg:rounded-full! lg:w-10 lg:h-10 lg:p-0!"
|
||||
adaptive={false}
|
||||
>
|
||||
{#snippet customIcon()}
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<button
|
||||
class="w-10 h-10 rounded-full border-slate-200 dark:border-zinc-700
|
||||
transition-all bg-slate-50 dark:bg-zinc-900 relative
|
||||
hover:bg-slate-200 hover:dark:bg-zinc-700 group {buttonClass}"
|
||||
hover:bg-slate-200 dark:hover:bg-zinc-700 group {buttonClass}"
|
||||
title={$t('profile.profile')}
|
||||
>
|
||||
{#if profile.data?.user}
|
||||
@@ -111,7 +111,7 @@
|
||||
{/snippet}
|
||||
{$t('profile.inbox')}
|
||||
{#if $notifications.inbox > 0}
|
||||
<Badge color="red-subtle" class="text-xs ml-auto font-bold !py-0.5">
|
||||
<Badge color="red-subtle" class="text-xs ml-auto font-bold py-0.5!">
|
||||
{$notifications.inbox > 99 ? '∞' : $notifications.inbox}
|
||||
</Badge>
|
||||
{/if}
|
||||
@@ -136,7 +136,7 @@
|
||||
{/snippet}
|
||||
{$t('nav.menu.settings')}
|
||||
</MenuButton>
|
||||
<MenuButton class="!py-0">
|
||||
<MenuButton class="py-0!">
|
||||
{#snippet prefix()}
|
||||
<Icon
|
||||
src={theme.colorScheme == 'system'
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
alignment="left"
|
||||
color="tertiary"
|
||||
size="lg"
|
||||
class="focus:bg-slate-200 focus:dark:bg-zinc-800 block w-full {clazz}"
|
||||
class="focus:bg-slate-200 dark:focus:bg-zinc-800 block w-full {clazz}"
|
||||
data-sveltekit-preload-code="viewport"
|
||||
data-sveltekit-preload-data="tap"
|
||||
{...rest}
|
||||
|
||||
@@ -255,12 +255,12 @@
|
||||
|
||||
<TextInput
|
||||
bind:value={search}
|
||||
class="sticky rounded-none border-t-0 border-x-0 focus-within:dark:border-zinc-800"
|
||||
class="sticky rounded-none border-t-0 border-x-0 dark:focus-within:border-zinc-800"
|
||||
size="lg"
|
||||
placeholder={$t('nav.commands.prompt')}
|
||||
bind:element={input}
|
||||
/>
|
||||
<div class="h-[32rem] overflow-auto border-slate-200 dark:border-zinc-800 p-5">
|
||||
<div class="h-128 overflow-auto border-slate-200 dark:border-zinc-800 p-5">
|
||||
{#if breadcrumbs.length > 0}
|
||||
<div class="flex items-center gap-2 my-1">
|
||||
<button
|
||||
@@ -299,7 +299,7 @@
|
||||
handleSelect(action)
|
||||
}}
|
||||
class="{globalIndex == selectedIndex
|
||||
? '!bg-slate-100 dark:!bg-zinc-800 text-inherit'
|
||||
? 'bg-slate-100! dark:bg-zinc-800! text-inherit'
|
||||
: 'text-slate-600 dark:text-zinc-400'} block"
|
||||
/>
|
||||
</li>
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
<svelte:window onkeydown={handleKeydown} />
|
||||
|
||||
{#if open}
|
||||
<Modal bind:open title={null} class="!p-0 !gap-0">
|
||||
<Modal bind:open title={null} class="p-0! gap-0!">
|
||||
{#await import('./Commands.svelte')}
|
||||
<div class="h-[32rem] flex flex-col gap-2 items-center justify-center">
|
||||
<div class="h-128 flex flex-col gap-2 items-center justify-center">
|
||||
<Spinner width={32} />
|
||||
<span class="font-medium text-lg">
|
||||
{$t('nav.commands.downloading')}
|
||||
|
||||
Reference in new issue
Block a user