@sanity/themer

0.8.10.9.0
dist/tool.d.ts
~dist/tool.d.tsModified
+3−14
Index: package/dist/tool.d.ts
===================================================================
--- package/dist/tool.d.ts
+++ package/dist/tool.d.ts
@@ -1,5 +1,4 @@
-import { t as BuildThemeOptions } from "./options-CU-emn_p.js";
 /**
  * Options for the {@link themerTool} plugin.
  *
  * This is experimental and may change or be removed in any release without
@@ -8,22 +7,12 @@
  * @alpha
  */
 interface ThemerToolOptions {
   /**
-   * The `buildTheme` options that the Studio's configured theme was generated
-   * from — the themer starts editing from these, so pass the same object that
-   * the `theme` in the Studio config uses:
-   *
-   * ```ts
-   * const config: BuildThemeOptions = {light: {accent: '#1cb485'}, dark: {accent: '#22fca8'}}
-   *
-   * export default defineConfig({
-   *   theme: buildTheme(config),
-   *   plugins: [themerTool({config})],
-   * })
-   * ```
+   * What the tool goes by in the Studio navbar — the toggle's label and
+   * tooltip. Defaults to `Themer`.
    */
-  config?: BuildThemeOptions;
+  title?: string;
 }
 /**
  * A Studio plugin that adds a themer sidebar for `buildTheme` themes: a
  * navbar toggle opens the sidebar next to the Studio, with a list of themes —