diff --git a/desktop/local-app/package.json b/desktop/local-app/package.json index 5d264a46..ce50fcb8 100644 --- a/desktop/local-app/package.json +++ b/desktop/local-app/package.json @@ -17,6 +17,8 @@ "@sveltejs/vite-plugin-svelte": "^1.0.0-next.30", "@tsconfig/svelte": "^2.0.1", "prettier": "^2.5.1", + "prettier-plugin-svelte": "^2.6.0", + "rollup-plugin-svelte-svg": "^1.0.0-beta.6", "svelte": "^3.44.0", "svelte-check": "^2.2.7", "svelte-navigator": "^3.1.5", @@ -26,5 +28,10 @@ "vite": "^2.8.0", "vite-plugin-windicss": "^1.7.1", "windicss": "^3.4.3" + }, + "dependencies": { + "@16bits/nes.css": "^2.3.2", + "@fontsource/press-start-2p": "^4.5.2", + "hotkeys-js": "^3.8.7" } } diff --git a/desktop/local-app/src/App.svelte b/desktop/local-app/src/App.svelte index 31697514..0e6e4a43 100644 --- a/desktop/local-app/src/App.svelte +++ b/desktop/local-app/src/App.svelte @@ -1,12 +1,13 @@ @@ -17,6 +18,7 @@
Loading ... Loading ... + Loading ...

404

No Route could be matched.

@@ -28,9 +30,12 @@ {/if} diff --git a/desktop/local-app/src/lib/TextInput.svelte b/desktop/local-app/src/lib/TextInput.svelte new file mode 100644 index 00000000..6063da54 --- /dev/null +++ b/desktop/local-app/src/lib/TextInput.svelte @@ -0,0 +1,27 @@ + + +
+ { + value = e.target.value; + dispatch("change", { value }); + }} + /> +
diff --git a/desktop/local-app/src/lib/ToggleSwitch.svelte b/desktop/local-app/src/lib/ToggleSwitch.svelte new file mode 100644 index 00000000..5ad98ef0 --- /dev/null +++ b/desktop/local-app/src/lib/ToggleSwitch.svelte @@ -0,0 +1,25 @@ + + +
+