diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz
index 85a6171..bd7a0ca 100644
Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ
diff --git a/package.json b/package.json
index fe32c4e..defca70 100644
--- a/package.json
+++ b/package.json
@@ -12,30 +12,30 @@
"format": "prettier --write ."
},
"devDependencies": {
- "@eslint/js": "^9.4.0",
- "@sveltejs/adapter-auto": "^3.2.1",
- "@sveltejs/kit": "^2.5.10",
+ "@eslint/js": "^9.5.0",
+ "@sveltejs/adapter-auto": "^3.2.2",
+ "@sveltejs/kit": "^2.5.17",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@types/eslint": "^8.56.10",
- "eslint": "^9.4.0",
+ "eslint": "^9.5.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
- "eslint-plugin-svelte": "^2.39.3",
- "globals": "^15.4.0",
+ "eslint-plugin-svelte": "^2.40.0",
+ "globals": "^15.6.0",
"prettier": "^3.3.2",
"prettier-plugin-svelte": "^3.2.4",
"svelte": "^4.2.18",
- "svelte-check": "^3.8.0",
+ "svelte-check": "^3.8.1",
"tslib": "^2.6.3",
"typescript": "^5.4.5",
- "typescript-eslint": "^7.13.0",
- "vite": "^5.2.13"
+ "typescript-eslint": "^7.13.1",
+ "vite": "^5.3.1"
},
"type": "module",
"packageManager": "yarn@4.3.0",
"dependencies": {
"rxdb": "^15.24.0",
"rxjs": "^7.8.1",
- "ts-pattern": "^5.1.2"
+ "ts-pattern": "^5.2.0"
}
}
diff --git a/src/app.html b/src/app.html
index 4ac2d9e..85c1939 100644
--- a/src/app.html
+++ b/src/app.html
@@ -1,23 +1,30 @@
-
-
-
-
-
- %sveltekit.head%
-
-
-
- %sveltekit.body%
-
+
+
+
+
+
+ %sveltekit.head%
+
+
+
+
+ %sveltekit.body%
+
+
diff --git a/src/lib/app-config/index.ts b/src/lib/app-config/index.ts
index e1f0a62..6163f6b 100644
--- a/src/lib/app-config/index.ts
+++ b/src/lib/app-config/index.ts
@@ -9,7 +9,6 @@ interface AppThemeProperties {
interface PersistableThemeBundle {
readonly bundleName: string
currentThemeKey: string
- readonly themes: Record
}
interface AppTheme extends PersistableThemeBundle {
diff --git a/src/lib/app-config/themes/default.ts b/src/lib/app-config/themes/default.ts
index 07fdea9..75d224b 100644
--- a/src/lib/app-config/themes/default.ts
+++ b/src/lib/app-config/themes/default.ts
@@ -19,7 +19,7 @@ export class DefaultTheme implements AppTheme {
}
}
- private static DEFAULT_THEME_KEY = "dark"
+ private static DEFAULT_THEME_KEY = "light"
constructor(bundleName?: string, currentThemeKey?: string) {
this.bundleName = bundleName ?? "com.novum.norrsken-theme"
diff --git a/src/lib/components/toolbox.svelte b/src/lib/components/toolbox.svelte
index e69de29..ca77391 100644
--- a/src/lib/components/toolbox.svelte
+++ b/src/lib/components/toolbox.svelte
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
diff --git a/src/routes/project/[id]/+page.svelte b/src/routes/project/[id]/+page.svelte
index d8b155b..a4ae5fb 100644
--- a/src/routes/project/[id]/+page.svelte
+++ b/src/routes/project/[id]/+page.svelte
@@ -18,6 +18,7 @@
import { CanvasPointComponent } from "$lib/ecs/components/canvas-point"
import { CanvasPointsSystem } from "$lib/ecs/systems/canvas-points"
import { appTheme } from "$lib/stores/app-config"
+ import Toolbox from "$lib/components/toolbox.svelte"
let canvas: HTMLCanvasElement | null
let currentLayer: Layer | null = null
@@ -164,6 +165,7 @@
{/each}
+