diff --git a/webapp/src/lib/marked/renderers/Blockquote.svelte b/webapp/src/lib/marked/renderers/Blockquote.svelte
index a5a0c1e..1b66669 100644
--- a/webapp/src/lib/marked/renderers/Blockquote.svelte
+++ b/webapp/src/lib/marked/renderers/Blockquote.svelte
@@ -11,7 +11,7 @@
{:else}
-
+
{/if}
diff --git a/webapp/src/lib/marked/renderers/InternalEmbed.svelte b/webapp/src/lib/marked/renderers/InternalEmbed.svelte
index c7ad7c9..b11a5dd 100644
--- a/webapp/src/lib/marked/renderers/InternalEmbed.svelte
+++ b/webapp/src/lib/marked/renderers/InternalEmbed.svelte
@@ -8,15 +8,15 @@
-
Internal embed
{text}
-
+
diff --git a/webapp/src/lib/marked/renderers/InternalLink.svelte b/webapp/src/lib/marked/renderers/InternalLink.svelte
index 2b315f8..6d5d096 100644
--- a/webapp/src/lib/marked/renderers/InternalLink.svelte
+++ b/webapp/src/lib/marked/renderers/InternalLink.svelte
@@ -7,6 +7,6 @@
{text}
-
+
diff --git a/webapp/src/lib/marked/renderers/Link.svelte b/webapp/src/lib/marked/renderers/Link.svelte
index fbc133c..4b2b5d5 100644
--- a/webapp/src/lib/marked/renderers/Link.svelte
+++ b/webapp/src/lib/marked/renderers/Link.svelte
@@ -10,5 +10,5 @@
-
+
diff --git a/webapp/src/lib/marked/renderers/Tag.svelte b/webapp/src/lib/marked/renderers/Tag.svelte
index 0039cc3..d42d72d 100644
--- a/webapp/src/lib/marked/renderers/Tag.svelte
+++ b/webapp/src/lib/marked/renderers/Tag.svelte
@@ -1,3 +1,3 @@
-
+
diff --git a/webapp/src/routes/__error.svelte b/webapp/src/routes/__error.svelte
index a39ef63..f729963 100644
--- a/webapp/src/routes/__error.svelte
+++ b/webapp/src/routes/__error.svelte
@@ -22,7 +22,7 @@
export let explainText: string;
-
+
diff --git a/webapp/src/routes/__layout.svelte b/webapp/src/routes/__layout.svelte
index 04e07b4..2ee805b 100644
--- a/webapp/src/routes/__layout.svelte
+++ b/webapp/src/routes/__layout.svelte
@@ -6,8 +6,8 @@
import '../app.css';
-
-
+
+
@@ -19,7 +19,7 @@
>Get Obsidian
-
+
>
-
+
diff --git a/webapp/src/routes/note/[id].svelte b/webapp/src/routes/note/[id].svelte
index daf6fc7..6cdd985 100644
--- a/webapp/src/routes/note/[id].svelte
+++ b/webapp/src/routes/note/[id].svelte
@@ -9,6 +9,7 @@
if (response.ok) {
try {
const note: EncryptedNote = await response.json();
+ console.log(note.expire_time);
note.insert_time = new Date(note.insert_time as unknown as string);
note.expire_time = new Date(note.expire_time as unknown as string);
const maxage = Math.floor((note.expire_time.valueOf() - note.insert_time.valueOf()) / 1000);
@@ -98,7 +99,7 @@
{#if plaintext}
-
+
e2e encrypted | Shared {timeString} ago
@@ -113,7 +114,7 @@
{/if}
{#if decryptFailed}
-
+
Error: Cannot decrypt file
This note could not be decrypted with this link.
diff --git a/webapp/tailwind.config.cjs b/webapp/tailwind.config.cjs
index 5288f96..8c45bda 100644
--- a/webapp/tailwind.config.cjs
+++ b/webapp/tailwind.config.cjs
@@ -1,3 +1,5 @@
+const colors = require('tailwindcss/colors');
+
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
@@ -5,6 +7,7 @@ module.exports = {
theme: {
extend: {
colors: {
+ 'background-dark': colors.zinc[900],
callout: 'rgb(var(--callout-color))',
'callout-bg': 'rgba(var(--callout-color), 0.1)'
}