@fusion.dev/helix-styles 0.237.1 → 0.237.2

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.
package/dist/base.css CHANGED
@@ -1031,7 +1031,10 @@ helix-toggle[disabled]::part(item) {
1031
1031
  border-color: transparent;
1032
1032
  }
1033
1033
  [data-separation="elevated"] {
1034
- background-color: light-dark(var(--helix-color-surface), var(--helix-color-surface-overlay));
1034
+ background-color: light-dark(
1035
+ var(--helix-color-surface),
1036
+ oklch(from var(--helix-color-surface-overlay) calc(l + 0.025) c h)
1037
+ );
1035
1038
  border-color: transparent;
1036
1039
  border-radius: var(--helix-radii-sm);
1037
1040
  box-shadow: var(--helix-shadow-md);
@@ -32,7 +32,6 @@
32
32
  --_helix-neutral-550: oklch(0.53 var(--_helix-neutral-cast));
33
33
  --_helix-neutral-600: oklch(0.5 var(--_helix-neutral-cast));
34
34
  --_helix-neutral-700: oklch(0.33 var(--_helix-neutral-cast));
35
- --_helix-neutral-775: oklch(0.235 var(--_helix-neutral-cast));
36
35
  --_helix-neutral-800: oklch(0.21 var(--_helix-neutral-cast));
37
36
  --_helix-neutral-900: oklch(0.182 var(--_helix-neutral-cast));
38
37
  --_helix-neutral-950: oklch(0.15 var(--_helix-neutral-cast));
@@ -96,7 +95,7 @@
96
95
  --_helix-brand-quiet-400: oklch(from var(--_helix-brand-400) l calc(c * 0.5) h);
97
96
  --_helix-brand-on: light-dark(
98
97
  oklch(from var(--_helix-seed-brand) 1 0 0),
99
- oklch(from var(--_helix-seed-brand) clamp(0, (0.68 - l) * 1000, 1) 0 0)
98
+ oklch(from var(--_helix-seed-brand) calc(1 - clamp(0, (l - 0.68) * 1000, 1)) 0 0)
100
99
  );
101
100
  --_helix-brand-wash: color-mix(
102
101
  in oklab,
@@ -147,7 +146,7 @@
147
146
  );
148
147
  --_helix-accent-on: light-dark(
149
148
  oklch(from var(--_helix-seed-accent) 1 0 0),
150
- oklch(from var(--_helix-seed-accent) clamp(0, (0.68 - l) * 1000, 1) 0 0)
149
+ oklch(from var(--_helix-seed-accent) calc(1 - clamp(0, (l - 0.68) * 1000, 1)) 0 0)
151
150
  );
152
151
  --_helix-accent-quiet-500: oklch(from var(--_helix-accent-500) l calc(c * 0.5) h);
153
152
  --_helix-accent-quiet-400: oklch(from var(--_helix-accent-400) l calc(c * 0.5) h);
package/dist/tokens.css CHANGED
@@ -155,7 +155,7 @@
155
155
  --helix-color-background: light-dark(var(--_helix-neutral-0), var(--_helix-neutral-1000));
156
156
  --helix-color-surface: light-dark(var(--_helix-neutral-50), var(--_helix-neutral-925));
157
157
  --helix-color-surface-raised: light-dark(var(--_helix-neutral-100), var(--_helix-neutral-800));
158
- --helix-color-surface-overlay: light-dark(var(--_helix-neutral-0), var(--_helix-neutral-775));
158
+ --helix-color-surface-overlay: light-dark(var(--_helix-neutral-0), var(--_helix-neutral-800));
159
159
  --helix-color-surface-sunken: light-dark(var(--_helix-neutral-225), var(--_helix-neutral-900));
160
160
  --helix-color-well: color-mix(in oklab, var(--helix-color-foreground) 5%, transparent);
161
161
  --helix-color-track: light-dark(
package/dist/tokens.json CHANGED
@@ -52,7 +52,7 @@
52
52
  "category": "color",
53
53
  "description": "A surface over the page, such as a menu, a popover, or a dialog. Its edge and its shadow set it apart.",
54
54
  "name": "--helix-color-surface-overlay",
55
- "value": "light-dark(var(--_helix-neutral-0), var(--_helix-neutral-775))"
55
+ "value": "light-dark(var(--_helix-neutral-0), var(--_helix-neutral-800))"
56
56
  },
57
57
  {
58
58
  "category": "color",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix-styles",
3
3
  "description": "Design tokens and base layer. Pure CSS, no JavaScript.",
4
- "version": "0.237.1",
4
+ "version": "0.237.2",
5
5
  "license": "MIT",
6
6
  "author": "Fusion Development Group",
7
7
  "repository": {