@sproutsocial/seeds-react-theme 1.6.0 → 2.0.0

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.
Files changed (50) hide show
  1. package/commonjs/light/theme.js +6 -2
  2. package/dist/themes/dark/theme.scss +6 -2
  3. package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +6 -2
  4. package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +6 -2
  5. package/dist/themes/light/theme.scss +12 -4
  6. package/dist/types/dark/theme.d.ts +4 -0
  7. package/dist/types/dark/theme.d.ts.map +1 -1
  8. package/dist/types/light/theme.d.ts +8 -0
  9. package/dist/types/light/theme.d.ts.map +1 -1
  10. package/lib/light/theme.js +6 -2
  11. package/package.json +2 -3
  12. package/__flow__/dark/dataviz-palette.flow.js +0 -3
  13. package/__flow__/dark/decorative-palettes.flow.js +0 -13
  14. package/__flow__/dark/theme.flow.js +0 -5
  15. package/__flow__/extendedThemes/sproutTheme/dark/theme.flow.js +0 -11
  16. package/__flow__/extendedThemes/sproutTheme/index.flow.js +0 -3
  17. package/__flow__/extendedThemes/sproutTheme/light/theme.flow.js +0 -11
  18. package/__flow__/index.js +0 -3
  19. package/__flow__/light/dataviz-palette.flow.js +0 -29
  20. package/__flow__/light/decorative-palettes.flow.js +0 -17
  21. package/__flow__/light/literal-colors.flow.js +0 -31
  22. package/__flow__/light/theme.flow.js +0 -16
  23. package/__flow__/types/theme.colors.flow.js +0 -368
  24. package/__flow__/types/theme.flow.js +0 -399
  25. package/commonjs/dark/dataviz-palette.flow.js +0 -1
  26. package/commonjs/dark/decorative-palettes.flow.js +0 -1
  27. package/commonjs/dark/theme.flow.js +0 -1
  28. package/commonjs/extendedThemes/sproutTheme/dark/theme.flow.js +0 -7
  29. package/commonjs/extendedThemes/sproutTheme/index.flow.js +0 -20
  30. package/commonjs/extendedThemes/sproutTheme/light/theme.flow.js +0 -1
  31. package/commonjs/index.js.flow +0 -3
  32. package/commonjs/light/dataviz-palette.flow.js +0 -1
  33. package/commonjs/light/decorative-palettes.flow.js +0 -1
  34. package/commonjs/light/literal-colors.flow.js +0 -1
  35. package/commonjs/light/theme.flow.js +0 -1
  36. package/commonjs/types/theme.colors.flow.js +0 -1
  37. package/commonjs/types/theme.flow.js +0 -1
  38. package/lib/dark/dataviz-palette.flow.js +0 -0
  39. package/lib/dark/decorative-palettes.flow.js +0 -0
  40. package/lib/dark/theme.flow.js +0 -0
  41. package/lib/extendedThemes/sproutTheme/dark/theme.flow.js +0 -1
  42. package/lib/extendedThemes/sproutTheme/index.flow.js +0 -2
  43. package/lib/extendedThemes/sproutTheme/light/theme.flow.js +0 -0
  44. package/lib/index.js.flow +0 -3
  45. package/lib/light/dataviz-palette.flow.js +0 -0
  46. package/lib/light/decorative-palettes.flow.js +0 -0
  47. package/lib/light/literal-colors.flow.js +0 -0
  48. package/lib/light/theme.flow.js +0 -0
  49. package/lib/types/theme.colors.flow.js +0 -0
  50. package/lib/types/theme.flow.js +0 -0
@@ -371,10 +371,14 @@ var radii = exports.radii = {
371
371
  pill: _seedsBorder.default.BORDER_RADIUS_1000
372
372
  };
373
373
  var borders = exports.borders = {
374
- 500: "".concat(_seedsBorder.default.BORDER_WIDTH_500, " solid")
374
+ 500: "".concat(_seedsBorder.default.BORDER_WIDTH_500, " solid"),
375
+ 600: "".concat(_seedsBorder.default.BORDER_WIDTH_600, " solid"),
376
+ 700: "".concat(_seedsBorder.default.BORDER_WIDTH_700, " solid")
375
377
  };
376
378
  var borderWidths = exports.borderWidths = {
377
- 500: _seedsBorder.default.BORDER_WIDTH_500
379
+ 500: _seedsBorder.default.BORDER_WIDTH_500,
380
+ 600: _seedsBorder.default.BORDER_WIDTH_600,
381
+ 700: _seedsBorder.default.BORDER_WIDTH_700
378
382
  };
