@sanity/themer
0.10.10.10.2
dist/index.d.ts~
dist/index.d.tsModified+4−4
Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -97,9 +97,9 @@
* ```
*
* @public
*/
-declare function buildPalette(options?: BuildThemeOptions): GeneratedColorPalettes;
+export declare function buildPalette(options?: BuildThemeOptions): GeneratedColorPalettes;
/**
* Generates a Studio theme from a handful of colors per color scheme, by
* replacing the color palette that the `buildTheme` from `@sanity/ui/theme`
* otherwise fills with `@sanity/color`: in each scheme the accent color
@@ -137,9 +137,9 @@
* returns the exact same colors as `buildTheme()` from `@sanity/ui/theme`.
*
* @public
*/
-declare function buildTheme(options?: BuildThemeOptions): RootTheme;
+export declare function buildTheme(options?: BuildThemeOptions): RootTheme;
/**
* A preset theme: a named set of {@link BuildThemeOptions} ready to pass to
* `buildTheme`.
*
@@ -165,7 +165,7 @@
* ```
*
* @public
*/
-declare const presets: ThemePreset[];
-export { type BuildThemeOptions, type GeneratedColorPalette, type GeneratedColorPalettes, type SchemeThemeOptions, type ThemePreset, buildPalette, buildTheme, presets };
+export declare const presets: ThemePreset[];
+export type { BuildThemeOptions, GeneratedColorPalette, GeneratedColorPalettes, SchemeThemeOptions, ThemePreset };
//# sourceMappingURL=index.d.ts.map
\ No newline at end of file