design: postactions buttons: ghost -> secondary
This commit is contained in:
4 files changed
+9
-8
No files matched your search
@@ -73,7 +73,7 @@
|
||||
)}
|
||||
<div
|
||||
class={[
|
||||
buttonColor.ghost,
|
||||
buttonColor.secondary,
|
||||
'rounded-full h-full font-medium flex items-center *:p-2 relative',
|
||||
'hover:bg-white dark:hover:bg-zinc-900 overflow-hidden transition-colors shrink-0',
|
||||
'text-inherit! divide-x divide-slate-200 dark:divide-zinc-800 shadow-xs',
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
{#if editing}
|
||||
<Modal bind:open={editing}>
|
||||
{#snippet customTitle()}
|
||||
<h1 class="text-2xl font-bold">Editing post</h1>
|
||||
<h1 class="text-2xl font-bold">{$t('form.edit')}</h1>
|
||||
{/snippet}
|
||||
{#await import('../form/PostForm.svelte')}
|
||||
<div class="mx-auto h-96 flex justify-center items-center">
|
||||
@@ -94,7 +94,7 @@
|
||||
size="custom"
|
||||
href="{postLink(post.post)}#comments"
|
||||
class="text-inherit! h-full px-3 relative"
|
||||
color="ghost"
|
||||
color="secondary"
|
||||
rounding="pill"
|
||||
target={settings.openLinksInNewTab ? '_blank' : ''}
|
||||
title={$t('post.actions.comments')}
|
||||
@@ -119,7 +119,7 @@
|
||||
onclick={() => (debug = true)}
|
||||
title="Debug"
|
||||
size="custom"
|
||||
color="ghost"
|
||||
color="secondary"
|
||||
rounding="pill"
|
||||
class={buttonSquare}
|
||||
animations={{ scale: true, large: true }}
|
||||
@@ -135,7 +135,7 @@
|
||||
{#snippet target(acting)}
|
||||
<Button
|
||||
size="custom"
|
||||
color="ghost"
|
||||
color="secondary"
|
||||
rounding="pill"
|
||||
loading={acting}
|
||||
class={buttonSquare}
|
||||
@@ -157,7 +157,7 @@
|
||||
}}
|
||||
size="custom"
|
||||
class={buttonSquare}
|
||||
color="ghost"
|
||||
color="secondary"
|
||||
rounding="pill"
|
||||
loading={saving}
|
||||
disabled={saving}
|
||||
@@ -173,7 +173,7 @@
|
||||
{#snippet target()}
|
||||
<Button
|
||||
title={$t('post.actions.more.label')}
|
||||
color="ghost"
|
||||
color="secondary"
|
||||
rounding="pill"
|
||||
size="custom"
|
||||
class={buttonSquare}
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
class={[
|
||||
'flex flex-col-reverse sm:flex-row overflow-hidden gap-4 embed-card z-0 relative',
|
||||
'dark:bg-zinc-950 group-hover/link:bg-slate-50 dark:group-hover/link:bg-zinc-900 transition-colors',
|
||||
'shadow-xs',
|
||||
]}
|
||||
rounding="2xl"
|
||||
element="article"
|
||||
|
||||
Reference in new issue
Block a user