+
{#if back}
Back
{title}
@@ -50,13 +49,14 @@
-
diff --git a/src/lib/theme.ts b/src/lib/theme.ts
deleted file mode 100644
index 5bfd88b..0000000
--- a/src/lib/theme.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-export const colors = {
- backgroundColor: '#1b1b20',
-
- primaryColor: '#2e3042',
- primaryAccentColor: '#263447',
-
- secondaryColor: '#dfdfe9',
- secondaryAccentColor: ' #adadbb',
-
- dangerColor: '#be3329',
- dangerAccentColor: '#ddaeb2',
- dangerActivecolor: '#b69092'
-};
-
-export function colorAlpha(hex: string, alpha: number) {
- const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
-
- if (result) {
- const { r, g, b } = {
- r: parseInt(result[1], 16),
- g: parseInt(result[2], 16),
- b: parseInt(result[3], 16)
- }
- return `rgba(${r},${g},${b},${alpha})`
- }
-}
\ No newline at end of file
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 1b03d94..4c9f6e2 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -2,11 +2,29 @@
import { goto } from '$app/navigation';
import Button from '$lib/components/Button.svelte';
import Catalog from '$lib/components/Catalog.svelte';
+ import Modal from '$lib/components/Modal.svelte';
+ import { showSnackbar } from '$lib/util/snackbar';
function onClick() {
goto('/upload');
}
+
+ let modal: HTMLDialogElement;
-
+
+
+
+
+
+ Title
+
+ Content
+
+
+
+
+
+
+