@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,268 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.shadows = exports.default = void 0;
7
+ var _polished = require("polished");
8
+ var _seedsColor = _interopRequireDefault(require("@sproutsocial/seeds-color"));
9
+ var _seedsDepth = _interopRequireDefault(require("@sproutsocial/seeds-depth"));
10
+ var _theme = _interopRequireDefault(require("../light/theme"));
11
+ var _datavizPalette = require("./dataviz-palette");
12
+ var _decorativePalettes = require("./decorative-palettes");
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
15
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
19
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* eslint-disable no-restricted-imports */ // json-to-scss is not working with the alias right now
20
+ //import {theme as lightTheme} from '@src';
21
+ //import {TypeThemeMode} from '@src/types/theme';
22
+ var MODE = "dark";
23
+ var shadows = exports.shadows = {
24
+ low: "".concat(_seedsDepth.default.ELEVATION_LEVEL_100, " ").concat(_seedsColor.default.COLOR_NEUTRAL_1100, "FF"),
25
+ medium: "".concat(_seedsDepth.default.ELEVATION_LEVEL_300, " ").concat(_seedsColor.default.COLOR_NEUTRAL_1100, "FF"),
26
+ high: "".concat(_seedsDepth.default.ELEVATION_LEVEL_400, " ").concat(_seedsColor.default.COLOR_NEUTRAL_1100, "FF")
27
+ };
28
+
29
+ // If you are making changes to the colors in the theme file tag the Design Systems team on your PR! Thank you!!
30
+
31
+ var colors = _objectSpread(_objectSpread({}, _theme.default.colors), {}, {
32
+ app: {
33
+ background: {
34
+ base: _seedsColor.default.COLOR_NEUTRAL_1000
35
+ }
36
+ },
37
+ container: {
38
+ background: {
39
+ base: _seedsColor.default.COLOR_NEUTRAL_900,
40
+ success: _decorativePalettes.green.background,
41
+ warning: _decorativePalettes.yellow.background,
42
+ error: _decorativePalettes.red.background,
43
+ info: _decorativePalettes.blue.background,
44
+ opportunity: _decorativePalettes.purple.background,
45
+ /** @deprecated Use "error" instead of "danger" */
46
+ danger: _decorativePalettes.red.background,
47
+ decorative: {
48
+ green: _decorativePalettes.green.background,
49
+ blue: _decorativePalettes.blue.background,
50
+ purple: _decorativePalettes.purple.background,
51
+ yellow: _decorativePalettes.yellow.background,
52
+ orange: _decorativePalettes.orange.background,
53
+ red: _decorativePalettes.red.background,
54
+ neutral: _decorativePalettes.neutral.background,
55
+ magenta: _decorativePalettes.magenta.background,
56
+ pink: _decorativePalettes.pink.background,
57
+ aqua: _decorativePalettes.aqua.background,
58
+ teal: _decorativePalettes.teal.background
59
+ },
60
+ selected: _seedsColor.default.COLOR_NEUTRAL_0,
61
+ positive_sentiment: _seedsColor.default.COLOR_BLUE_500,
62
+ negative_sentiment: _seedsColor.default.COLOR_RED_500,
63
+ neutral_sentiment: _seedsColor.default.COLOR_NEUTRAL_300
64
+ },
65
+ border: {
66
+ base: _seedsColor.default.COLOR_NEUTRAL_1100,
67
+ success: _decorativePalettes.green.highlight,
68
+ warning: _decorativePalettes.yellow.highlight,
69
+ error: _decorativePalettes.red.highlight,
70
+ /** @deprecated Use "error" instead of "danger" */
71
+ danger: _decorativePalettes.red.highlight,
72
+ info: _decorativePalettes.blue.highlight,
73
+ opportunity: _decorativePalettes.purple.highlight,
74
+ decorative: {
75
+ green: _decorativePalettes.green.highlight,
76
+ blue: _decorativePalettes.blue.highlight,
77
+ purple: _decorativePalettes.purple.highlight,
78
+ yellow: _decorativePalettes.yellow.highlight,
79
+ orange: _decorativePalettes.orange.highlight,
80
+ red: _decorativePalettes.red.highlight,
81
+ neutral: _decorativePalettes.neutral.highlight,
82
+ magenta: _decorativePalettes.magenta.highlight,
83
+ pink: _decorativePalettes.pink.highlight,
84
+ aqua: _decorativePalettes.aqua.highlight,
85
+ teal: _decorativePalettes.teal.highlight
86
+ },
87
+ selected: _seedsColor.default.COLOR_NEUTRAL_0
88
+ }
89
+ },
90
+ button: {
91
+ primary: {
92
+ background: {
93
+ base: _seedsColor.default.COLOR_BLUE_400,
94
+ hover: _seedsColor.default.COLOR_BLUE_300,
95
+ active: _seedsColor.default.COLOR_BLUE_200
96
+ },
97
+ border: {
98
+ base: "transparent"
99
+ },
100
+ text: {
101
+ base: _seedsColor.default.COLOR_NEUTRAL_900,
102
+ hover: _seedsColor.default.COLOR_NEUTRAL_1000
103
+ }
104
+ },
105
+ secondary: {
106
+ background: {
107
+ base: "transparent",
108
+ hover: _seedsColor.default.COLOR_NEUTRAL_100,
109
+ active: _seedsColor.default.COLOR_NEUTRAL_0
110
+ },
111
+ border: {
112
+ base: _seedsColor.default.COLOR_NEUTRAL_0
113
+ },
114
+ text: {
115
+ base: _seedsColor.default.COLOR_NEUTRAL_0,
116
+ hover: _seedsColor.default.COLOR_NEUTRAL_800
117
+ }
118
+ },
119
+ pill: {
120
+ background: {
121
+ base: "transparent",
122
+ hover: _seedsColor.default.COLOR_NEUTRAL_1000,
123
+ active: _seedsColor.default.COLOR_NEUTRAL_900
124
+ },
125
+ border: {
126
+ base: "transparent",
127
+ hover: _seedsColor.default.COLOR_NEUTRAL_0
128
+ },
129
+ text: {
130
+ base: _seedsColor.default.COLOR_NEUTRAL_100,
131
+ hover: _seedsColor.default.COLOR_NEUTRAL_0
132
+ }
133
+ },
134
+ destructive: {
135
+ background: {
136
+ base: _seedsColor.default.COLOR_RED_400,
137
+ hover: _seedsColor.default.COLOR_RED_300,
138
+ active: _seedsColor.default.COLOR_RED_200
139
+ },
140
+ border: {
141
+ base: "transparent"
142
+ },
143
+ text: {
144
+ base: _seedsColor.default.COLOR_NEUTRAL_900,
145
+ hover: _seedsColor.default.COLOR_NEUTRAL_1000
146
+ }
147
+ },
148
+ placeholder: {
149
+ background: {
150
+ base: "transparent",
151
+ hover: _seedsColor.default.COLOR_NEUTRAL_1100,
152
+ active: _seedsColor.default.COLOR_NEUTRAL_1100
153
+ },
154
+ border: {
155
+ base: _seedsColor.default.COLOR_NEUTRAL_500
156
+ },
157
+ text: {
158
+ base: _seedsColor.default.COLOR_BLUE_400,
159
+ hover: _seedsColor.default.COLOR_BLUE_300
160
+ }
161
+ },
162
+ unstyled: {
163
+ background: {
164
+ base: "transparent"
165
+ },
166
+ border: {
167
+ base: "transparent"
168
+ },
169
+ text: {
170
+ base: _seedsColor.default.COLOR_NEUTRAL_300,
171
+ hover: _seedsColor.default.COLOR_NEUTRAL_200
172
+ }
173
+ }
174
+ },
175
+ link: {
176
+ base: _seedsColor.default.COLOR_BLUE_400,
177
+ hover: _seedsColor.default.COLOR_BLUE_300
178
+ },
179
+ text: {
180
+ headline: _seedsColor.default.COLOR_NEUTRAL_0,
181
+ subtext: _seedsColor.default.COLOR_NEUTRAL_200,
182
+ body: _seedsColor.default.COLOR_NEUTRAL_100,
183
+ inverse: _seedsColor.default.COLOR_NEUTRAL_900,
184
+ error: _decorativePalettes.red.foreground,
185
+ background: {
186
+ highlight: _seedsColor.default.COLOR_YELLOW_900,
187
+ selection: _seedsColor.default.COLOR_BLUE_800
188
+ },
189
+ decorative: {
190
+ green: _decorativePalettes.green.foreground,
191
+ blue: _decorativePalettes.blue.foreground,
192
+ purple: _decorativePalettes.purple.foreground,
193
+ yellow: _decorativePalettes.yellow.foreground,
194
+ orange: _decorativePalettes.orange.foreground,
195
+ red: _decorativePalettes.red.foreground,
196
+ neutral: _decorativePalettes.neutral.foreground,
197
+ magenta: _decorativePalettes.magenta.foreground,
198
+ pink: _decorativePalettes.pink.foreground,
199
+ aqua: _decorativePalettes.aqua.foreground,
200
+ teal: _decorativePalettes.teal.foreground
201
+ }
202
+ },
203
+ icon: {
204
+ base: _seedsColor.default.COLOR_NEUTRAL_100,
205
+ inverse: _seedsColor.default.COLOR_NEUTRAL_900,
206
+ success: _decorativePalettes.green.foreground,
207
+ warning: _decorativePalettes.yellow.foreground,
208
+ error: _decorativePalettes.red.foreground,
209
+ /** @deprecated Use "error" instead of "danger" */
210
+ danger: _decorativePalettes.red.foreground,
211
+ info: _decorativePalettes.blue.foreground,
212
+ opportunity: _decorativePalettes.purple.foreground,
213
+ applied: _seedsColor.default.COLOR_BLUE_400,
214
+ positive_sentiment: _seedsColor.default.COLOR_BLUE_600,
215
+ negative_sentiment: _seedsColor.default.COLOR_RED_600,
216
+ neutral_sentiment: _seedsColor.default.COLOR_NEUTRAL_500
217
+ },
218
+ form: {
219
+ background: {
220
+ base: _seedsColor.default.COLOR_NEUTRAL_900,
221
+ selected: _seedsColor.default.COLOR_NEUTRAL_0
222
+ },
223
+ border: {
224
+ base: _seedsColor.default.COLOR_NEUTRAL_500,
225
+ error: _decorativePalettes.red.highlight,
226
+ warning: _decorativePalettes.yellow.highlight,
227
+ selected: _seedsColor.default.COLOR_NEUTRAL_0
228
+ },
229
+ placeholder: {
230
+ base: _seedsColor.default.COLOR_NEUTRAL_500
231
+ }
232
+ },
233
+ listItem: {
234
+ background: {
235
+ base: "transparent",
236
+ hover: _seedsColor.default.COLOR_NEUTRAL_800,
237
+ selected: _seedsColor.default.COLOR_NEUTRAL_0
238
+ }
239
+ },
240
+ overlay: {
241
+ background: {
242
+ base: (0, _polished.transparentize)(0.28, _seedsColor.default.COLOR_NEUTRAL_1000)
243
+ },
244
+ text: {
245
+ base: _seedsColor.default.COLOR_NEUTRAL_0
246
+ },
247
+ icon: {
248
+ base: _seedsColor.default.COLOR_NEUTRAL_0
249
+ }
250
+ },
251
+ elevation: {
252
+ base: _seedsColor.default.COLOR_NEUTRAL_1100
253
+ },
254
+ illustration: {
255
+ fill: _seedsColor.default.COLOR_BLUE_400,
256
+ stroke: _decorativePalettes.neutral.foreground
257
+ },
258
+ dataviz: {
259
+ map: _datavizPalette.datavizPalette.DATAVIZ_COLORS_MAP,
260
+ list: _datavizPalette.datavizPalette.DATAVIZ_COLORS_LIST
261
+ }
262
+ }, _datavizPalette.datavizPalette);
263
+ var darkTheme = _objectSpread(_objectSpread({}, _theme.default), {}, {
264
+ colors: colors,
265
+ shadows: shadows,
266
+ mode: MODE
267
+ });
268
+ var _default = exports.default = darkTheme;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _default = exports.default = darkTheme;
@@ -0,0 +1,240 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.navigation = exports.listening = exports.growth = exports.default = exports.datePicker = exports.cardControl = exports.analytics = void 0;
7
+ var _polished = require("polished");
8
+ var _theme = _interopRequireDefault(require("../../../dark/theme"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
12
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
15
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* eslint-disable no-restricted-imports */ // json-to-scss is not working with the alias right now
16
+ //import {darkTheme as baseDarkTheme, type TypeSproutTheme} from '@src';
17
+ var navigation = exports.navigation = {
18
+ main: {
19
+ background: {
20
+ base: _theme.default.colors.neutral[1000],
21
+ overflowGradient: _theme.default.colors.neutral[1100]
22
+ },
23
+ border: {
24
+ base: _theme.default.colors.neutral[1100]
25
+ }
26
+ },
27
+ secondary: {
28
+ background: {
29
+ base: _theme.default.colors.neutral[900]
30
+ },
31
+ widget: {
32
+ background: {
33
+ base: _theme.default.colors.neutral[800]
34
+ }
35
+ },
36
+ accordion: {
37
+ background: {
38
+ // Uses hexicimal to change the opacity of the color
39
+ // Adding 'A3' at end to make this color have a 64% opacity
40
+ // Reference https://gist.github.com/lopspower/03fb1cc0ac9f32ef38f4
41
+ base: "".concat(_theme.default.colors.neutral[1000], "A3")
42
+ }
43
+ }
44
+ },
45
+ settings: {
46
+ listItem: {
47
+ background: {
48
+ base: "transparent",
49
+ hover: _theme.default.colors.neutral[1100],
50
+ selected: _theme.default.colors.neutral[800]
51
+ }
52
+ }
53
+ },
54
+ text: {
55
+ base: _theme.default.colors.neutral[0],
56
+ hover: _theme.default.colors.neutral[0]
57
+ },
58
+ icon: {
59
+ base: _theme.default.colors.neutral[0],
60
+ hover: _theme.default.colors.neutral[0]
61
+ },
62
+ listItem: {
63
+ background: {
64
+ base: _theme.default.colors.neutral[1000],
65
+ hover: _theme.default.colors.neutral[1100],
66
+ selected: _theme.default.colors.neutral[700]
67
+ }
68
+ }
69
+ };
70
+ var datePicker = exports.datePicker = {
71
+ comparison: {
72
+ background: {
73
+ base: _theme.default.colors.neutral[400]
74
+ },
75
+ text: {
76
+ base: _theme.default.colors.neutral[800]
77
+ }
78
+ }
79
+ };
80
+ var analytics = exports.analytics = {
81
+ trend: {
82
+ positive: _theme.default.colors.teal[500],
83
+ neutral: _theme.default.colors.neutral[100],
84
+ negative: _theme.default.colors.neutral[100]
85
+ },
86
+ overlay: {
87
+ background: {
88
+ base: (0, _polished.transparentize)(0.2, _theme.default.colors.neutral[900])
89
+ }
90
+ }
91
+ };
92
+ var listening = exports.listening = {
93
+ chart: {
94
+ indicator: {
95
+ default: {
96
+ primary: _theme.default.colors.neutral[100],
97
+ secondary: _theme.default.colors.neutral[900]
98
+ },
99
+ hover: {
100
+ primary: _theme.default.colors.neutral[300],
101
+ secondary: _theme.default.colors.neutral[0]
102
+ }
103
+ },
104
+ spike: {
105
+ background: {
106
+ base: _theme.default.colors.teal[500]
107
+ },
108
+ icon: {
109
+ base: _theme.default.colors.neutral[0]
110
+ }
111
+ }
112
+ },
113
+ topicTypes: {
114
+ customTopic: _theme.default.colors.teal[400],
115
+ brandHealth: _theme.default.colors.red[400],
116
+ industryInsights: _theme.default.colors.green[400],
117
+ competitiveAnalysis: _theme.default.colors.yellow[400],
118
+ campaignAnalysis: _theme.default.colors.magenta[400],
119
+ eventMonitoring: _theme.default.colors.aqua[400],
120
+ featuredTopic: _theme.default.colors.green[400]
121
+ },
122
+ worldMap: {
123
+ empty: _theme.default.colors.neutral[200],
124
+ q0: _theme.default.colors.purple[200],
125
+ q1: _theme.default.colors.purple[300],
126
+ q2: _theme.default.colors.purple[400],
127
+ q3: _theme.default.colors.purple[500],
128
+ q4: _theme.default.colors.purple[600],
129
+ q5: _theme.default.colors.purple[700],
130
+ q6: _theme.default.colors.purple[800],
131
+ q7: _theme.default.colors.purple[900]
132
+ }
133
+ };
134
+ var growth = exports.growth = {
135
+ carousel: {
136
+ indicator: {
137
+ active: _theme.default.colors.blue[600],
138
+ inactive: _theme.default.colors.neutral[300]
139
+ }
140
+ },
141
+ education: {
142
+ decorative: {
143
+ aqua: _theme.default.colors.aqua[600],
144
+ teal: _theme.default.colors.teal[500]
145
+ }
146
+ },
147
+ opportunity: {
148
+ background: {
149
+ base: _theme.default.colors.purple[700],
150
+ secondary: _theme.default.colors.neutral[700],
151
+ hover: _theme.default.colors.purple[500]
152
+ },
153
+ button: {
154
+ primary: {
155
+ base: _theme.default.colors.purple[400],
156
+ hover: _theme.default.colors.purple[300]
157
+ }
158
+ },
159
+ badge: {
160
+ background: {
161
+ base: _theme.default.colors.purple[700],
162
+ active: _theme.default.colors.purple[100]
163
+ },
164
+ icon: {
165
+ base: _theme.default.colors.purple[200],
166
+ active: _theme.default.colors.purple[800]
167
+ },
168
+ text: {
169
+ base: _theme.default.colors.purple[200]
170
+ }
171
+ },
172
+ decorative: {
173
+ // confetti
174
+ green: _theme.default.colors.green[700],
175
+ lightAqua: _theme.default.colors.aqua[600],
176
+ darkAqua: _theme.default.colors.aqua[1100],
177
+ purple: _theme.default.colors.purple[700]
178
+ }
179
+ },
180
+ featuredDemo: {
181
+ background: {
182
+ primary: {
183
+ base: _theme.default.colors.blue[400],
184
+ hover: _theme.default.colors.blue[100]
185
+ },
186
+ secondary: {
187
+ base: _theme.default.colors.purple[500],
188
+ hover: _theme.default.colors.purple[100]
189
+ }
190
+ }
191
+ },
192
+ darkModal: {
193
+ background: {
194
+ base: _theme.default.colors.aqua[1100]
195
+ },
196
+ text: {
197
+ base: _theme.default.colors.neutral[0]
198
+ },
199
+ cards: {
200
+ background: {
201
+ base: _theme.default.colors.neutral[0],
202
+ hover: _theme.default.colors.purple[100]
203
+ },
204
+ text: {
205
+ base: _theme.default.colors.neutral[800],
206
+ hover: _theme.default.colors.neutral[900]
207
+ },
208
+ border: {
209
+ base: _theme.default.colors.neutral[0],
210
+ hover: _theme.default.colors.purple[700]
211
+ }
212
+ }
213
+ },
214
+ user: {
215
+ status: {
216
+ online: _theme.default.colors.green[700]
217
+ }
218
+ }
219
+ };
220
+ var cardControl = exports.cardControl = {
221
+ background: {
222
+ base: _theme.default.colors.neutral[900],
223
+ selected: _theme.default.colors.neutral[700],
224
+ hover: _theme.default.colors.neutral[800]
225
+ },
226
+ text: {
227
+ selected: _theme.default.colors.text.body
228
+ }
229
+ };
230
+ var darkTheme = _objectSpread(_objectSpread({}, _theme.default), {}, {
231
+ colors: _objectSpread(_objectSpread({}, _theme.default.colors), {}, {
232
+ navigation: navigation,
233
+ datePicker: datePicker,
234
+ analytics: analytics,
235
+ listening: listening,
236
+ growth: growth,
237
+ cardControl: cardControl
238
+ })
239
+ });
240
+ var _default = exports.default = darkTheme;
@@ -0,0 +1,20 @@
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 }; }
@@ -0,0 +1,20 @@
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"));
19
+ var _theme2 = _interopRequireDefault(require("./dark/theme"));
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -0,0 +1 @@
1
+ "use strict";