design: add roboto slab font
This commit is contained in:
8 files changed
+45
-11
No files matched your search
@@ -154,7 +154,10 @@
|
||||
<svelte:element
|
||||
this={inline ? 'div' : 'article'}
|
||||
dir="auto"
|
||||
class={[!noStyle && 'break-words space-y-4 leading-normal', clazz]}
|
||||
class={[
|
||||
!noStyle && 'wrap-break-word space-y-4 leading-normal font-reading',
|
||||
clazz,
|
||||
]}
|
||||
{style}
|
||||
>
|
||||
<MdTree {tokens} renderers={inline ? inlineRenderers : renderers} />
|
||||
|
||||
@@ -65,7 +65,7 @@ interface Settings {
|
||||
debugInfo: boolean
|
||||
expandImages: boolean
|
||||
|
||||
font: 'inter' | 'system' | 'browser'
|
||||
font: 'inter' | 'system' | 'browser' | 'serifs'
|
||||
leftAlign: boolean
|
||||
|
||||
newWidth: boolean
|
||||
|
||||
@@ -266,7 +266,7 @@
|
||||
source={node.comment_view.comment.content}
|
||||
noStyle
|
||||
class={[
|
||||
'text-[15px] sm:text-base text-slate-700 dark:text-zinc-300 *:leading-[1.6] break-words space-y-3',
|
||||
'text-[15px] font-reading sm:text-base text-slate-700 dark:text-zinc-300 *:leading-[1.6] wrap-break-word space-y-3',
|
||||
node.comment_view.comment.distinguished
|
||||
? 'material-success px-3 py-1.5 rounded-xl max-w-max'
|
||||
: page.url.hash.slice(1) ==
|
||||
|
||||
Reference in new issue
Block a user