@threadlabs/looma 0.51.0 → 0.51.1

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.
@@ -19,8 +19,8 @@
19
19
  <prop name="selectionStart" type="integer"
20
20
  >First selected one-based column in a fixed grid row. Pair with selection-end to paint a continuous rounded interval behind the cells.</prop>
21
21
  <prop name="selectionEnd" type="integer"
22
- >Last selected one-based column, inclusive. The interval uses the theme's selection surface; --ui-grid-selection-inset and --ui-grid-selection-surface
23
- customize its inset and paint.</prop>
22
+ >Last selected one-based column, inclusive. The interval combines the theme's selection surface and border colors; --ui-grid-selection-inset and
23
+ --ui-grid-selection-surface customize its inset and paint.</prop>
24
24
  </defs>
25
25
  <!-- Keep decorations adjacent so an empty grid has no generated text cells. -->
26
26
  <!-- markup-fmt-ignore -->
@@ -93,7 +93,13 @@
93
93
  grid-column: var(--_grid-selection-start) / var(--_grid-selection-end) !important;
94
94
  inset: var(--ui-grid-selection-inset, var(--ui-space-1)) !important;
95
95
  border-radius: var(--ui-radius-round);
96
- background: var(--ui-grid-selection-surface, var(--ui-selection-surface));
96
+ background: var(
97
+ --ui-grid-selection-surface,
98
+ light-dark(
99
+ color-mix(in oklab, var(--ui-selection-border) 80%, var(--ui-selection-surface)),
100
+ color-mix(in oklab, var(--ui-selection-border) 28%, var(--ui-selection-surface))
101
+ )
102
+ );
97
103
  pointer-events: none;
98
104
  z-index: -1;
99
105
  }