@threadlabs/looma 0.51.3 → 0.51.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.
package/docs/catalog.json CHANGED
@@ -533,7 +533,7 @@
533
533
  ],
534
534
  "schemaVersion": 1,
535
535
  "package": "@threadlabs/looma",
536
- "version": "0.51.3",
536
+ "version": "0.51.4",
537
537
  "groups": [
538
538
  {
539
539
  "id": "layout",
@@ -3334,6 +3334,9 @@
3334
3334
  background: var(--ui-nav-hover-surface);
3335
3335
  color: var(--ui-text-primary);
3336
3336
  }
3337
+ :scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="internalOpen"] .panel-inner {
3338
+ padding-block: 0 !important;
3339
+ }
3337
3340
  :scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"] :is(.leading, .indicator) {
3338
3341
  inline-size: var(--ui-nav-icon-size);
3339
3342
  font-size: var(--ui-nav-icon-size);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threadlabs/looma",
3
- "version": "0.51.3",
3
+ "version": "0.51.4",
4
4
  "type": "module",
5
5
  "description": "HTML Next UI components, native DOM support and design tokens.",
6
6
  "license": "MIT",
@@ -167,6 +167,9 @@
167
167
  background: var(--ui-nav-hover-surface);
168
168
  color: var(--ui-text-primary);
169
169
  }
170
+ :scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="internalOpen"] .panel-inner {
171
+ padding-block: 0 !important;
172
+ }
170
173
  :scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"] :is(.leading, .indicator) {
171
174
  inline-size: var(--ui-nav-icon-size);
172
175
  font-size: var(--ui-nav-icon-size);
package/theme-system.css CHANGED
@@ -36,6 +36,10 @@
36
36
  }
37
37
 
38
38
  :where(:root, [data-theme], [data-contrast]) {
39
+ /* Reading content stays lighter than surrounding application chrome, even when
40
+ a theme uses the same canvas and raised surface. Both follow the canvas hue. */
41
+ --ui-surface-content: color-mix(in oklab, var(--ui-surface) 92%, white);
42
+ --ui-surface-chrome: color-mix(in oklab, var(--ui-surface) 94%, black);
39
43
  /* Controls use a ratio. Spacing uses an independent curve, so increasing the size
40
44
  contrast cannot unexpectedly turn linear spacing into quadratic spacing. */
41
45
  --ui-control-size: calc(var(--_ui-root-font-unit) * var(--ui-control-roominess));
package/tokens.css CHANGED
@@ -519,3 +519,12 @@
519
519
  }
520
520
 
521
521
  }
522
+
523
+ @layer tokens {
524
+ :where(:root, [data-theme], [data-contrast]) {
525
+ /* Reading content stays lighter than surrounding application chrome, even when
526
+ a theme uses the same canvas and raised surface. Both follow the canvas hue. */
527
+ --ui-surface-content: color-mix(in oklab, var(--ui-surface) 92%, white);
528
+ --ui-surface-chrome: color-mix(in oklab, var(--ui-surface) 94%, black);
529
+ }
530
+ }