379
383
  var shadows = exports.shadows = {
380
384
  low: "".concat(_seedsDepth.default.ELEVATION_LEVEL_100, " ").concat(_seedsColor.default.COLOR_NEUTRAL_900, "3D"),
@@ -659,10 +659,14 @@ $theme: (
659
659
  )
660
660
  ),
661
661
  "borders": (
662
- "500": 1px solid
662
+ "500": 1px solid,
663
+ "600": 2px solid,
664
+ "700": 3px solid
663
665
  ),
664
666
  "borderWidths": (
665
- "500": 1px
667
+ "500": 1px,
668
+ "600": 2px,
669
+ "700": 3px
666
670
  ),
667
671
  "shadows": (
668
672
  "low": 0px 2px 4px #040404FF,
@@ -940,10 +940,14 @@ $theme: (
940
940
  )
941
941
  ),
942
942
  "borders": (
943
- "500": 1px solid
943
+ "500": 1px solid,
944
+ "600": 2px solid,
945
+ "700": 3px solid
944
946
  ),
945
947
  "borderWidths": (
946
- "500": 1px
948
+ "500": 1px,
949
+ "600": 2px,
950
+ "700": 3px
947
951
  ),
948
952
  "shadows": (
949
953
  "low": 0px 2px 4px #040404FF,
@@ -940,10 +940,14 @@ $theme: (
940
940
  )
941
941
  ),
942
942
  "borders": (
943
- "500": 1px solid
943
+ "500": 1px solid,
944
+ "600": 2px solid,
945
+ "700": 3px solid
944
946
  ),
945
947
  "borderWidths": (
946
- "500": 1px
948
+ "500": 1px,
949
+ "600": 2px,
950
+ "700": 3px
947
951
  ),
