@sproutsocial/racine 8.0.0-beta-dark-mode.0 → 8.0.0-beta-dark-mode.1
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/__flow__/Badge/styles.js +0 -2
- package/__flow__/themes/default/theme.js +2 -0
- package/__flow__/types/theme.colors.flow.js +5 -0
- package/__flow__/types/theme.flow.js +3 -3
- package/commonjs/Badge/styles.js +0 -1
- package/commonjs/types/theme.colors.flow.js +5 -1
- package/lib/Badge/styles.js +0 -1
- package/lib/types/theme.colors.flow.js +1 -0
- package/lib/types/theme.flow.js +1 -1
- package/package.json +1 -1
package/__flow__/Badge/styles.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// @flow strict-local
|
|
2
2
|
|
|
3
|
+
import literalColors from "../themes/default/literal-colors";
|
|
4
|
+
|
|
3
5
|
type TypeAppColors = {|
|
|
4
6
|
app: {
|
|
5
7
|
background: {
|
|
@@ -225,6 +227,8 @@ type TypeNetworkColors = {|
|
|
|
225
227
|
},
|
|
226
228
|
|};
|
|
227
229
|
|
|
230
|
+
type TypeLiteralColors = typeof literalColors;
|
|
231
|
+
|
|
228
232
|
export type TypeColors = {
|
|
229
233
|
...TypeAppColors,
|
|
230
234
|
...TypeContainerColors,
|
|
@@ -236,4 +240,5 @@ export type TypeColors = {
|
|
|
236
240
|
...TypeFormColors,
|
|
237
241
|
...TypeListItemColors,
|
|
238
242
|
...TypeNetworkColors,
|
|
243
|
+
...TypeLiteralColors,
|
|
239
244
|
};
|
|
@@ -3,7 +3,6 @@ import {
|
|
|
3
3
|
breakpoints,
|
|
4
4
|
typography,
|
|
5
5
|
fontWeights,
|
|
6
|
-
fontFamily,
|
|
7
6
|
space,
|
|
8
7
|
radii,
|
|
9
8
|
borders,
|
|
@@ -13,12 +12,13 @@ import {
|
|
|
13
12
|
duration,
|
|
14
13
|
} from "../themes/default/theme";
|
|
15
14
|
import type { TypeColors } from "./theme.colors.flow.js";
|
|
15
|
+
import type { TypeFontFamilyString } 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
|
-
export type TypeFontFamily =
|
|
21
|
-
export type TypeSpace = typeof space
|
|
20
|
+
export type TypeFontFamily = TypeFontFamilyString;
|
|
21
|
+
export type TypeSpace = $Keys<typeof space>;
|
|
22
22
|
export type TypeColor = TypeColors;
|
|
23
23
|
export type TypeRadii = typeof radii;
|
|
24
24
|
export type TypeBorder = typeof borders;
|
package/commonjs/Badge/styles.js
CHANGED
package/lib/Badge/styles.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import literalColors from "../themes/default/literal-colors";
|
package/lib/types/theme.flow.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import { breakpoints, typography, fontWeights,
|
|
1
|
+
import { breakpoints, typography, fontWeights, space, radii, borders, borderWidths, shadows, easing, duration } from "../themes/default/theme";
|