@sproutsocial/racine 8.0.0-beta-dark-mode.3 → 8.0.0-beta-dark-mode.4
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.
|
@@ -250,7 +250,11 @@ export const fontWeights = {
|
|
|
250
250
|
extrabold: TYPOGRAPHY.TYPOGRAPHY_WEIGHT_EXTRA_BOLD,
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
export
|
|
253
|
+
export type TypeSpace = {
|
|
254
|
+
[string | number]: string,
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
export const space: TypeSpace = {
|
|
254
258
|
"0": SPACE.SPACE_SIZE_0,
|
|
255
259
|
"100": SPACE.SPACE_SIZE_100,
|
|
256
260
|
"200": SPACE.SPACE_SIZE_200,
|
|
@@ -331,6 +335,4 @@ const theme = {
|
|
|
331
335
|
duration,
|
|
332
336
|
};
|
|
333
337
|
|
|
334
|
-
console.log(theme.space);
|
|
335
|
-
|
|
336
338
|
export default theme;
|
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
borders,
|
|
8
8
|
borderWidths,
|
|
9
9
|
shadows,
|
|
10
|
-
space,
|
|
10
|
+
//space,
|
|
11
11
|
easing,
|
|
12
12
|
duration,
|
|
13
13
|
} from "../themes/default/theme";
|
|
14
14
|
import type { TypeColors } from "./theme.colors.flow.js";
|
|
15
|
-
import type { TypeFontFamilyString } from "../themes/default/theme";
|
|
15
|
+
import type { TypeFontFamilyString, TypeSpace } from "../themes/default/theme";
|
|
16
16
|
|
|
17
17
|
export type TypeBreakpoint = typeof breakpoints;
|
|
18
18
|
export type TypeTypography = typeof typography;
|
|
19
19
|
export type TypeFontWeight = typeof fontWeights;
|
|
20
20
|
export type TypeFontFamily = TypeFontFamilyString;
|
|
21
|
-
export type TypeSpace = typeof space;
|
|
21
|
+
//export type TypeSpace = typeof space;
|
|
22
22
|
export type TypeColor = TypeColors;
|
|
23
23
|
export type TypeRadii = typeof radii;
|
|
24
24
|
export type TypeBorder = typeof borders;
|
package/lib/types/theme.flow.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import { breakpoints, typography, fontWeights, radii, borders, borderWidths, shadows
|
|
1
|
+
import { breakpoints, typography, fontWeights, radii, borders, borderWidths, shadows //space,
|
|
2
|
+
, easing, duration } from "../themes/default/theme";
|