feat: design tweaks

This commit is contained in:
Xyphyn committed 2023-09-10 13:05:58 -07:00
1 parent 6660c53878
commit 6afb03ea2b
11 files changed
+238 -298

No files matched your search

+14 -19
View File
@@ -75,6 +75,19 @@
</div>
</div>
</Setting>
<Setting>
<span slot="title">Post style</span>
<ViewSelect />
<p>
{#if $userSettings.view == 'list'}
Show posts in a list, with post bodies and compact images.
{:else if $userSettings.view == 'compact'}
Show posts in a list, without post bodies and with tighter spacing.
{:else if $userSettings.view == 'card'}
Show posts in cards, with large images.
{/if}
</p>
</Setting>
<Setting>
<span slot="title">Hide Posts</span>
<span slot="description">
@@ -117,34 +130,16 @@
<SectionTitle class="mt-4">UI</SectionTitle>
<Setting>
<Checkbox bind:checked={$userSettings.markReadPosts} slot="title">
Mark read posts
Fade read posts
</Checkbox>
<span slot="description">Fade the title of posts you've already read.</span>
</Setting>
<Setting>
<Checkbox bind:checked={$userSettings.revertColors} slot="title">
Revert vote colors
</Checkbox>
<span slot="description">
Make upvotes orange and downvotes blue, like Reddit used to do.
</span>
</Setting>
<Setting>
<span slot="title">Post style</span>
<ViewSelect />
</Setting>
<Setting>
<Checkbox bind:checked={$userSettings.nsfwBlur} slot="title">
NSFW blur
</Checkbox>
<span slot="description">Blur images of NSFW content.</span>
</Setting>
<Setting>
<Checkbox bind:checked={$userSettings.newVote} slot="title">
New vote design
</Checkbox>
<span slot="description">Alternate vote design</span>
</Setting>
<Setting>
<Checkbox bind:checked={$userSettings.expandImages} slot="title">
Expand Images