948
952
  "shadows": (
949
953
  "low": 0px 2px 4px #2733333D,
@@ -1,9 +1,13 @@
1
1
  $theme: (
2
2
  "borderWidths": (
3
- "500": 1px
3
+ "500": 1px,
4
+ "600": 2px,
5
+ "700": 3px
4
6
  ),
5
7
  "borders": (
6
- "500": 1px solid
8
+ "500": 1px solid,
9
+ "600": 2px solid,
10
+ "700": 3px solid
7
11
  ),
8
12
  "breakpoints": (900px, 1200px, 1500px, 1800px),
9
13
  "default": (
@@ -666,10 +670,14 @@ $theme: (
666
670
  )
667
671
  ),
668
672
  "borders": (
669
- "500": 1px solid
673
+ "500": 1px solid,
674
+ "600": 2px solid,
675
+ "700": 3px solid
670
676
  ),
671
677
  "borderWidths": (
672
- "500": 1px
678
+ "500": 1px,
679
+ "600": 2px,
680
+ "700": 3px
673
681
  ),
674
682
  "shadows": (
675
683
  "low": 0px 2px 4px #2733333D,
@@ -591,9 +591,13 @@ declare const darkTheme: {
591
591
  };
592
592
  borders: {
593
593
  500: string;
594
+ 600: string;
595
+ 700: string;
594
596
  };
595
597
  borderWidths: {
596
598
  500: string;
599
+ 600: string;
600
+ 700: string;
597
601
  };
598
602
  easing: {
599
603
  ease_in: string;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/dark/theme.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAsPF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAnOT,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2IrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoEtD,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/dark/theme.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAsPF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAnOT,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2IrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoEtD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -72,9 +72,13 @@ export declare const radii: {
72
72
  };
73
73
  export declare const borders: {
74
74
  500: string;
75
+ 600: string;
76
+ 700: string;
75
77
  };
76
78
  export declare const borderWidths: {
77
79
  500: string;
80
+ 600: string;
81
+ 700: string;
78
82
  };
79
83
  export declare const shadows: {
80
84
  low: string;
@@ -673,9 +677,13 @@ declare const theme: {
673
677
  };
674
678
  borders: {
675
679
  500: string;
680
+ 600: string;
681
+ 700: string;
676
682
  };
677
683
  borderWidths: {
678
684
  500: string;
685
+ 600: string;
686
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBApXL,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2IrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+OtD,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -367,10 +367,14 @@ export var radii = {
367
367
  pill: BORDER.BORDER_RADIUS_1000
368
368
  };
369
369
  export var borders = {
370
- 500: "".concat(BORDER.BORDER_WIDTH_500, " solid")
370
+ 500: "".concat(BORDER.BORDER_WIDTH_500, " solid"),
371
+ 600: "".concat(BORDER.BORDER_WIDTH_600, " solid"),
372
+ 700: "".concat(BORDER.BORDER_WIDTH_700, " solid")
371
373
  };
372
374
  export var borderWidths = {
373
- 500: BORDER.BORDER_WIDTH_500
375
+ 500: BORDER.BORDER_WIDTH_500,
376
+ 600: BORDER.BORDER_WIDTH_600,
377
+ 700: BORDER.BORDER_WIDTH_700
374
378
  };
375
379
  export var shadows = {
376
380
  low: "".concat(DEPTH.ELEVATION_LEVEL_100, " ").concat(COLORS.COLOR_NEUTRAL_900, "3D"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/seeds-react-theme",
3
- "version": "1.6.0",
3
+ "version": "2.0.0",
4
4
  "description": "Seeds Theme",
5
5
  "main": "commonjs/index.js",
6
6
  "module": "lib/index.mjs",
@@ -8,7 +8,6 @@
8
8
  "author": "Sprout Social, Inc.",
9
9
  "license": "MIT",
10
10
  "files": [
11
- "__flow__",
12
11
  "commonjs",
13
12
  "dist",
14
13
  "lib"
@@ -31,7 +30,7 @@
31
30
  "polished": "^3.4.1"
32
31
  },
33
32
  "devDependencies": {
34
- "@sproutsocial/seeds-build-flow": "*",
33
+ "@sproutsocial/seeds-build": "*",
35
34
  "glob": "^10.3.10",
36
35
  "json-to-scss": "^1.6.2",
37
36
  "tsx": "^4.0.0",
@@ -1,3 +0,0 @@
1
- // @flow strict-local
2
- import type { TypeDatavizPalette } from "../light/dataviz-palette.flow";
3
- declare export var datavizPalette: TypeDatavizPalette;
@@ -1,13 +0,0 @@
1
- // @flow strict-local
2
- import type { TypeDecorativeColors } from "../light/decorative-palettes.flow";
3
- declare export var green: TypeDecorativeColors;
4
- declare export var blue: TypeDecorativeColors;
5
- declare export var purple: TypeDecorativeColors;
6
- declare export var yellow: TypeDecorativeColors;
7
- declare export var orange: TypeDecorativeColors;
8
- declare export var red: TypeDecorativeColors;
9
- declare export var neutral: TypeDecorativeColors;
10
- declare export var magenta: TypeDecorativeColors;
11
- declare export var pink: TypeDecorativeColors;
12
- declare export var aqua: TypeDecorativeColors;
13
- declare export var teal: TypeDecorativeColors;
@@ -1,5 +0,0 @@
1
- // @flow strict-local
2
- import type { TypeShadow, TypeTheme } from "../types/theme.flow";
3
- declare export var shadows: TypeShadow;
4
- declare var darkTheme: TypeTheme;
5
- declare export default typeof darkTheme;
@@ -1,11 +0,0 @@
1
- // @flow strict-local
2
- import type { TypeAITheme, TypeAnalyticsTheme, TypeCardControlTheme, TypeDatePickerTheme, TypeGrowthTheme, TypeListeningTheme, TypeNavigationTheme, TypeSproutTheme } from "../../../types/theme.flow";
3
- declare export var navigation: TypeNavigationTheme;
4
- declare export var datePicker: TypeDatePickerTheme;
5
- declare export var ai: TypeAITheme;
6
- declare export var analytics: TypeAnalyticsTheme;
7
- declare export var listening: TypeListeningTheme;
8
- declare export var growth: TypeGrowthTheme;
9
- declare export var cardControl: TypeCardControlTheme;
10
- declare var darkTheme: TypeSproutTheme;
11
- export default darkTheme;
@@ -1,3 +0,0 @@
1
- // @flow strict-local
2
- export { default as sproutLightTheme } from "./light/theme.flow";
3
- export { default as sproutDarkTheme } from "./dark/theme.flow";
@@ -1,11 +0,0 @@
1
- // @flow strict-local
2
- import type { TypeAITheme, TypeAnalyticsTheme, TypeCardControlTheme, TypeDatePickerTheme, TypeGrowthTheme, TypeListeningTheme, TypeNavigationTheme, TypeSproutTheme } from "../../../types/theme.flow";
3
- declare export var navigation: TypeNavigationTheme;
4
- declare export var datePicker: TypeDatePickerTheme;
5
- declare export var ai: TypeAITheme;
6
- declare export var analytics: TypeAnalyticsTheme;
7
- declare export var listening: TypeListeningTheme;
8
- declare export var growth: TypeGrowthTheme;
9
- declare export var cardControl: TypeCardControlTheme;
10
- declare var lightTheme: TypeSproutTheme;
11
- declare export default typeof lightTheme;
package/__flow__/index.js DELETED
@@ -1,3 +0,0 @@
1
- // @flow
2
- export * from './index.flow';
3
-
@@ -1,29 +0,0 @@
1
- // @flow strict-local
2
- export type TypeDatavizPaletteList = string[];
3
- export type TypeDatavizPaletteMap = {|
4
- "1": string,
5
- "2": string,
6
- "3": string,
7
- "4": string,
8
- "5": string,
9
- "6": string,
10
- "7": string,
11
- "8": string,
12
- "9": string,
13
- "10": string,
14
- "11": string,
15
- "12": string,
16
- "13": string,
17
- "14": string,
18
- "15": string,
19
- "16": string,
20
- "17": string,
21
- "18": string,
22
- "19": string,
23
- "20": string,
24
- |};
25
- export type TypeDatavizPalette = {|
26
- DATAVIZ_COLORS_LIST: TypeDatavizPaletteList,
27
- DATAVIZ_COLORS_MAP: TypeDatavizPaletteMap,
28
- |};
29
- declare export var datavizPalette: TypeDatavizPalette;
@@ -1,17 +0,0 @@
1
- // @flow strict-local
2
- export type TypeDecorativeColors = {|
3
- background: string,
4
- highlight: string,
5
- foreground: string,
6
- |};
7
- declare export var green: TypeDecorativeColors;
8
- declare export var blue: TypeDecorativeColors;
9
- declare export var purple: TypeDecorativeColors;
10
- declare export var yellow: TypeDecorativeColors;
11
- declare export var orange: TypeDecorativeColors;
12
- declare export var red: TypeDecorativeColors;
13
- declare export var neutral: TypeDecorativeColors;
14
- declare export var magenta: TypeDecorativeColors;
15
- declare export var pink: TypeDecorativeColors;
16
- declare export var aqua: TypeDecorativeColors;
17
- declare export var teal: TypeDecorativeColors;
@@ -1,31 +0,0 @@
1
- // @flow strict-local
2
-
3
- type TypeLiteralColor = {|
4
- "0": string,
5
- "100": string,
6
- "200": string,
7
- "300": string,
8
- "400": string,
9
- "500": string,
10
- "600": string,
11
- "700": string,
12
- "800": string,
13
- "900": string,
14
- "1000": string,
15
- "1100": string,
16
- |};
17
- export type TypeLiteralColors = {|
18
- neutral: TypeLiteralColor,
19
- green: TypeLiteralColor,
20
- red: TypeLiteralColor,
21
- blue: TypeLiteralColor,
22
- teal: TypeLiteralColor,
23
- aqua: TypeLiteralColor,
24
- purple: TypeLiteralColor,
25
- magenta: TypeLiteralColor,
26
- yellow: TypeLiteralColor,
27
- pink: TypeLiteralColor,
28
- orange: TypeLiteralColor,
29
- |};
30
- declare var literalColors: TypeLiteralColors;
31
- declare export default typeof literalColors;
@@ -1,16 +0,0 @@
1
- // @flow strict-local
2
- import type { TypeBorder, TypeBorderWidth, TypeBreakpoint, TypeDuration, TypeEasing, TypeFontFamily, TypeFontWeight, TypeRadii, TypeShadow, TypeSpace, TypeTheme, TypeTypography } from "../types/theme.flow";
3
- export type TypeFontFamilyString = string;
4
- declare export var breakpoints: TypeBreakpoint;
5
- declare export var typography: TypeTypography;
6
- declare export var fontFamily: TypeFontFamily;
7
- declare export var fontWeights: TypeFontWeight;
8
- declare export var space: TypeSpace;
9
- declare export var radii: TypeRadii;
10
- declare export var borders: TypeBorder;
11
- declare export var borderWidths: TypeBorderWidth;
12
- declare export var shadows: TypeShadow;
13
- declare export var easing: TypeEasing;
14
- declare export var duration: TypeDuration;
15
- declare var theme: TypeTheme;
16
- declare export default typeof theme;
@@ -1,368 +0,0 @@
1
- // @flow strict-local
2
-
3
- import type { TypeLiteralColors } from "../light/literal-colors.flow";
4
- import type { TypeDatavizPalette, TypeDatavizPaletteList, TypeDatavizPaletteMap } from "../light/dataviz-palette.flow";
5
- type TypeAppColors = {|
6
- app: {
7
- background: {
8
- base: string,
9
- ...
10
- },
11
- ...
12
- }
13
- |};
14
- type TypeContainerColors = {|
15
- container: {
16
- background: {
17
- base: string,
18
- success: string,
19
- warning: string,
20
- error: string,
21
- info: string,
22
- opportunity: string,
23
- /** @deprecated Use "error" instead of "danger" */
24
- danger: string,
25
- decorative: {
26
- green: string,
27
- blue: string,
28
- purple: string,
29
- yellow: string,
30
- orange: string,
31
- red: string,
32
- neutral: string,
33
- magenta: string,
34
- pink: string,
35
- aqua: string,
36
- teal: string,
37
- ...
38
- },
39
- selected: string,
40
- positive_sentiment: string,
41
- negative_sentiment: string,
42
- neutral_sentiment: string,
43
- ...
44
- },
45
- border: {
46
- base: string,
47
- success: string,
48
- warning: string,
49
- error: string,
50
- /** @deprecated Use "error" instead of "danger" */
51
- danger: string,
52
- info: string,
53
- opportunity: string,
54
- decorative: {
55
- green: string,
56
- blue: string,
57
- purple: string,
58
- yellow: string,
59
- orange: string,
60
- red: string,
61
- neutral: string,
62
- magenta: string,
63
- pink: string,
64
- aqua: string,
65
- teal: string,
66
- ...
67
- },
68
- selected: string,
69
- ...
70
- },
71
- ...
72
- }
73
- |};
74
- type TypeButtonColors = {|
75
- button: {
76
- primary: {
77
- background: {
78
- base: string,
79
- hover: string,
80
- active: string,
81
- ...
82
- },
83
- border: {
84
- base: string,
85
- ...
86
- },
87
- text: {
88
- base: string,
89
- hover: string,
90
- ...
91
- },
92
- ...
93
- },
94
- secondary: {
95
- background: {
96
- base: string,
97
- hover: string,
98
- active: string,
99
- ...
100
- },
101
- border: {
102
- base: string,
103
- ...
104
- },
105
- text: {
106
- base: string,
107
- hover: string,
108
- ...
109
- },
110
- ...
111
- },
112
- pill: {
113
- background: {
114
- base: string,
115
- hover: string,
116
- active: string,
117
- ...
118
- },
119
- border: {
120
- base: string,
121
- hover: string,
122
- ...
123
- },
124
- text: {
125
- base: string,
126
- hover: string,
127
- ...
128
- },
129
- ...
130
- },
131
- destructive: {
132
- background: {
133
- base: string,
134
- hover: string,
135
- active: string,
136
- ...
137
- },
138
- border: {
139
- base: string,
140
- ...
141
- },
142
- text: {
143
- base: string,
144
- hover: string,
145
- ...
146
- },
147
- ...
148
- },
149
- placeholder: {
150
- background: {
151
- base: string,
152
- hover: string,
153
- active: string,
154
- ...
155
- },
156
- border: {
157
- base: string,
158
- ...
159
- },
160
- text: {
161
- base: string,
162
- hover: string,
163
- ...
164
- },
165
- ...
166
- },
167
- unstyled: {
168
- background: {
169
- base: string,
170
- ...
171
- },
172
- border: {
173
- base: string,
174
- ...
175
- },
176
- text: {
177
- base: string,
178
- hover: string,
179
- ...
180
- },
181
- ...
182
- },
183
- ...
184
- }
185
- |};
186
- type TypeLinkColors = {|
187
- link: {
188
- base: string,
189
- hover: string,
190
- ...
191
- }
192
- |};
193
- type TypeTextColors = {|
194
- text: {
195
- headline: string,
196
- subtext: string,
197
- body: string,
198
- inverse: string,
199
- error: string,
200
- background: {
201
- highlight: string,
202
- ...
203
- },
204
- decorative: {
205
- green: string,
206
- blue: string,
207
- purple: string,
208
- yellow: string,
209
- orange: string,
210
- red: string,
211
- neutral: string,
212
- magenta: string,
213
- pink: string,
214
- aqua: string,
215
- teal: string,
216
- ...
217
- },
218
- ...
219
- }
220
- |};
221
- type TypeIconColors = {|
222
- icon: {
223
- base: string,
224
- inverse: string,
225
- success: string,
226
- warning: string,
227
- error: string,
228
- /** @deprecated Use "error" instead of "danger" */
229
- danger: string,
230
- info: string,
231
- opportunity: string,
232
- applied: string,
233
- positive_sentiment: string,
234
- negative_sentiment: string,
235
- neutral_sentiment: string,
236
- ...
237
- }
238
- |};
239
- type TypeFormColors = {|
240
- form: {
241
- background: {
242
- base: string,
243
- selected: string,
244
- ...
245
- },
246
- border: {
247
- base: string,
248
- error: string,
249
- warning: string,
250
- selected: string,
251
- ...
252
- },
253
- placeholder: {
254
- base: string,
255
- ...
256
- },
257
- ...
258
- }
259
- |};
260
- type TypeListItemColors = {|
261
- listItem: {
262
- background: {
263
- base: string,
264
- hover: string,
265
- selected: string,
266
- ...
267
- },
268
- ...
269
- }
270
- |};
271
- type TypeOverlayColors = {|
272
- overlay: {
273
- background: {
274
- base: string,
275
- ...
276
- },
277
- text: {
278
- base: string,
279
- ...
280
- },
281
- icon: {
282
- base: string,
283
- ...
284
- },
285
- ...
286
- }
287
- |};
288
- type TypeElevationColors = {|
289
- elevation: {
290
- base: string,
291
- ...
292
- }
293
- |};
294
- type TypeDatavizColors = {|
295
- ...TypeDatavizPalette,
296
- dataviz: {
297
- map: TypeDatavizPaletteMap,
298
- list: TypeDatavizPaletteList,
299
- ...
300
- },
301
- |};
302
- type TypeIllustrationColors = {|
303
- illustration: {
304
- fill: string,
305
- stroke: string,
306
- ...
307
- }
308
- |};
309
- type TypeNetworkColors = {|
310
- network: {
311
- twitter: string,
312
- twitter_like: string,
313
- facebook: string,
314
- facebook_audience_network: string,
315
- linkedin: string,
316
- instagram: string,
317
- feedly: string,
318
- analytics: string,
319
- youtube: string,
320
- messenger: string,
321
- snapchat: string,
322
- pinterest: string,
323
- tumblr: string,
324
- reddit: string,
325
- tripadvisor: string,
326
- glassdoor: string,
327
- google_my_business: string,
328
- google_business_messages: string,
329
- salesforce: string,
330
- zendesk: string,
331
- hubspot: string,
332
- microsoft_dynamics: string,
333
- yelp: string,
334
- whatsapp: string,
335
- tiktok: string,
336
- threads: string,
337
- trustpilot: string,
338
- x: string,
339
- ...
340
- }
341
- |};
342
- type TypeUserStatusColors = {|
343
- userStatus: {
344
- online: string,
345
- offline: string,
346
- unavailable: string,
347
- ...
348
- }
349
- |};
350
- export type TypeColors = {
351
- ...TypeAppColors,
352
- ...TypeContainerColors,
353
- ...TypeButtonColors,
354
- ...TypeLinkColors,
355
- ...TypeLinkColors,
356
- ...TypeTextColors,
357
- ...TypeIconColors,
358
- ...TypeFormColors,
359
- ...TypeListItemColors,
360
- ...TypeOverlayColors,
361
- ...TypeElevationColors,
362
- ...TypeDatavizColors,
363
- ...TypeIllustrationColors,
364
- ...TypeNetworkColors,
365
- ...TypeLiteralColors,
366
- ...TypeUserStatusColors,
367
- ...
368
- };
@@ -1,399 +0,0 @@
1
- // @flow strict-local
2
- import type { TypeFontFamilyString } from "../light/theme.flow";
3
- import type { TypeColors } from "./theme.colors.flow";
4
- export type TypeNavigationTheme = {|
5
- main: {
6
- background: {
7
- base: string,
8
- overflowGradient: string,
9
- ...
10
- },
11
- border: {
12
- base: string,
13
- ...
14
- },
15
- ...
16
- },
17
- secondary: {
18
- background: {
19
- base: string,
20
- ...
21
- },
22
- widget: {
23
- background: {
24
- base: string,
25
- ...
26
- },
27
- ...
28
- },
29
- accordion: {
30
- background: {
31
- base: string,
32
- ...
33
- },
34
- ...
35
- },
36
- ...
37
- },
38
- settings: {
39
- listItem: {
40
- background: {
41
- base: string,
42
- hover: string,
43
- selected: string,
44
- ...
45
- },
46
- ...
47
- },
48
- ...
49
- },
50
- text: {
51
- base: string,
52
- hover: string,
53
- ...
54
- },
55
- icon: {
56
- base: string,
57
- hover: string,
58
- ...
59
- },
60
- listItem: {
61
- background: {
62
- base: string,
63
- hover: string,
64
- selected: string,
65
- ...
66
- },
67
- ...
68
- },
69
- |};
70
- export type TypeDatePickerTheme = {|
71
- comparison: {
72
- background: {
73
- base: string,
74
- ...
75
- },
76
- text: {
77
- base: string,
78
- ...
79
- },
80
- ...
81
- }
82
- |};
83
- export type TypeAITheme = {|
84
- feature: {
85
- decorative: {
86
- primary: string,
87
- secondary: string,
88
- ...
89
- },
90
- background: {
91
- primary: string,
92
- secondary: string,
93
- default: {
94
- primary: string,
95
- secondary: string,
96
- ...
97
- },
98
- inverse: {
99
- primary: string,
100
- secondary: string,
101
- ...
102
- },
103
- ...
104
- },
105
- ...
106
- }
107
- |};
108
- export type TypeAnalyticsTheme = {|
109
- trend: {
110
- positive: string,
111
- neutral: string,
112
- negative: string,
113
- ...
114
- },
115
- overlay: {
116
- background: {
117
- base: string,
118
- ...
119
- },
120
- ...
121
- },
122
- |};
123
- export type TypeListeningTheme = {|
124
- chart: {
125
- indicator: {
126
- default: {
127
- primary: string,
128
- secondary: string,
129
- ...
130
- },
131
- hover: {
132
- primary: string,
133
- secondary: string,
134
- ...
135
- },
136
- ...
137
- },
138
- spike: {
139
- background: {
140
- base: string,
141
- ...
142
- },
143
- icon: {
144
- base: string,
145
- ...
146
- },
147
- ...
148
- },
149
- ...
150
- },
151
- topicTypes: {
152
- customTopic: string,
153
- brandHealth: string,
154
- industryInsights: string,
155
- competitiveAnalysis: string,
156
- campaignAnalysis: string,
157
- eventMonitoring: string,
158
- featuredTopic: string,
159
- ...
160
- },
161
- worldMap: {
162
- empty: string,
163
- q0: string,
164
- q1: string,
165
- q2: string,
166
- q3: string,
167
- q4: string,
168
- q5: string,
169
- q6: string,
170
- q7: string,
171
- ...
172
- },
173
- |};
174
- export type TypeGrowthTheme = {|
175
- carousel: {
176
- indicator: {
177
- active: string,
178
- inactive: string,
179
- ...
180
- },
181
- ...
182
- },
183
- education: {
184
- decorative: {
185
- aqua: string,
186
- teal: string,
187
- ...
188
- },
189
- ...
190
- },
191
- opportunity: {
192
- background: {
193
- base: string,
194
- secondary: string,
195
- hover: string,
196
- ...
197
- },
198
- button: {
199
- primary: {
200
- base: string,
201
- hover: string,
202
- ...
203
- },
204
- ...
205
- },
206
- badge: {
207
- background: {
208
- base: string,
209
- active: string,
210
- ...
211
- },
212
- icon: {
213
- base: string,
214
- active: string,
215
- ...
216
- },
217
- text: {
218
- base: string,
219
- ...
220
- },
221
- ...
222
- },
223
- decorative: {
224
- // confetti
225
- green: string,
226
- lightAqua: string,
227
- darkAqua: string,
228
- purple: string,
229
- ...
230
- },
231
- ...
232
- },
233
- featuredDemo: {
234
- background: {
235
- primary: {
236
- base: string,
237
- hover: string,
238
- ...
239
- },
240
- secondary: {
241
- base: string,
242
- hover: string,
243
- ...
244
- },
245
- ...
246
- },
247
- ...
248
- },
249
- darkModal: {
250
- background: {
251
- base: string,
252
- ...
253
- },
254
- text: {
255
- base: string,
256
- ...
257
- },
258
- cards: {
259
- background: {
260
- base: string,
261
- hover: string,
262
- ...
263
- },
264
- text: {
265
- base: string,
266
- hover: string,
267
- ...
268
- },
269
- border: {
270
- base: string,
271
- hover: string,
272
- ...
273
- },
274
- ...
275
- },
276
- ...
277
- },
278
- user: {
279
- status: {
280
- online: string,
281
- ...
282
- },
283
- ...
284
- },
285
- |};
286
- export type TypeCardControlTheme = {|
287
- background: {
288
- base: string,
289
- selected: string,
290
- hover: string,
291
- ...
292
- },
293
- text: {
294
- selected: string,
295
- ...
296
- },
297
- |};
298
- export type TypeThemeMode = "light" | "dark";
299
- export type TypeBreakpoint = string[];
300
- type TypeTypographyValue = {|
301
- fontSize: string | number,
302
- lineHeight: string | number,
303
- |};
304
- export type TypeTypography = {|
305
- "100": TypeTypographyValue,
306
- "200": TypeTypographyValue,
307
- "300": TypeTypographyValue,
308
- "400": TypeTypographyValue,
309
- "500": TypeTypographyValue,
310
- "600": TypeTypographyValue,
311
- "700": TypeTypographyValue,
312
- "800": TypeTypographyValue,
313
- "900": TypeTypographyValue,
314
- "1000": TypeTypographyValue,
315
- "1100": TypeTypographyValue,
316
- "1200": TypeTypographyValue,
317
- |};
318
- export type TypeFontWeight = {|
319
- normal: string,
320
- semibold: string,
321
- bold: string,
322
- extrabold: string,
323
- |};
324
- export type TypeFontFamily = TypeFontFamilyString;
325
- export type TypeSpace = {|
326
- "0": string,
327
- "100": string,
328
- "200": string,
329
- "300": string,
330
- "350": string,
331
- "400": string,
332
- "450": string,
333
- "500": string,
334
- "600": string,
335
- |};
336
- export type TypeColor = TypeColors;
337
- export type TypeRadii = {|
338
- "400": string,
339
- "500": string,
340
- "600": string,
341
- "900": string,
342
- "1000": string,
343
- inner: string,
344
- outer: string,
345
- pill: string,
346
- |};
347
- export type TypeBorder = {|
348
- "500": string
349
- |};
350
- export type TypeBorderWidth = {|
351
- "500": string
352
- |};
353
- export type TypeShadow = {|
354
- high: string,
355
- low: string,
356
- medium: string,
357
- |};
358
- export type TypeEasing = {|
359
- ease_in: string,
360
- ease_inout: string,
361
- ease_out: string,
362
- |};
363
- export type TypeDuration = {|
364
- fast: string,
365
- medium: string,
366
- slow: string,
367
- |};
368
- export type TypeTheme = {
369
- mode: TypeThemeMode,
370
- breakpoints: TypeBreakpoint,
371
- colors: TypeColor,
372
- typography: TypeTypography,
373
- fontWeights: TypeFontWeight,
374
- fontFamily: TypeFontFamily,
375
- space: TypeSpace,
376
- radii: TypeRadii,
377
- borders: TypeBorder,
378
- borderWidths: TypeBorderWidth,
379
- shadows: TypeShadow,
380
- easing: TypeEasing,
381
- duration: TypeDuration,
382
- ...
383
- };
384
-
385
- // Extended themes
386
- export type TypeSproutTheme = {
387
- ...$Exact<TypeTheme>,
388
- colors: {|
389
- ...$Exact<TypeColor>,
390
- navigation: TypeNavigationTheme,
391
- datePicker: TypeDatePickerTheme,
392
- ai: TypeAITheme,
393
- analytics: TypeAnalyticsTheme,
394
- listening: TypeListeningTheme,
395
- growth: TypeGrowthTheme,
396
- cardControl: TypeCardControlTheme,
397
- |},
398
- ...
399
- };
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _default = exports.default = darkTheme;
@@ -1,20 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "sproutDarkTheme", {
7
- enumerable: true,
8
- get: function get() {
9
- return _theme2.default;
10
- }
11
- });
12
- Object.defineProperty(exports, "sproutLightTheme", {
13
- enumerable: true,
14
- get: function get() {
15
- return _theme.default;
16
- }
17
- });
18
- var _theme = _interopRequireDefault(require("./light/theme.flow"));
19
- var _theme2 = _interopRequireDefault(require("./dark/theme.flow"));
20
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,3 +0,0 @@
1
- // @flow
2
- export * from '../__flow__';
3
-
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- "use strict";
File without changes
File without changes
File without changes
@@ -1 +0,0 @@
1
- export default darkTheme;
@@ -1,2 +0,0 @@
1
- export { default as sproutLightTheme } from "./light/theme.flow";
2
- export { default as sproutDarkTheme } from "./dark/theme.flow";
package/lib/index.js.flow DELETED
@@ -1,3 +0,0 @@
1
- // @flow
2
- export * from '../__flow__';
3
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes