gantri-components 2.99.0 → 2.101.0
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/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/styles/theme.d.ts +3 -0
- package/package.json +1 -1
package/dist/styles/theme.d.ts
CHANGED
|
@@ -222,6 +222,7 @@ declare module 'styled-components' {
|
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
export declare const spacing: DefaultTheme['dimensions']['spacing'];
|
|
225
|
+
declare const defaults: DefaultTheme['defaults'];
|
|
225
226
|
export declare const allProductColorCodes: readonly ["blossompink", "canyon", "carbon", "coral", "fog", "forest", "glossysnowwhite", "meadow", "midnight", "olive", "peach", "persimmon", "sage", "sand", "sedona", "sky", "snow", "sproutgreen", "stone", "sunrise"];
|
|
226
227
|
export type ProductColorCode = typeof allProductColorCodes[number];
|
|
227
228
|
/** Color codes that are no longer available for as product options. */
|
|
@@ -291,6 +292,8 @@ export declare const getButtonsColors: (variant: ButtonVariant, theme?: DefaultT
|
|
|
291
292
|
borderHover?: undefined;
|
|
292
293
|
};
|
|
293
294
|
export declare const createTheme: (config: {
|
|
295
|
+
defaults?: Partial<DefaultTheme['defaults']>;
|
|
294
296
|
theme: 'light' | 'dark';
|
|
295
297
|
typography?: Partial<Omit<DefaultTheme['fonts'], 'useCssVariablesForFontFamily'>>;
|
|
296
298
|
}) => DefaultTheme;
|
|
299
|
+
export {};
|