@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/components/ui-disclosure/ui-disclosure.html +3 -0
- package/dist/index.js +1 -1
- package/docs/catalog.json +1 -1
- package/editor/components.css +3 -0
- package/package.json +1 -1
- package/styles/ui-disclosure.css +3 -0
- package/theme-system.css +4 -0
- package/tokens.css +9 -0
package/docs/catalog.json
CHANGED
package/editor/components.css
CHANGED
|
@@ -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
package/styles/ui-disclosure.css
CHANGED
|
@@ -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
|
+
}
|