@baseline-ui/tokens 0.46.0 → 0.46.2
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/Acknowledgements.md +2581 -391
- package/dist/index.d.mts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +4 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PartialDeep } from 'type-fest';
|
|
1
2
|
import * as _vanilla_extract_sprinkles from '@vanilla-extract/sprinkles';
|
|
2
3
|
import * as _vanilla_extract_css from '@vanilla-extract/css';
|
|
3
4
|
import { GlobalStyleRule, StyleRule } from '@vanilla-extract/css';
|
|
@@ -5519,4 +5520,16 @@ declare const themes: {
|
|
|
5519
5520
|
};
|
|
5520
5521
|
};
|
|
5521
5522
|
|
|
5522
|
-
|
|
5523
|
+
/**
|
|
5524
|
+
* Extends a theme with overrides, validating both the default theme and
|
|
5525
|
+
* overrides. The overrides will be deeply merged into the default theme.
|
|
5526
|
+
*
|
|
5527
|
+
* @param defaultTheme - The base theme to extend
|
|
5528
|
+
* @param overrides - Partial theme object with properties to override
|
|
5529
|
+
* @returns A new theme object with overrides applied
|
|
5530
|
+
* @throws {ZodValidationError} If the default theme or final merged theme is
|
|
5531
|
+
* invalid
|
|
5532
|
+
*/
|
|
5533
|
+
declare function extendTheme(defaultTheme: Theme, overrides: PartialDeep<Theme>): Theme;
|
|
5534
|
+
|
|
5535
|
+
export { type Breakpoint, Layers, type Sprinkles, type Theme, aveDark as aveDarkTheme, aveLight as aveLightTheme, breakpoints, dark as darkTheme, extendTheme, getLayoutValue, layoutSprinkleValues, light as lightTheme, nutrientLight as nutrientLightTheme, queries, responsiveStyle, sprinkles, themeContract, themeVars, themes, validateTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PartialDeep } from 'type-fest';
|
|
1
2
|
import * as _vanilla_extract_sprinkles from '@vanilla-extract/sprinkles';
|
|
2
3
|
import * as _vanilla_extract_css from '@vanilla-extract/css';
|
|
3
4
|
import { GlobalStyleRule, StyleRule } from '@vanilla-extract/css';
|
|
@@ -5519,4 +5520,16 @@ declare const themes: {
|
|
|
5519
5520
|
};
|
|
5520
5521
|
};
|
|
5521
5522
|
|
|
5522
|
-
|
|
5523
|
+
/**
|
|
5524
|
+
* Extends a theme with overrides, validating both the default theme and
|
|
5525
|
+
* overrides. The overrides will be deeply merged into the default theme.
|
|
5526
|
+
*
|
|
5527
|
+
* @param defaultTheme - The base theme to extend
|
|
5528
|
+
* @param overrides - Partial theme object with properties to override
|
|
5529
|
+
* @returns A new theme object with overrides applied
|
|
5530
|
+
* @throws {ZodValidationError} If the default theme or final merged theme is
|
|
5531
|
+
* invalid
|
|
5532
|
+
*/
|
|
5533
|
+
declare function extendTheme(defaultTheme: Theme, overrides: PartialDeep<Theme>): Theme;
|
|
5534
|
+
|
|
5535
|
+
export { type Breakpoint, Layers, type Sprinkles, type Theme, aveDark as aveDarkTheme, aveLight as aveLightTheme, breakpoints, dark as darkTheme, extendTheme, getLayoutValue, layoutSprinkleValues, light as lightTheme, nutrientLight as nutrientLightTheme, queries, responsiveStyle, sprinkles, themeContract, themeVars, themes, validateTheme };
|