@hazem3500/palette 0.9.140 → 0.9.141

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/README.md CHANGED
@@ -627,6 +627,7 @@ Pass these to `initPalette(config)` from `@hazem3500/palette` or `usePalette(con
627
627
  | `drawerContainer` | `HTMLElement` | Viewport | Element used to center the drawer before it is dragged. |
628
628
  | `autoHideDrawer` | `boolean` | `true` | Set `false` to keep the drawer visible away from the pointer. |
629
629
  | `showToolbar` | `boolean` | `true` | Set `false` to keep the toolbar, drawer, and comment pins hidden until `controller.open()` or the restore shortcut. |
630
+ | `theme` | `"auto" \| "light" \| "dark"` | `"auto"` | Inline surfaces follow the page's `color-scheme` or OS setting; force `"light"` or `"dark"`. |
630
631
  | `shortcuts` | `{ comment?, browse?, design?, comments?, restore?, visibility? }` | `C`, `V`, `D`, `L`, `Shift+K`, `H` | A key with optional `Ctrl`, `Alt`, `Shift`, or `Meta`, such as `"M"` or `"Shift+J"`. Set `false` to disable one. Escape and Tab are reserved. Tooltips, tips and keyboard help show the configured keys. The `visibility` default steps aside when another configured shortcut already uses H. |
631
632
  | `toolbar.items` | `ToolbarItem[]` | `browse`, `comment`, `design`, `\|`, `comments`, `\|`, `more`, `account`, `\|`, `dismiss` | Toolbar order and visibility. See [Arranging the toolbar](#arranging-the-toolbar). |
632
633
  | `pins` | `{ size?: "full" \| "compact" \| "dot" \| "auto"; cluster?: boolean }` | `{ size: "full", cluster: true }` | Default pin size. A reviewer's choice in **More → Pin size** wins and is remembered per project. `cluster: false` turns off same-target stacks and collision bubbles. |