@pathscale/ui 2.7.3 → 2.7.4

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "format": "solid-layouts-library-v2",
3
3
  "package": "@pathscale/ui",
4
- "version": "2.7.3",
4
+ "version": "2.7.4",
5
5
  "components": {
6
6
  "Accordion": {
7
7
  "kind": "embedded"
@@ -61,7 +61,7 @@ function resolveGlassTokens(tuning, mode) {
61
61
  const { rs, rv, ds, light } = v;
62
62
  const zero = 0 === v.r;
63
63
  const controlTint = v.controlTint;
64
- const background = light ? zero ? 0 : 18 + 30 * rv : 7 * rv;
64
+ const background = light ? zero ? 0 : 18 + 30 * rv : zero ? 0 : 4 + 22 * rv;
65
65
  const border = light ? zero ? 0 : 18 + 18 * rs : 26 * rs;
66
66
  const highlight = light ? zero ? 0 : 22 + 26 * rs : 24 * rs;
67
67
  const bottomHighlight = light ? zero ? 0 : 10 + 14 * rs + 5 * ds : 3.5 * rs + 3 * rs * ds;
@@ -69,11 +69,11 @@ function resolveGlassTokens(tuning, mode) {
69
69
  const rimStart = light ? zero ? 0 : 14 + 18 * rs + 4 * ds : 17 * rs + 3 * ds;
70
70
  const rimEnd = light ? zero ? 0 : 18 + 22 * rs + 4 * ds : 23 * rs + 5 * ds;
71
71
  const innerGlow = light ? 0.035 * rs + 0.045 * rs * ds + 0.012 * ds : 0.055 * rs * ds + 0.018 * ds;
72
- const topGlow = light ? 8 * ds * (0.4 + 0.6 * rs) : 6 * ds * (0.35 + 0.65 * rs);
73
- const bottomGlow = light ? 9 * ds * (0.25 + 0.65 * rs) : 5 * ds * (0.2 + 0.55 * rs);
74
- const sheen = light ? 14 * ds * (0.25 + 0.75 * rs) : 10 * ds * (0.25 + 0.75 * rs);
72
+ const topGlow = light ? 8 * ds * (0.4 + 0.6 * rs) : 13 * ds * (0.35 + 0.65 * rs);
73
+ const bottomGlow = light ? 9 * ds * (0.25 + 0.65 * rs) : 10 * ds * (0.2 + 0.55 * rs);
74
+ const sheen = light ? 14 * ds * (0.25 + 0.75 * rs) : 20 * ds * (0.25 + 0.75 * rs);
75
75
  const fallbackBackground = Math.min(70, light ? background + 10 * rs : 8 * background + 12 * rs);
76
- const shadow = ds > 0 ? `0 ${px(light ? 5 + 10 * ds : 4 + 10 * ds)} ${px(light ? 20 + 28 * ds : 18 + 26 * ds)} rgb(0 0 0 / ${pct(light ? 2 + 5 * ds : 3 + 7 * ds)})` : "0 0 0 rgb(0 0 0 / 0%)";
76
+ const shadow = ds > 0 ? `0 ${px(light ? 5 + 10 * ds : 4 + 10 * ds)} ${px(light ? 20 + 28 * ds : 18 + 26 * ds)} rgb(0 0 0 / ${pct(light ? 2 + 5 * ds : 8 + 22 * ds)})` : "0 0 0 rgb(0 0 0 / 0%)";
77
77
  return {
78
78
  "--glass-blur": px(v.blur, 0),
79
79
  "--glass-saturation": round(1 + 0.18 * rs),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathscale/ui",
3
- "version": "2.7.3",
3
+ "version": "2.7.4",
4
4
  "author": "pathscale",
5
5
  "repository": {
6
6
  "type": "git",