diff --git a/.changeset/modern-singers-watch.md b/.changeset/modern-singers-watch.md new file mode 100644 index 000000000..8eeaac8e0 --- /dev/null +++ b/.changeset/modern-singers-watch.md @@ -0,0 +1,5 @@ +--- +'@ryanatkn/fuz': patch +--- + +fix ssr diff --git a/.changeset/new-berries-sleep.md b/.changeset/new-berries-sleep.md new file mode 100644 index 000000000..7e5d70a2c --- /dev/null +++ b/.changeset/new-berries-sleep.md @@ -0,0 +1,9 @@ +--- +'@ryanatkn/fuz': minor +--- + +rework `Themed.svelte` + +- move some helpers from `Themed.svelte` to `theme.ts` +- replace `get_theme` and `get_color_scheme` with `get_themer` +- remove `Themed_Scope.svelte` for now because it's too broken diff --git a/package-lock.json b/package-lock.json index e41bad2fb..4819aba5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,9 +14,9 @@ "@ryanatkn/eslint-config": "^0.4.0", "@ryanatkn/fuz_code": "^0.15.0", "@ryanatkn/gro": "^0.129.0", - "@ryanatkn/moss": "^0.6.3", + "@ryanatkn/moss": "^0.7.0", "@sveltejs/adapter-static": "^3.0.2", - "@sveltejs/kit": "^2.5.17", + "@sveltejs/kit": "^2.5.18", "@sveltejs/package": "^2.3.2", "@sveltejs/vite-plugin-svelte": "^3.1.1", "@types/node": "^20.14.8", @@ -28,7 +28,7 @@ "prettier-plugin-svelte": "^3.2.5", "prism-svelte": "^0.5.0", "prismjs": "^1.29.0", - "svelte": "^5.0.0-next.164", + "svelte": "^5.0.0-next.175", "svelte-check": "^3.8.2", "tslib": "^2.6.3", "typescript": "^5.5.2", @@ -485,9 +485,9 @@ } }, "node_modules/@ryanatkn/moss": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/@ryanatkn/moss/-/moss-0.6.3.tgz", - "integrity": "sha512-HxnupZSj50gMY6kkojyaG5aqUsw9yHRHvFEzzxux99fGMGaXxMafq3WJ2ag0kHEdgyttKlGIeXtsLLrwfvM4wA==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@ryanatkn/moss/-/moss-0.7.0.tgz", + "integrity": "sha512-xE/eksGvf+lCIxyhfCQvFeh0qLgBZkDdqcNJuyFmpyu+fXNFAYzo09YcH5MTP8lLSBe879MJssk9ZBjTKbVsKQ==", "dev": true, "license": "MIT", "engines": { @@ -508,9 +508,9 @@ } }, "node_modules/@sveltejs/kit": { - "version": "2.5.17", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.5.17.tgz", - "integrity": "sha512-wiADwq7VreR3ctOyxilAZOfPz3Jiy2IIp2C8gfafhTdQaVuGIHllfqQm8dXZKADymKr3uShxzgLZFT+a+CM4kA==", + "version": "2.5.18", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.5.18.tgz", + "integrity": "sha512-+g06hvpVAnH7b4CDjhnTDgFWBKBiQJpuSmQeGYOuzbO3SC3tdYjRNlDCrafvDtKbGiT2uxY5Dn9qdEUGVZdWOQ==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -2826,9 +2826,9 @@ } }, "node_modules/svelte": { - "version": "5.0.0-next.164", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.0.0-next.164.tgz", - "integrity": "sha512-e+V1dSZLCCu0Ln7RKwSl/zP9ZZFbDGW7ABfGQYU/+6sWponizQocmyHyKHzctor0ruGgJKOF7QQB+M6lE2+UrA==", + "version": "5.0.0-next.175", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.0.0-next.175.tgz", + "integrity": "sha512-fWMI0O3PiKFWvTohAEJRkd6RymR3uo7PO8GrNfyx57KDvmmK1KYRzAdHjx+RsKl8oZhfWeJHiot6iebgY8lJng==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index e45e86476..f2d471f8a 100644 --- a/package.json +++ b/package.json @@ -45,9 +45,9 @@ "@ryanatkn/eslint-config": "^0.4.0", "@ryanatkn/fuz_code": "^0.15.0", "@ryanatkn/gro": "^0.129.0", - "@ryanatkn/moss": "^0.6.3", + "@ryanatkn/moss": "^0.7.0", "@sveltejs/adapter-static": "^3.0.2", - "@sveltejs/kit": "^2.5.17", + "@sveltejs/kit": "^2.5.18", "@sveltejs/package": "^2.3.2", "@sveltejs/vite-plugin-svelte": "^3.1.1", "@types/node": "^20.14.8", @@ -59,7 +59,7 @@ "prettier-plugin-svelte": "^3.2.5", "prism-svelte": "^0.5.0", "prismjs": "^1.29.0", - "svelte": "^5.0.0-next.164", + "svelte": "^5.0.0-next.175", "svelte-check": "^3.8.2", "tslib": "^2.6.3", "typescript": "^5.5.2", @@ -324,14 +324,9 @@ "svelte": "./dist/Theme_Input.svelte", "default": "./dist/Theme_Input.svelte" }, - "./theme.js": { - "types": "./dist/theme.d.ts", - "default": "./dist/theme.js" - }, - "./Themed_Scope.svelte": { - "types": "./dist/Themed_Scope.svelte.d.ts", - "svelte": "./dist/Themed_Scope.svelte", - "default": "./dist/Themed_Scope.svelte" + "./theme.svelte.js": { + "types": "./dist/theme.svelte.d.ts", + "default": "./dist/theme.svelte.js" }, "./Themed.svelte": { "types": "./dist/Themed.svelte.d.ts", diff --git a/src/app.html b/src/app.html index 94e54be2f..e8329aae4 100644 --- a/src/app.html +++ b/src/app.html @@ -8,7 +8,6 @@ %sveltekit.head%
-