dsh-theme-mineradio 2.3.2 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/client.js +4 -4
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -1377,12 +1377,12 @@ function mountWhale(host, dark) {
1377
1377
  const vLight = SHADE_MIN + SHADE_MAX * lit * lit;
1378
1378
  const dist = Math.sqrt(px * px + py * py);
1379
1379
  const glow = smoothstep(8, 0, dist) * 0.3 * assembly;
1380
- const baseAlpha = 0.45 + 0.3 * assembly;
1380
+ const baseAlpha = (darkMode ? 0.45 : 0.62) + 0.3 * assembly;
1381
1381
  const shimmer = Math.sin(time * 1.5 + px * 5 + py * 3) * 0.1 + 0.9;
1382
1382
  const alpha = p.opacity * (baseAlpha + glow) * shimmer * Math.min(vLight, 1);
1383
- const br = darkMode ? 0.75 : 0.42;
1384
- const bg = darkMode ? 0.8 : 0.44;
1385
- const bb = darkMode ? 0.9 : 0.47;
1383
+ const br = darkMode ? 0.85 : 0.68;
1384
+ const bg = darkMode ? 0.66 : 0.5;
1385
+ const bb = darkMode ? 0.26 : 0.16;
1386
1386
  const r = Math.min(255, Math.round((br * assembly + glow * 0.2) * vLight * 255));
1387
1387
  const g = Math.min(255, Math.round((bg * assembly + glow * 0.3) * vLight * 255));
1388
1388
  const b = Math.min(255, Math.round((bb * assembly + glow * 0.5) * vLight * 255));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-theme-mineradio",
3
3
  "description": "Mineradio: a cinematic private-visual-radio glass theme for the Web surface — champagne glow, fluid or wallpaper backdrop, unified corners, and motion",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },