@sproutsocial/seeds-react-theme 1.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 (101) hide show
  1. package/__flow__/dark/dataviz-palette.flow.js +3 -0
  2. package/__flow__/dark/decorative-palettes.flow.js +13 -0
  3. package/__flow__/dark/theme.flow.js +5 -0
  4. package/__flow__/extendedThemes/sproutTheme/dark/theme.flow.js +10 -0
  5. package/__flow__/extendedThemes/sproutTheme/index.flow.js +3 -0
  6. package/__flow__/extendedThemes/sproutTheme/light/theme.flow.js +10 -0
  7. package/__flow__/index.js +3 -0
  8. package/__flow__/light/dataviz-palette.flow.js +29 -0
  9. package/__flow__/light/decorative-palettes.flow.js +17 -0
  10. package/__flow__/light/literal-colors.flow.js +31 -0
  11. package/__flow__/light/theme.flow.js +16 -0
  12. package/__flow__/types/theme.colors.flow.js +358 -0
  13. package/__flow__/types/theme.flow.js +372 -0
  14. package/commonjs/dark/dataviz-palette.flow.js +1 -0
  15. package/commonjs/dark/dataviz-palette.js +33 -0
  16. package/commonjs/dark/decorative-palettes.flow.js +1 -0
  17. package/commonjs/dark/decorative-palettes.js +63 -0
  18. package/commonjs/dark/theme.flow.js +1 -0
  19. package/commonjs/dark/theme.js +268 -0
  20. package/commonjs/extendedThemes/sproutTheme/dark/theme.flow.js +7 -0
  21. package/commonjs/extendedThemes/sproutTheme/dark/theme.js +240 -0
  22. package/commonjs/extendedThemes/sproutTheme/index.flow.js +20 -0
  23. package/commonjs/extendedThemes/sproutTheme/index.js +20 -0
  24. package/commonjs/extendedThemes/sproutTheme/light/theme.flow.js +1 -0
  25. package/commonjs/extendedThemes/sproutTheme/light/theme.js +237 -0
  26. package/commonjs/index.js +51 -0
  27. package/commonjs/index.js.flow +3 -0
  28. package/commonjs/light/dataviz-palette.flow.js +1 -0
  29. package/commonjs/light/dataviz-palette.js +33 -0
  30. package/commonjs/light/decorative-palettes.flow.js +1 -0
  31. package/commonjs/light/decorative-palettes.js +63 -0
  32. package/commonjs/light/literal-colors.flow.js +1 -0
  33. package/commonjs/light/literal-colors.js +167 -0
  34. package/commonjs/light/theme.flow.js +1 -0
  35. package/commonjs/light/theme.js +416 -0
  36. package/commonjs/types/theme.colors.flow.js +1 -0
  37. package/commonjs/types/theme.colors.js +5 -0
  38. package/commonjs/types/theme.flow.js +1 -0
  39. package/commonjs/types/theme.js +5 -0
  40. package/dist/themes/dark/_themed.scss +119 -0
  41. package/dist/themes/dark/theme.scss +678 -0
  42. package/dist/themes/extendedThemes/sproutTheme/dark/_themed.scss +119 -0
  43. package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +1091 -0
  44. package/dist/themes/extendedThemes/sproutTheme/light/_themed.scss +119 -0
  45. package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +1091 -0
  46. package/dist/themes/light/_themed.scss +119 -0
  47. package/dist/themes/light/theme.scss +800 -0
  48. package/dist/themes/types/_themed.scss +119 -0
  49. package/dist/types/dark/dataviz-palette.d.ts +26 -0
  50. package/dist/types/dark/dataviz-palette.d.ts.map +1 -0
  51. package/dist/types/dark/decorative-palettes.d.ts +56 -0
  52. package/dist/types/dark/decorative-palettes.d.ts.map +1 -0
  53. package/dist/types/dark/theme.d.ts +671 -0
  54. package/dist/types/dark/theme.d.ts.map +1 -0
  55. package/dist/types/extendedThemes/sproutTheme/dark/theme.d.ts +213 -0
  56. package/dist/types/extendedThemes/sproutTheme/dark/theme.d.ts.map +1 -0
  57. package/dist/types/extendedThemes/sproutTheme/index.d.ts +3 -0
  58. package/dist/types/extendedThemes/sproutTheme/index.d.ts.map +1 -0
  59. package/dist/types/extendedThemes/sproutTheme/light/theme.d.ts +213 -0
  60. package/dist/types/extendedThemes/sproutTheme/light/theme.d.ts.map +1 -0
  61. package/dist/types/index.d.ts +5 -0
  62. package/dist/types/index.d.ts.map +1 -0
  63. package/dist/types/light/dataviz-palette.d.ts +26 -0
  64. package/dist/types/light/dataviz-palette.d.ts.map +1 -0
  65. package/dist/types/light/decorative-palettes.d.ts +56 -0
  66. package/dist/types/light/decorative-palettes.d.ts.map +1 -0
  67. package/dist/types/light/literal-colors.d.ts +160 -0
  68. package/dist/types/light/literal-colors.d.ts.map +1 -0
  69. package/dist/types/light/theme.d.ts +794 -0
  70. package/dist/types/light/theme.d.ts.map +1 -0
  71. package/dist/types/types/theme.colors.d.ts +292 -0
  72. package/dist/types/types/theme.colors.d.ts.map +1 -0
  73. package/dist/types/types/theme.d.ts +43 -0
  74. package/dist/types/types/theme.d.ts.map +1 -0
  75. package/lib/dark/dataviz-palette.flow.js +0 -0
  76. package/lib/dark/dataviz-palette.js +26 -0
  77. package/lib/dark/decorative-palettes.flow.js +0 -0
  78. package/lib/dark/decorative-palettes.js +56 -0
  79. package/lib/dark/theme.flow.js +0 -0
  80. package/lib/dark/theme.js +263 -0
  81. package/lib/extendedThemes/sproutTheme/dark/theme.flow.js +1 -0
  82. package/lib/extendedThemes/sproutTheme/dark/theme.js +235 -0
  83. package/lib/extendedThemes/sproutTheme/index.flow.js +2 -0
  84. package/lib/extendedThemes/sproutTheme/index.js +2 -0
  85. package/lib/extendedThemes/sproutTheme/light/theme.flow.js +0 -0
  86. package/lib/extendedThemes/sproutTheme/light/theme.js +232 -0
  87. package/lib/index.js +4 -0
  88. package/lib/index.js.flow +3 -0
  89. package/lib/light/dataviz-palette.flow.js +0 -0
  90. package/lib/light/dataviz-palette.js +26 -0
  91. package/lib/light/decorative-palettes.flow.js +0 -0
  92. package/lib/light/decorative-palettes.js +56 -0
  93. package/lib/light/literal-colors.flow.js +0 -0
  94. package/lib/light/literal-colors.js +160 -0
  95. package/lib/light/theme.flow.js +0 -0
  96. package/lib/light/theme.js +410 -0
  97. package/lib/types/theme.colors.flow.js +0 -0
  98. package/lib/types/theme.colors.js +1 -0
  99. package/lib/types/theme.flow.js +0 -0
  100. package/lib/types/theme.js +1 -0
  101. package/package.json +40 -0
@@ -0,0 +1,3 @@
1
+ // @flow strict-local
2
+ import type { TypeDatavizPalette } from "../light/dataviz-palette.flow";
3
+ declare export var datavizPalette: TypeDatavizPalette;
@@ -0,0 +1,13 @@
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;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,10 @@
1
+ // @flow strict-local
2
+ import type { 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 analytics: TypeAnalyticsTheme;
6
+ declare export var listening: TypeListeningTheme;
7
+ declare export var growth: TypeGrowthTheme;
8
+ declare export var cardControl: TypeCardControlTheme;
9
+ declare var darkTheme: TypeSproutTheme;
10
+ export default darkTheme;
@@ -0,0 +1,3 @@
1
+ // @flow strict-local
2
+ export { default as sproutLightTheme } from "./light/theme.flow";
3
+ export { default as sproutDarkTheme } from "./dark/theme.flow";
@@ -0,0 +1,10 @@
1
+ // @flow strict-local
2
+ import type { 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 analytics: TypeAnalyticsTheme;
6
+ declare export var listening: TypeListeningTheme;
7
+ declare export var growth: TypeGrowthTheme;
8
+ declare export var cardControl: TypeCardControlTheme;
9
+ declare var lightTheme: TypeSproutTheme;
10
+ declare export default typeof lightTheme;
@@ -0,0 +1,3 @@
1
+ // @flow
2
+ export * from './index.flow';
3
+
@@ -0,0 +1,29 @@
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;
@@ -0,0 +1,17 @@
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;
@@ -0,0 +1,31 @@
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;
@@ -0,0 +1,16 @@
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;
@@ -0,0 +1,358 @@
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
+ ...
339
+ }
340
+ |};
341
+ export type TypeColors = {
342
+ ...TypeAppColors,
343
+ ...TypeContainerColors,
344
+ ...TypeButtonColors,
345
+ ...TypeLinkColors,
346
+ ...TypeLinkColors,
347
+ ...TypeTextColors,
348
+ ...TypeIconColors,
349
+ ...TypeFormColors,
350
+ ...TypeListItemColors,
351
+ ...TypeOverlayColors,
352
+ ...TypeElevationColors,
353
+ ...TypeDatavizColors,
354
+ ...TypeIllustrationColors,
355
+ ...TypeNetworkColors,
356
+ ...TypeLiteralColors,
357
+ ...
358
+ };