@threadlabs/looma 0.26.7 → 0.26.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threadlabs/looma",
3
- "version": "0.26.7",
3
+ "version": "0.26.9",
4
4
  "type": "module",
5
5
  "description": "Looma components as HTML, Vue, and plain DOM, with design tokens.",
6
6
  "license": "MIT",
package/tokens.css CHANGED
@@ -183,7 +183,7 @@
183
183
  --ui-accent-solid: var(--ui-accent);
184
184
  /* One quiet selection recipe for destination/content rows. Hue derives from the brand;
185
185
  corners derive from the scale, and selected labels retain their resting weight. */
186
- --ui-selection-surface: color-mix(in oklab, var(--ui-accent) 6%, var(--ui-surface));
186
+ --ui-selection-surface: color-mix(in oklab, var(--ui-accent) 10%, var(--ui-surface));
187
187
  --ui-selection-border: color-mix(in oklab, var(--ui-accent) 20%, var(--ui-surface));
188
188
  --ui-selection-text: var(--ui-accent-subtle-text);
189
189
  --ui-selection-radius: var(--ui-radius-md);
@@ -2771,6 +2771,7 @@ var LoomaEditor = defineComponent({
2771
2771
  const selection = editor.value?.state.selection;
2772
2772
  dismissedFormattingSelection = selection instanceof TextSelection || selection instanceof AllSelection ? selection : null;
2773
2773
  heldFormattingSelection = null;
2774
+ formatOpen.value = false;
2774
2775
  formattingPopup?.hide();
2775
2776
  hideTool();
2776
2777
  };