Skip to content

An open-source, self-hosted system for apps built with web technologies.

Release System 0.1.20 without Glass Theme

zohayrslileh6a6eee670350
diff --git a/bun.lock b/bun.lock
index c7d3689..b06f378 100644
--- a/bun.lock
+++ b/bun.lock
@@ -24,8 +24,8 @@
"devDependencies": {
"@babel/core": "^7.29.7",
"@babel/plugin-proposal-decorators": "^7.29.7",
- "@phreshos/core": "^0.1.7",
- "@phreshos/react-ui": "^0.1.3",
+ "@phreshos/core": "^0.1.8",
+ "@phreshos/react-ui": "^0.1.4",
"@rolldown/plugin-babel": "^0.2.3",
"@tailwindcss/vite": "^4.3.3",
"@types/adm-zip": "^0.5.8",
@@ -230,9 +230,9 @@
"@oxc-project/types": ["@oxc-project/[email protected]", "", {}, "sha512-nuhZIOLuI6TFQ32I/WnUx+SCPY7SdSKwgnFHydAuoS1+Z4BRcaP+RRJmGzl9lw+0OFF7UmaESf7KQRXaNLHypg=="],
- "@phreshos/core": ["@phreshos/[email protected]", "", {}, "sha512-ZUvPpINq28y4trDHKknDGvIFOV8sTq74YrhsN8UkA1uiQjXQlMM1HkLJdrRrQJvTUgUC711r+Gh96sNTicPXlA=="],
+ "@phreshos/core": ["@phreshos/[email protected]", "", {}, "sha512-9gxb4Yk3/4FefpTTGnj3JPgPk27Ld7JuXX3Mpe4K2kzv+Y0sfy4WzEkP81pwhW9My44LEzpL75wjC9vXmZ1m6A=="],
- "@phreshos/react-ui": ["@phreshos/[email protected]", "", { "dependencies": { "react-aria-components": "^1.20.0" }, "peerDependencies": { "@phreshos/core": "^0.1.7", "react": "^19.2.0", "react-dom": "^19.2.0" } }, "sha512-MdIzY7wt6dNFJPwLtx7GdCZe2wWTuUwRnJK/q4Ss+twr3vUK51gcgVwqSOLcR7mKjE68oroehPHiVxPt7rBojg=="],
+ "@phreshos/react-ui": ["@phreshos/[email protected]", "", { "dependencies": { "react-aria-components": "^1.20.0" }, "peerDependencies": { "@phreshos/core": "^0.1.8", "react": "^19.2.0", "react-dom": "^19.2.0" } }, "sha512-Tz3Mn1lBJWu5o3/Bl9cwNAOagix0XEBpV8kiU6uF0NUC/7c+MIo6OZQFPEyypjXtL5nPeBw0574ntgkO8iHaZQ=="],
"@react-types/shared": ["@react-types/[email protected]", "", { "peerDependencies": { "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, "sha512-AzsuD9OfxTOZMMvTRhlN3oHBwOmFN7tDh27LzqmHt4+uOgPhJT7ZM7/kVs/8/o0WxayMUIk3hBmCFRHv1FUoag=="],
diff --git a/package.json b/package.json
index 76a3858..3b327a7 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "phreshos",
"displayName": "PhreshOS",
- "version": "0.1.19",
+ "version": "0.1.20",
"description": "The PhreshOS server, desktop, and authoritative system runtime.",
"type": "module",
"private": true,
@@ -54,8 +54,8 @@
"devDependencies": {
"@babel/core": "^7.29.7",
"@babel/plugin-proposal-decorators": "^7.29.7",
- "@phreshos/core": "^0.1.7",
- "@phreshos/react-ui": "^0.1.3",
+ "@phreshos/core": "^0.1.8",
+ "@phreshos/react-ui": "^0.1.4",
"@rolldown/plugin-babel": "^0.2.3",
"@tailwindcss/vite": "^4.3.3",
"@types/adm-zip": "^0.5.8",
diff --git a/scripts/verify-theme.mjs b/scripts/verify-theme.mjs
index 8b18790..c3e6223 100644
--- a/scripts/verify-theme.mjs
+++ b/scripts/verify-theme.mjs
@@ -8,13 +8,6 @@ const expected = {
accent: "#4c9cff",
spacing: 12,
radius: 10,
- glass: {
- distortion: 70,
- blur: 4,
- saturation: 1.8,
- brightness: 1.06,
- opacity: 0.12
- },
surface: {
grain: 0.04,
animation: 0,
@@ -33,6 +26,7 @@ assert.deepEqual(configured.surface, {
opacity: 0
})
assert.throws(() => themeSchema.parse({ surface: { color: "black" } }))
+assert.throws(() => themeSchema.parse({ glass: {} }))
assert.throws(() => themeSchema.parse({ surface: { grain: 1.01 } }))
assert.throws(() => themeSchema.parse({ surface: { animation: 17 } }))
assert.throws(() => themeSchema.parse({ surface: { backdrop: 25 } }))
diff --git a/source/server/core/theme-manager.ts b/source/server/core/theme-manager.ts
index 45db681..c285c88 100644
--- a/source/server/core/theme-manager.ts
+++ b/source/server/core/theme-manager.ts
@@ -11,13 +11,6 @@ export const themeSchema: z.ZodType<ThemeProperties> = z.strictObject({
accent: z.string().min(1).default(standardTheme.accent),
spacing: bounded(themeLimits.spacing).default(standardTheme.spacing),
radius: bounded(themeLimits.radius).default(standardTheme.radius),
- glass: z.strictObject({
- distortion: bounded(themeLimits.glass.distortion).default(standardTheme.glass.distortion),
- blur: bounded(themeLimits.glass.blur).default(standardTheme.glass.blur),
- saturation: bounded(themeLimits.glass.saturation).default(standardTheme.glass.saturation),
- brightness: bounded(themeLimits.glass.brightness).default(standardTheme.glass.brightness),
- opacity: bounded(themeLimits.glass.opacity).default(standardTheme.glass.opacity)
- }).default(standardTheme.glass),
surface: z.strictObject({
grain: bounded(themeLimits.surface.grain).default(standardTheme.surface.grain),
animation: bounded(themeLimits.surface.animation).default(standardTheme.surface.animation),