@sproutsocial/racine 8.0.0-beta-dark-mode.1 → 8.0.0-beta-dark-mode.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.
|
@@ -250,6 +250,26 @@ export const fontWeights = {
|
|
|
250
250
|
extrabold: TYPOGRAPHY.TYPOGRAPHY_WEIGHT_EXTRA_BOLD,
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
+
export type TypeSpaceLiterals =
|
|
254
|
+
| 0
|
|
255
|
+
| 100
|
|
256
|
+
| 200
|
|
257
|
+
| 300
|
|
258
|
+
| 350
|
|
259
|
+
| 400
|
|
260
|
+
| 450
|
|
261
|
+
| 500
|
|
262
|
+
| 600
|
|
263
|
+
| -100
|
|
264
|
+
| -200
|
|
265
|
+
| -300
|
|
266
|
+
| -350
|
|
267
|
+
| -400
|
|
268
|
+
| -450
|
|
269
|
+
| -500
|
|
270
|
+
| -600
|
|
271
|
+
| string;
|
|
272
|
+
|
|
253
273
|
export const space = {
|
|
254
274
|
"0": SPACE.SPACE_SIZE_0,
|
|
255
275
|
"100": SPACE.SPACE_SIZE_100,
|
|
@@ -3,7 +3,6 @@ import {
|
|
|
3
3
|
breakpoints,
|
|
4
4
|
typography,
|
|
5
5
|
fontWeights,
|
|
6
|
-
space,
|
|
7
6
|
radii,
|
|
8
7
|
borders,
|
|
9
8
|
borderWidths,
|
|
@@ -12,13 +11,16 @@ import {
|
|
|
12
11
|
duration,
|
|
13
12
|
} from "../themes/default/theme";
|
|
14
13
|
import type { TypeColors } from "./theme.colors.flow.js";
|
|
15
|
-
import type {
|
|
14
|
+
import type {
|
|
15
|
+
TypeFontFamilyString,
|
|
16
|
+
TypeSpaceLiterals,
|
|
17
|
+
} from "../themes/default/theme";
|
|
16
18
|
|
|
17
19
|
export type TypeBreakpoint = typeof breakpoints;
|
|
18
20
|
export type TypeTypography = typeof typography;
|
|
19
21
|
export type TypeFontWeight = typeof fontWeights;
|
|
20
22
|
export type TypeFontFamily = TypeFontFamilyString;
|
|
21
|
-
export type TypeSpace =
|
|
23
|
+
export type TypeSpace = TypeSpaceLiterals;
|
|
22
24
|
export type TypeColor = TypeColors;
|
|
23
25
|
export type TypeRadii = typeof radii;
|
|
24
26
|
export type TypeBorder = typeof borders;
|
package/lib/types/theme.flow.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import { breakpoints, typography, fontWeights,
|
|
1
|
+
import { breakpoints, typography, fontWeights, radii, borders, borderWidths, shadows, easing, duration } from "../themes/default/theme";
|