@foxford/ui 2.0.0-beta-35f220c-20220701 → 2.0.0-beta-84e5ef6-20220701
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/dts/index.d.ts +3 -3
- package/index.cjs.js +1 -1
- package/index.cjs.js.map +1 -1
- package/mixins/color.js +1 -1
- package/mixins/color.js.map +1 -1
- package/package.json +1 -1
- package/theme/index.js +1 -1
- package/theme/index.js.map +1 -1
package/dts/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ declare type ColorCssProperty = string | ColorCalcProperty;
|
|
|
21
21
|
declare type Color<T extends ColorPropsProperties = 'color'> = {
|
|
22
22
|
[key in `${T}`]?: RGB | RGBA | HEX | keyof typeof ColorNames;
|
|
23
23
|
};
|
|
24
|
-
declare const color: (color
|
|
24
|
+
declare const color: (color?: ColorValue, cssProperty?: ColorCssProperty) => () => (props: {
|
|
25
25
|
theme: DefaultTheme;
|
|
26
26
|
}) => FlattenSimpleInterpolation | null;
|
|
27
27
|
|
|
@@ -317,8 +317,8 @@ interface Theme {
|
|
|
317
317
|
[key: string]: RGB | RGBA | HEX;
|
|
318
318
|
};
|
|
319
319
|
borderRadius: string;
|
|
320
|
-
textColor
|
|
321
|
-
fallbackColor
|
|
320
|
+
textColor?: string;
|
|
321
|
+
fallbackColor?: string;
|
|
322
322
|
zIndex: {
|
|
323
323
|
modal: number;
|
|
324
324
|
tooltip: number;
|