feat: add new font options

This commit is contained in:
Xylight committed 2024-04-21 14:41:58 -07:00
1 parent 01372c790c
commit f161e75bcf
12 files changed
+43 -24

No files matched your search

+3 -1
View File
@@ -101,7 +101,9 @@
? 'font-inter'
: $userSettings.font == 'system'
? 'font-system'
: 'font-sans'}"
: $userSettings.font == 'satoshi/nunito'
? 'font-nunito'
: 'font-sans'}"
route={$page.route}
>
<Moderation />
@@ -208,7 +208,7 @@
<Icon src={ArrowLeft} mini size="16" slot="prefix" />
</Button>
</div>
<h1 class="font-bold text-lg">
<h1 class="font-bold text-lg font-display leading-5">
<Markdown source={post.post_view.post.name} inline />
</h1>
<PostMedia
+2 -2
View File
@@ -199,8 +199,8 @@
<span slot="title">Font</span>
<span slot="description">What font Photon should use.</span>
<MultiSelect
options={['inter', 'system', 'browser']}
optionNames={['Inter', 'System UI', 'Browser Font']}
options={['inter', 'satoshi/nunito', 'system', 'browser']}
optionNames={['Inter', 'Satoshi/Nunito', 'System UI', 'Browser Font']}
bind:selected={$userSettings.font}
/>
</Setting>