Add settings dropdown

Moving the theme toggle inside a settings dropdown in-place.
Adding a switch for the used monospace font, user can either use the
OS or browser default, or switch to "JetBrains Mono".

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2022-11-23 10:14:07 +01:00
parent a99c9c7275
commit d45e21c82d
14 changed files with 394 additions and 31 deletions
+1 -1
View File
@@ -233,7 +233,7 @@
{#if blob.html}
<pre class="code no-scrollbar">{@html blob.content}</pre>
{:else}
<pre class="code no-scrollbar">{blob.content}</pre>
<pre class="code txt-monospace no-scrollbar">{blob.content}</pre>
{/if}
{/if}
</div>