misc: increase icon legibility
This commit is contained in:
1 parent
462f910ac3
commit
bcd168df45
8 files changed
+67
-67
No files matched your search
@@ -77,7 +77,7 @@
|
||||
|
||||
<Expandable bind:open={$userSettings.expand.about}>
|
||||
<svelte:fragment slot="title">
|
||||
<Icon src={InformationCircle} size="15" mini />
|
||||
<Icon src={InformationCircle} size="16" mini />
|
||||
{$t('cards.site.about')}
|
||||
</svelte:fragment>
|
||||
<Markdown source={site.site.description} />
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
<Expandable bind:open={$userSettings.expand.stats}>
|
||||
<svelte:fragment slot="title">
|
||||
<Icon src={ChartBar} size="15" mini />
|
||||
<Icon src={ChartBar} size="16" mini />
|
||||
{$t('cards.site.stats')}
|
||||
</svelte:fragment>
|
||||
<div class="flex flex-row gap-4 flex-wrap">
|
||||
@@ -112,7 +112,7 @@
|
||||
{#if admins}
|
||||
<Expandable bind:open={$userSettings.expand.team}>
|
||||
<svelte:fragment slot="title">
|
||||
<Icon src={UserGroup} size="15" mini />
|
||||
<Icon src={UserGroup} size="16" mini />
|
||||
{$t('cards.site.admins')}
|
||||
</svelte:fragment>
|
||||
<ItemList
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<a
|
||||
href="/c/{fullCommunityName(
|
||||
community.community.name,
|
||||
community.community.actor_id,
|
||||
community.community.actor_id
|
||||
)}"
|
||||
class="hover:underline"
|
||||
>
|
||||
@@ -51,7 +51,7 @@
|
||||
</a>
|
||||
<div class="ml-auto flex flex-row items-center gap-2">
|
||||
<Button size="square-md" on:click={() => (showInfo = !showInfo)}>
|
||||
<Icon src={InformationCircle} size="16" mini />
|
||||
<Icon src={InformationCircle} size="16" micro />
|
||||
</Button>
|
||||
<Subscribe {community} let:subscribe let:subscribing>
|
||||
<Button
|
||||
@@ -69,7 +69,7 @@
|
||||
community.subscribed = newSubscribed
|
||||
addSubscription(
|
||||
community.community,
|
||||
newSubscribed == 'Subscribed',
|
||||
newSubscribed == 'Subscribed'
|
||||
)
|
||||
}
|
||||
}}
|
||||
@@ -81,7 +81,7 @@
|
||||
<Icon
|
||||
src={isSubscribed(community.subscribed) ? Check : Plus}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
slot="prefix"
|
||||
/>
|
||||
{#if isSubscribed(community.subscribed)}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<svelte:fragment slot="label">
|
||||
{#if showLabel}
|
||||
<span class="flex items-center gap-1">
|
||||
<Icon src={GlobeAmericas} size="16" mini />
|
||||
<Icon src={GlobeAmericas} size="16" micro />
|
||||
{$t('filter.location.label')}
|
||||
</span>
|
||||
{/if}
|
||||
@@ -48,7 +48,7 @@
|
||||
<Icon
|
||||
src={GlobeAmericas}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.location.all')}
|
||||
@@ -57,7 +57,7 @@
|
||||
<Icon
|
||||
src={MapPin}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>{$t('filter.location.local')}
|
||||
</option>
|
||||
@@ -65,7 +65,7 @@
|
||||
<Icon
|
||||
src={Newspaper}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.location.subscribed')}
|
||||
@@ -77,7 +77,7 @@
|
||||
<Icon
|
||||
src={ShieldCheck}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.location.moderator')}
|
||||
|
||||
@@ -50,14 +50,14 @@
|
||||
}}
|
||||
>
|
||||
<span slot="label" class="flex items-center gap-1">
|
||||
<Icon src={ChartBar} size="13" mini />
|
||||
<Icon src={ChartBar} size="13" micro />
|
||||
{$t('filter.sort.label')}
|
||||
</span>
|
||||
<option value="Active">
|
||||
<Icon
|
||||
src={ArrowTrendingUp}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.sort.active')}
|
||||
@@ -66,7 +66,7 @@
|
||||
<Icon
|
||||
src={Fire}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.sort.hot')}
|
||||
@@ -75,7 +75,7 @@
|
||||
<Icon
|
||||
src={Scale}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.sort.scaled')}
|
||||
@@ -84,7 +84,7 @@
|
||||
<Icon
|
||||
src={Trophy}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.sort.top.label')}
|
||||
@@ -93,7 +93,7 @@
|
||||
<Icon
|
||||
src={Star}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.sort.new')}
|
||||
@@ -102,7 +102,7 @@
|
||||
<Icon
|
||||
src={Clock}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.sort.old')}
|
||||
@@ -111,7 +111,7 @@
|
||||
<Icon
|
||||
src={ArrowTrendingDown}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.sort.controversial')}
|
||||
@@ -120,7 +120,7 @@
|
||||
<Icon
|
||||
src={ChatBubbleOvalLeft}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.sort.mostcomments')}
|
||||
@@ -129,7 +129,7 @@
|
||||
<Icon
|
||||
src={ChatBubbleLeftRight}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.sort.newcomments')}
|
||||
@@ -147,14 +147,14 @@
|
||||
}}
|
||||
>
|
||||
<span slot="label" class="flex items-center gap-1">
|
||||
<Icon src={Clock} size="15" mini />
|
||||
<Icon src={Clock} size="15" micro />
|
||||
{$t('filter.sort.top.time.label')}
|
||||
</span>
|
||||
<option value="TopAll">
|
||||
<Icon
|
||||
src={PlusCircle}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>{$t('filter.sort.top.time.all')}
|
||||
</option>
|
||||
@@ -162,7 +162,7 @@
|
||||
<Icon
|
||||
src={Calendar}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.sort.top.time.9months')}
|
||||
@@ -171,7 +171,7 @@
|
||||
<Icon
|
||||
src={Calendar}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.sort.top.time.6months')}
|
||||
@@ -180,7 +180,7 @@
|
||||
<Icon
|
||||
src={Calendar}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.sort.top.time.3months')}
|
||||
@@ -189,7 +189,7 @@
|
||||
<Icon
|
||||
src={CalendarDays}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>{$t('filter.sort.top.time.month')}
|
||||
</option>
|
||||
@@ -197,7 +197,7 @@
|
||||
<Icon
|
||||
src={CalendarDays}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>{$t('filter.sort.top.time.week')}
|
||||
</option>
|
||||
@@ -205,7 +205,7 @@
|
||||
<Icon
|
||||
src={Sun}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>{$t('filter.sort.top.time.day')}
|
||||
</option>
|
||||
@@ -213,7 +213,7 @@
|
||||
<Icon
|
||||
src={Clock}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>{$t('filter.sort.top.time.12hours')}
|
||||
</option>
|
||||
@@ -221,7 +221,7 @@
|
||||
<Icon
|
||||
src={Clock}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>{$t('filter.sort.top.time.6hours')}
|
||||
</option>
|
||||
@@ -229,7 +229,7 @@
|
||||
<Icon
|
||||
src={Clock}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>{$t('filter.sort.top.time.hour')}
|
||||
</option>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<svelte:fragment slot="label">
|
||||
{#if showLabel}
|
||||
<span class="flex items-center gap-1">
|
||||
<Icon src={ViewColumns} size="14" mini />
|
||||
<Icon src={ViewColumns} size="14" micro />
|
||||
{$t('filter.view.label')}
|
||||
</span>
|
||||
{/if}
|
||||
@@ -29,7 +29,7 @@
|
||||
<Icon
|
||||
src={RectangleGroup}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.view.cozy')}
|
||||
@@ -38,7 +38,7 @@
|
||||
<Icon
|
||||
src={QueueList}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.view.list')}
|
||||
@@ -47,7 +47,7 @@
|
||||
<Icon
|
||||
src={Bars3}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.view.compact')}
|
||||
@@ -56,7 +56,7 @@
|
||||
<Icon
|
||||
src={Clock}
|
||||
size="16"
|
||||
mini
|
||||
micro
|
||||
class="text-slate-600 dark:text-zinc-400"
|
||||
/>
|
||||
{$t('filter.view.legacy')}
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
rounding="pill"
|
||||
class={buttonSquare}
|
||||
>
|
||||
<Icon src={BugAnt} mini size="16" slot="prefix" />
|
||||
<Icon src={BugAnt} micro size="16" slot="prefix" />
|
||||
</Button>
|
||||
{/if}
|
||||
{#if $profile?.user && (amMod($profile.user, post.community) || isAdmin($profile.user))}
|
||||
@@ -207,14 +207,14 @@
|
||||
size="custom"
|
||||
class={buttonSquare}
|
||||
>
|
||||
<Icon slot="prefix" src={EllipsisHorizontal} width={16} mini />
|
||||
<Icon slot="prefix" src={EllipsisHorizontal} width={16} micro />
|
||||
</Button>
|
||||
<MenuDivider>{$t('post.actions.more.creator')}</MenuDivider>
|
||||
<MenuButton
|
||||
link
|
||||
href="/u/{post.creator.name}@{new URL(post.creator.actor_id).hostname}"
|
||||
>
|
||||
<Icon src={UserCircle} width={16} mini slot="prefix" />
|
||||
<Icon src={UserCircle} size="16" micro slot="prefix" />
|
||||
<span>{post.creator.name}</span>
|
||||
</MenuButton>
|
||||
<MenuButton
|
||||
@@ -222,7 +222,7 @@
|
||||
href="/c/{post.community.name}@{new URL(post.community.actor_id)
|
||||
.hostname}"
|
||||
>
|
||||
<Icon src={Newspaper} width={16} mini slot="prefix" />
|
||||
<Icon src={Newspaper} size="16" micro slot="prefix" />
|
||||
<span>{post.community.title}</span>
|
||||
</MenuButton>
|
||||
<MenuButton
|
||||
@@ -245,7 +245,7 @@
|
||||
{#if fediseerLoading}
|
||||
<Spinner width={14} />
|
||||
{:else}
|
||||
<Icon src={ServerStack} width={16} mini />
|
||||
<Icon src={ServerStack} size="16" micro />
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
<span>{new URL(post.community.actor_id).hostname}</span>
|
||||
@@ -254,7 +254,7 @@
|
||||
<MenuDivider>{$t('post.actions.more.actions')}</MenuDivider>
|
||||
{#if $profile?.user && $profile?.jwt && $profile.user.local_user_view.person.id == post.creator.id}
|
||||
<MenuButton on:click={() => (editing = true)}>
|
||||
<Icon src={PencilSquare} width={16} mini slot="prefix" />
|
||||
<Icon src={PencilSquare} size="16" micro slot="prefix" />
|
||||
{$t('post.actions.more.edit')}
|
||||
</MenuButton>
|
||||
{/if}
|
||||
@@ -265,7 +265,7 @@
|
||||
post.read = await markAsRead(post.post, !post.read, $profile.jwt)
|
||||
}}
|
||||
>
|
||||
<Icon slot="prefix" src={post.read ? EyeSlash : Eye} width={16} mini />
|
||||
<Icon slot="prefix" src={post.read ? EyeSlash : Eye} size="16" micro />
|
||||
{post.read
|
||||
? $t('post.actions.more.markUnread')
|
||||
: $t('post.actions.more.markRead')}
|
||||
@@ -287,7 +287,7 @@
|
||||
}}
|
||||
class="flex-1 !py-0"
|
||||
>
|
||||
<Icon src={Share} width={16} mini slot="prefix" />
|
||||
<Icon src={Share} size="16" micro slot="prefix" />
|
||||
{$t('post.actions.more.share')}
|
||||
{#if !post.post.local}
|
||||
<Switch
|
||||
@@ -310,7 +310,7 @@
|
||||
translating = !translating
|
||||
}}
|
||||
>
|
||||
<Icon src={Language} size="16" mini slot="prefix" />
|
||||
<Icon src={Language} size="16" micro slot="prefix" />
|
||||
{$t('post.actions.more.translate')}
|
||||
</MenuButton>
|
||||
{/if}
|
||||
@@ -338,7 +338,7 @@
|
||||
goto('/create/post?crosspost=true')
|
||||
}}
|
||||
>
|
||||
<Icon src={ArrowTopRightOnSquare} width={16} mini slot="prefix" />
|
||||
<Icon src={ArrowTopRightOnSquare} size="16" micro slot="prefix" />
|
||||
{$t('post.actions.more.crosspost')}
|
||||
</MenuButton>
|
||||
{#if $profile.user && post.creator.id == $profile.user.local_user_view.person.id}
|
||||
@@ -353,7 +353,7 @@
|
||||
}}
|
||||
color="danger-subtle"
|
||||
>
|
||||
<Icon src={Trash} width={16} mini slot="prefix" />
|
||||
<Icon src={Trash} size="16" micro slot="prefix" />
|
||||
{post.post.deleted
|
||||
? $t('post.actions.more.restore')
|
||||
: $t('post.actions.more.delete')}
|
||||
@@ -376,14 +376,14 @@
|
||||
}}
|
||||
color="danger-subtle"
|
||||
>
|
||||
<Icon slot="prefix" src={XMark} size="16" mini />
|
||||
<Icon slot="prefix" src={XMark} size="16" micro />
|
||||
{post.hidden
|
||||
? $t('post.actions.more.unhide')
|
||||
: $t('post.actions.more.hide')}
|
||||
</MenuButton>
|
||||
{/if}
|
||||
<MenuButton on:click={() => report(post)} color="danger-subtle">
|
||||
<Icon src={Flag} width={16} mini slot="prefix" />
|
||||
<Icon src={Flag} width={16} micro slot="prefix" />
|
||||
{$t('moderation.report')}
|
||||
</MenuButton>
|
||||
{/if}
|
||||
|
||||
Reference in new issue
Block a user