@sproutsocial/racine 12.8.0 → 12.11.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.
- package/CHANGELOG.md +33 -0
- package/__flow__/EnumIconNames.js +1 -1
- package/__flow__/EnumIllustrationNames.js +1 -1
- package/__flow__/EnumLogoNames.js +1 -1
- package/__flow__/IconViewBoxes.js +1 -1
- package/__flow__/IllustrationViewBoxes.js +1 -1
- package/__flow__/LogoViewBoxes.js +1 -1
- package/__flow__/PartnerLogo/TypePartnerNames.js +2 -0
- package/__flow__/PartnerLogo/index.stories.js +2 -0
- package/__flow__/PartnerLogo/partnerLogos/facebook-groups-dark.svg +3 -0
- package/__flow__/PartnerLogo/partnerLogos/facebook-groups.svg +3 -0
- package/__flow__/PartnerLogo/partnerLogos/twitter-audience-network-dark.svg +3 -0
- package/__flow__/PartnerLogo/partnerLogos/twitter-audience-network.svg +3 -0
- package/__flow__/SpotIllustration/illustrationNames.js +1 -0
- package/__flow__/SpotIllustration/spotIllustrations/under-construction.svg +12 -0
- package/__flow__/Stack/TypeSpaceLiterals.js +13 -0
- package/__flow__/Stack/index.js +1 -1
- package/__flow__/Toast/styles.js +5 -0
- package/__flow__/index.js +1 -0
- package/__flow__/themes/dark/decorative-palettes.js +24 -0
- package/__flow__/themes/dark/theme.js +12 -0
- package/__flow__/themes/extendedThemes/sproutTheme/dark/theme.js +22 -0
- package/__flow__/themes/extendedThemes/sproutTheme/light/theme.js +22 -0
- package/__flow__/themes/light/decorative-palettes.js +24 -0
- package/__flow__/themes/light/theme.js +17 -11
- package/__flow__/types/theme.colors.flow.js +8 -0
- package/__flow__/types/theme.flow.js +2 -0
- package/commonjs/IconViewBoxes.js +9 -0
- package/commonjs/IllustrationViewBoxes.js +1 -0
- package/commonjs/LogoViewBoxes.js +4 -0
- package/commonjs/SpotIllustration/illustrationNames.js +1 -1
- package/commonjs/Stack/TypeSpaceLiterals.js +1 -0
- package/commonjs/Toast/styles.js +3 -1
- package/commonjs/themes/dark/decorative-palettes.js +26 -2
- package/commonjs/themes/dark/theme.js +10 -2
- package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +25 -3
- package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +25 -3
- package/commonjs/themes/light/decorative-palettes.js +26 -2
- package/commonjs/themes/light/theme.js +15 -2
- package/dist/icon.svg +1 -1
- package/dist/iconList.js +1 -1
- package/dist/illustration.svg +1 -1
- package/dist/illustrationList.js +1 -1
- package/dist/logo.svg +1 -1
- package/dist/logoList.js +1 -1
- package/dist/themes/dark/theme.scss +10 -2
- package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +52 -4
- package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +52 -4
- package/dist/themes/light/theme.scss +10 -2
- package/lib/IconViewBoxes.js +9 -0
- package/lib/IllustrationViewBoxes.js +1 -0
- package/lib/LogoViewBoxes.js +4 -0
- package/lib/SpotIllustration/illustrationNames.js +1 -1
- package/lib/Stack/TypeSpaceLiterals.js +0 -0
- package/lib/Toast/styles.js +3 -1
- package/lib/themes/dark/decorative-palettes.js +20 -0
- package/lib/themes/dark/theme.js +11 -3
- package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +23 -2
- package/lib/themes/extendedThemes/sproutTheme/light/theme.js +23 -2
- package/lib/themes/light/decorative-palettes.js +20 -0
- package/lib/themes/light/theme.js +16 -3
- package/lib/types/theme.flow.js +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,16 @@ $theme: (
|
|
|
12
12
|
)
|
|
13
13
|
)
|
|
14
14
|
),
|
|
15
|
+
"cardControl": (
|
|
16
|
+
"background": (
|
|
17
|
+
"base": #FFFFFF,
|
|
18
|
+
"selected": #364141,
|
|
19
|
+
"hover": #f3f4f4
|
|
20
|
+
),
|
|
21
|
+
"text": (
|
|
22
|
+
"selected": #FFFFFF
|
|
23
|
+
)
|
|
24
|
+
),
|
|
15
25
|
"datePicker": (
|
|
16
26
|
"comparison": (
|
|
17
27
|
"background": (
|
|
@@ -46,7 +56,11 @@ $theme: (
|
|
|
46
56
|
"yellow": #fdefcd,
|
|
47
57
|
"orange": #fcdccc,
|
|
48
58
|
"red": #ffd5d2,
|
|
49
|
-
"neutral": #f3f4f4
|
|
59
|
+
"neutral": #f3f4f4,
|
|
60
|
+
"magenta": #f9e3fc,
|
|
61
|
+
"pink": #fcdbeb,
|
|
62
|
+
"aqua": #c5f9f9,
|
|
63
|
+
"teal": #cdf7ef
|
|
50
64
|
),
|
|
51
65
|
"selected": #364141,
|
|
52
66
|
"positive_sentiment": #3896e3,
|
|
@@ -68,7 +82,11 @@ $theme: (
|
|
|
68
82
|
"yellow": #ffbc00,
|
|
69
83
|
"orange": #f57d33,
|
|
70
84
|
"red": #ed4c42,
|
|
71
|
-
"neutral": #929a9b
|
|
85
|
+
"neutral": #929a9b,
|
|
86
|
+
"magenta": #c44eb9,
|
|
87
|
+
"pink": #e0447c,
|
|
88
|
+
"aqua": #17b8ce,
|
|
89
|
+
"teal": #08c4b2
|
|
72
90
|
),
|
|
73
91
|
"selected": #364141
|
|
74
92
|
)
|
|
@@ -459,6 +477,9 @@ $theme: (
|
|
|
459
477
|
"background": (
|
|
460
478
|
"base": #273333,
|
|
461
479
|
"overflowGradient": #162020
|
|
480
|
+
),
|
|
481
|
+
"border": (
|
|
482
|
+
"base": #162020
|
|
462
483
|
)
|
|
463
484
|
),
|
|
464
485
|
"secondary": (
|
|
@@ -527,7 +548,9 @@ $theme: (
|
|
|
527
548
|
),
|
|
528
549
|
"opportunity": (
|
|
529
550
|
"background": (
|
|
530
|
-
"base": #6f5ed3
|
|
551
|
+
"base": #6f5ed3,
|
|
552
|
+
"secondary": #273333,
|
|
553
|
+
"hover": #c1c1f7
|
|
531
554
|
),
|
|
532
555
|
"button": (
|
|
533
556
|
"primary": (
|
|
@@ -576,6 +599,21 @@ $theme: (
|
|
|
576
599
|
"hover": #6f5ed3
|
|
577
600
|
)
|
|
578
601
|
)
|
|
602
|
+
),
|
|
603
|
+
"user": (
|
|
604
|
+
"status": (
|
|
605
|
+
"online": #0ca750
|
|
606
|
+
)
|
|
607
|
+
)
|
|
608
|
+
),
|
|
609
|
+
"cardControl": (
|
|
610
|
+
"background": (
|
|
611
|
+
"base": #FFFFFF,
|
|
612
|
+
"selected": #364141,
|
|
613
|
+
"hover": #f3f4f4
|
|
614
|
+
),
|
|
615
|
+
"text": (
|
|
616
|
+
"selected": #FFFFFF
|
|
579
617
|
)
|
|
580
618
|
)
|
|
581
619
|
),
|
|
@@ -769,7 +807,9 @@ $theme: (
|
|
|
769
807
|
),
|
|
770
808
|
"opportunity": (
|
|
771
809
|
"background": (
|
|
772
|
-
"base": #6f5ed3
|
|
810
|
+
"base": #6f5ed3,
|
|
811
|
+
"secondary": #273333,
|
|
812
|
+
"hover": #c1c1f7
|
|
773
813
|
),
|
|
774
814
|
"button": (
|
|
775
815
|
"primary": (
|
|
@@ -818,6 +858,11 @@ $theme: (
|
|
|
818
858
|
"hover": #6f5ed3
|
|
819
859
|
)
|
|
820
860
|
)
|
|
861
|
+
),
|
|
862
|
+
"user": (
|
|
863
|
+
"status": (
|
|
864
|
+
"online": #0ca750
|
|
865
|
+
)
|
|
821
866
|
)
|
|
822
867
|
),
|
|
823
868
|
"navigation": (
|
|
@@ -825,6 +870,9 @@ $theme: (
|
|
|
825
870
|
"background": (
|
|
826
871
|
"base": #273333,
|
|
827
872
|
"overflowGradient": #162020
|
|
873
|
+
),
|
|
874
|
+
"border": (
|
|
875
|
+
"base": #162020
|
|
828
876
|
)
|
|
829
877
|
),
|
|
830
878
|
"secondary": (
|
|
@@ -31,7 +31,11 @@ $theme: (
|
|
|
31
31
|
"yellow": #fdefcd,
|
|
32
32
|
"orange": #fcdccc,
|
|
33
33
|
"red": #ffd5d2,
|
|
34
|
-
"neutral": #f3f4f4
|
|
34
|
+
"neutral": #f3f4f4,
|
|
35
|
+
"magenta": #f9e3fc,
|
|
36
|
+
"pink": #fcdbeb,
|
|
37
|
+
"aqua": #c5f9f9,
|
|
38
|
+
"teal": #cdf7ef
|
|
35
39
|
),
|
|
36
40
|
"selected": #364141,
|
|
37
41
|
"positive_sentiment": #3896e3,
|
|
@@ -53,7 +57,11 @@ $theme: (
|
|
|
53
57
|
"yellow": #ffbc00,
|
|
54
58
|
"orange": #f57d33,
|
|
55
59
|
"red": #ed4c42,
|
|
56
|
-
"neutral": #929a9b
|
|
60
|
+
"neutral": #929a9b,
|
|
61
|
+
"magenta": #c44eb9,
|
|
62
|
+
"pink": #e0447c,
|
|
63
|
+
"aqua": #17b8ce,
|
|
64
|
+
"teal": #08c4b2
|
|
57
65
|
),
|
|
58
66
|
"selected": #364141
|
|
59
67
|
)
|
package/lib/IconViewBoxes.js
CHANGED
|
@@ -37,6 +37,7 @@ module.exports = {
|
|
|
37
37
|
"bitly": "0 0 16 16",
|
|
38
38
|
"bold": "0 0 16 16",
|
|
39
39
|
"book": "0 0 14 16",
|
|
40
|
+
"bookmark": "0 0 12 16",
|
|
40
41
|
"bot": "0 0 16 16",
|
|
41
42
|
"browser": "0 0 16 16",
|
|
42
43
|
"business": "0 0 16 16",
|
|
@@ -165,6 +166,8 @@ module.exports = {
|
|
|
165
166
|
"grip": "0 0 8 18",
|
|
166
167
|
"h1": "0 0 16 16",
|
|
167
168
|
"h2": "0 0 16 16",
|
|
169
|
+
"h3": "0 0 16 16",
|
|
170
|
+
"h4": "0 0 16 16",
|
|
168
171
|
"hamburger": "0 0 16 18",
|
|
169
172
|
"hashtag": "0 0 16 16",
|
|
170
173
|
"headset": "0 0 16 16",
|
|
@@ -269,6 +272,8 @@ module.exports = {
|
|
|
269
272
|
"recommendation": "0 0 16 16",
|
|
270
273
|
"reddit-alien": "0 0 16 16",
|
|
271
274
|
"reddit": "0 0 16 16",
|
|
275
|
+
"reels-outline": "0 0 16 16",
|
|
276
|
+
"reels": "0 0 16 16",
|
|
272
277
|
"referrals": "0 0 16 16",
|
|
273
278
|
"refresh": "0 0 16 16",
|
|
274
279
|
"rejected": "0 0 16 16",
|
|
@@ -281,6 +286,7 @@ module.exports = {
|
|
|
281
286
|
"retweet": "0 0 18 16",
|
|
282
287
|
"rss": "0 0 16 16",
|
|
283
288
|
"sales": "0 0 9 16",
|
|
289
|
+
"salesforce-cloud": "0 0 20 16",
|
|
284
290
|
"salesforce": "0 0 20 16",
|
|
285
291
|
"save-assets": "0 0 16 16",
|
|
286
292
|
"saved-messages": "0 0 16 16",
|
|
@@ -291,6 +297,8 @@ module.exports = {
|
|
|
291
297
|
"sent-message": "0 0 16 14",
|
|
292
298
|
"share": "0 0 16 14",
|
|
293
299
|
"shopify": "0 0 16 18",
|
|
300
|
+
"shopping-bag-outline": "0 0 14 16",
|
|
301
|
+
"shopping-bag": "0 0 14 16",
|
|
294
302
|
"show-navigation": "0 0 18 14",
|
|
295
303
|
"slack": "0 0 16 16",
|
|
296
304
|
"small-density": "0 0 16 16",
|
|
@@ -336,6 +344,7 @@ module.exports = {
|
|
|
336
344
|
"tumblr": "0 0 16 16",
|
|
337
345
|
"twitter-audience-network": "0 0 17 16",
|
|
338
346
|
"twitter": "0 0 17 16",
|
|
347
|
+
"underline": "0 0 14 16",
|
|
339
348
|
"unfollow-outline": "0 0 20 16",
|
|
340
349
|
"unfollow": "0 0 20 16",
|
|
341
350
|
"unlink": "0 0 16 16",
|
|
@@ -93,6 +93,7 @@ module.exports = {
|
|
|
93
93
|
"tracking-time": "0 0 360 195",
|
|
94
94
|
"twitter-messages": "0 0 220 228",
|
|
95
95
|
"twitter-profiles": "0 0 335 187",
|
|
96
|
+
"under-construction": "0 0 343 243",
|
|
96
97
|
"unsubscribe": "0 0 212 163",
|
|
97
98
|
"upward-trend": "0 0 65 49",
|
|
98
99
|
"user-task": "0 0 313 176",
|
package/lib/LogoViewBoxes.js
CHANGED
|
@@ -6,6 +6,8 @@ module.exports = {
|
|
|
6
6
|
"dropbox-dark": "0 0 140 119",
|
|
7
7
|
"dropbox": "0 0 140 119",
|
|
8
8
|
"facebook-dark": "0 0 141 139",
|
|
9
|
+
"facebook-groups-dark": "0 0 140 140",
|
|
10
|
+
"facebook-groups": "0 0 140 140",
|
|
9
11
|
"facebook-shops-dark": "0 0 141 155",
|
|
10
12
|
"facebook-shops": "0 0 141 155",
|
|
11
13
|
"facebook": "0 0 141 139",
|
|
@@ -49,6 +51,8 @@ module.exports = {
|
|
|
49
51
|
"tripadvisor": "0 0 140 140",
|
|
50
52
|
"tumblr-dark": "0 0 140 140",
|
|
51
53
|
"tumblr": "0 0 140 140",
|
|
54
|
+
"twitter-audience-network-dark": "0 0 140 140",
|
|
55
|
+
"twitter-audience-network": "0 0 140 140",
|
|
52
56
|
"twitter-dark": "0 0 140 114",
|
|
53
57
|
"twitter": "0 0 140 114",
|
|
54
58
|
"whatsapp-dark": "0 0 140 140",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export var illustrationNames = ["abacus", "analytics-offering", "astronaut", "brand-keyword", "business", "calendar-event", "calendar-reporting", "cat-error", "cat-no-access", "cat", "checkbox-alert", "coffee-cup", "compose-window", "compose", "computer-error", "connect", "contact", "conversation", "custom-branding", "customer-service", "dashboard", "exclamation-mark", "face-happy", "find-bookmark", "flask", "general-topic", "global-features", "global-trend", "hands-raised", "headset", "heartbeat-connection", "invoice", "jewel", "keyword-tracking", "lightbulb-alt", "lightbulb", "like-conversation", "link-broken", "link-messages", "link-sections", "link-upload", "listening-pendo", "listening-tour", "loading", "mailbox-empty", "mailbox-full", "network-data", "no-messages-found", "no-notifications", "notification", "notifications-onboarding", "organize-message", "outbox-queue", "outbox-reviews", "pdf", "podium", "pointer", "publish-assets", "publish-links", "puzzle-piece", "question-mark", "reporting-folder", "reporting", "review-location", "review", "robot-assembly", "robot-error", "robot-happy", "rocket", "schedule-date", "schedule-messages", "search-keywords", "search-success", "search-trends", "search", "security", "sentiment", "shopping-bag", "spark-line", "stamp", "storefront", "success", "tag-message", "tag", "team-roles", "team", "telescope", "tha-mel", "thumbs-up", "toggle-switch", "toolset-strength", "tracking-time", "twitter-messages", "twitter-profiles", "unsubscribe", "upward-trend", "user-task", "view-connections", "vip-list", "warning", "wifi"];
|
|
1
|
+
export var illustrationNames = ["abacus", "analytics-offering", "astronaut", "brand-keyword", "business", "calendar-event", "calendar-reporting", "cat-error", "cat-no-access", "cat", "checkbox-alert", "coffee-cup", "compose-window", "compose", "computer-error", "connect", "contact", "conversation", "custom-branding", "customer-service", "dashboard", "exclamation-mark", "face-happy", "find-bookmark", "flask", "general-topic", "global-features", "global-trend", "hands-raised", "headset", "heartbeat-connection", "invoice", "jewel", "keyword-tracking", "lightbulb-alt", "lightbulb", "like-conversation", "link-broken", "link-messages", "link-sections", "link-upload", "listening-pendo", "listening-tour", "loading", "mailbox-empty", "mailbox-full", "network-data", "no-messages-found", "no-notifications", "notification", "notifications-onboarding", "organize-message", "outbox-queue", "outbox-reviews", "pdf", "podium", "pointer", "publish-assets", "publish-links", "puzzle-piece", "question-mark", "reporting-folder", "reporting", "review-location", "review", "robot-assembly", "robot-error", "robot-happy", "rocket", "schedule-date", "schedule-messages", "search-keywords", "search-success", "search-trends", "search", "security", "sentiment", "shopping-bag", "spark-line", "stamp", "storefront", "success", "tag-message", "tag", "team-roles", "team", "telescope", "tha-mel", "thumbs-up", "toggle-switch", "toolset-strength", "tracking-time", "twitter-messages", "twitter-profiles", "under-construction", "unsubscribe", "upward-trend", "user-task", "view-connections", "vip-list", "warning", "wifi"];
|
|
File without changes
|
package/lib/Toast/styles.js
CHANGED
|
@@ -23,7 +23,9 @@ export var CustomIcon = styled(Icon).withConfig({
|
|
|
23
23
|
}, function (p) {
|
|
24
24
|
return p.customColor ? undefined : p.theme.colors.icon[p.type];
|
|
25
25
|
});
|
|
26
|
-
export var GlobalToastStyles = createGlobalStyle(["", " .Toastify__toast:last-of-type{margin-bottom:0;}.Toastify-container-overrides{padding:0;width:360px;}.Toastify-toast-overrides{padding:0;min-height:0;border-radius:2px;}.Toastify__toast-container--bottom-right{bottom:", ";right:", ";}@media only screen and (max-width:480px){.Toastify-container-overrides{min-width:initial;}}"], toastStyles, function (p) {
|
|
26
|
+
export var GlobalToastStyles = createGlobalStyle(["", " .Toastify__toast{box-shadow:", ";background:transparent;}.Toastify__toast:last-of-type{margin-bottom:0;}.Toastify-container-overrides{padding:0;width:360px;}.Toastify-toast-overrides{padding:0;min-height:0;border-radius:2px;}.Toastify__toast-container--bottom-right{bottom:", ";right:", ";}@media only screen and (max-width:480px){.Toastify-container-overrides{min-width:initial;}}"], toastStyles, function (p) {
|
|
27
|
+
return p.theme.shadows.low;
|
|
28
|
+
}, function (p) {
|
|
27
29
|
return p.theme.space[400];
|
|
28
30
|
}, function (p) {
|
|
29
31
|
return p.theme.space[400];
|
|
@@ -33,4 +33,24 @@ export var neutral = {
|
|
|
33
33
|
background: COLORS.COLOR_NEUTRAL_1000,
|
|
34
34
|
highlight: COLORS.COLOR_NEUTRAL_500,
|
|
35
35
|
foreground: COLORS.COLOR_NEUTRAL_100
|
|
36
|
+
};
|
|
37
|
+
export var magenta = {
|
|
38
|
+
background: COLORS.COLOR_MAGENTA_900,
|
|
39
|
+
highlight: COLORS.COLOR_MAGENTA_600,
|
|
40
|
+
foreground: COLORS.COLOR_MAGENTA_100
|
|
41
|
+
};
|
|
42
|
+
export var pink = {
|
|
43
|
+
background: COLORS.COLOR_PINK_900,
|
|
44
|
+
highlight: COLORS.COLOR_PINK_600,
|
|
45
|
+
foreground: COLORS.COLOR_PINK_100
|
|
46
|
+
};
|
|
47
|
+
export var aqua = {
|
|
48
|
+
background: COLORS.COLOR_AQUA_900,
|
|
49
|
+
highlight: COLORS.COLOR_AQUA_500,
|
|
50
|
+
foreground: COLORS.COLOR_AQUA_100
|
|
51
|
+
};
|
|
52
|
+
export var teal = {
|
|
53
|
+
background: COLORS.COLOR_TEAL_900,
|
|
54
|
+
highlight: COLORS.COLOR_TEAL_500,
|
|
55
|
+
foreground: COLORS.COLOR_TEAL_100
|
|
36
56
|
};
|
package/lib/themes/dark/theme.js
CHANGED
|
@@ -4,7 +4,7 @@ import COLORS from "@sproutsocial/seeds-color";
|
|
|
4
4
|
import DEPTH from "@sproutsocial/seeds-depth";
|
|
5
5
|
import lightTheme from "../light/theme";
|
|
6
6
|
import { datavizPalette } from "./dataviz-palette";
|
|
7
|
-
import { green, blue, purple, yellow, orange, red, neutral } from "./decorative-palettes";
|
|
7
|
+
import { green, blue, purple, yellow, orange, red, neutral, magenta, pink, aqua, teal } from "./decorative-palettes";
|
|
8
8
|
import { transparentize } from "polished";
|
|
9
9
|
var MODE = "dark";
|
|
10
10
|
export var shadows = {
|
|
@@ -35,7 +35,11 @@ var colors = _extends({}, lightTheme.colors, {
|
|
|
35
35
|
yellow: yellow.background,
|
|
36
36
|
orange: orange.background,
|
|
37
37
|
red: red.background,
|
|
38
|
-
neutral: neutral.background
|
|
38
|
+
neutral: neutral.background,
|
|
39
|
+
magenta: magenta.background,
|
|
40
|
+
pink: pink.background,
|
|
41
|
+
aqua: aqua.background,
|
|
42
|
+
teal: teal.background
|
|
39
43
|
},
|
|
40
44
|
selected: COLORS.COLOR_NEUTRAL_0,
|
|
41
45
|
positive_sentiment: COLORS.COLOR_BLUE_500,
|
|
@@ -57,7 +61,11 @@ var colors = _extends({}, lightTheme.colors, {
|
|
|
57
61
|
yellow: yellow.highlight,
|
|
58
62
|
orange: orange.highlight,
|
|
59
63
|
red: red.highlight,
|
|
60
|
-
neutral: neutral.highlight
|
|
64
|
+
neutral: neutral.highlight,
|
|
65
|
+
magenta: magenta.highlight,
|
|
66
|
+
pink: pink.highlight,
|
|
67
|
+
aqua: aqua.highlight,
|
|
68
|
+
teal: teal.highlight
|
|
61
69
|
},
|
|
62
70
|
selected: COLORS.COLOR_NEUTRAL_0
|
|
63
71
|
}
|
|
@@ -7,6 +7,9 @@ export var navigation = {
|
|
|
7
7
|
background: {
|
|
8
8
|
base: baseDarkTheme.colors.neutral[1000],
|
|
9
9
|
overflowGradient: baseDarkTheme.colors.neutral[1100]
|
|
10
|
+
},
|
|
11
|
+
border: {
|
|
12
|
+
base: baseDarkTheme.colors.neutral[1100]
|
|
10
13
|
}
|
|
11
14
|
},
|
|
12
15
|
secondary: {
|
|
@@ -75,7 +78,9 @@ export var growth = {
|
|
|
75
78
|
},
|
|
76
79
|
opportunity: {
|
|
77
80
|
background: {
|
|
78
|
-
base: baseDarkTheme.colors.purple[700]
|
|
81
|
+
base: baseDarkTheme.colors.purple[700],
|
|
82
|
+
secondary: baseDarkTheme.colors.neutral[700],
|
|
83
|
+
hover: baseDarkTheme.colors.purple[500]
|
|
79
84
|
},
|
|
80
85
|
button: {
|
|
81
86
|
primary: {
|
|
@@ -125,6 +130,21 @@ export var growth = {
|
|
|
125
130
|
hover: baseDarkTheme.colors.purple[700]
|
|
126
131
|
}
|
|
127
132
|
}
|
|
133
|
+
},
|
|
134
|
+
user: {
|
|
135
|
+
status: {
|
|
136
|
+
online: baseDarkTheme.colors.green[700]
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
export var cardControl = {
|
|
141
|
+
background: {
|
|
142
|
+
base: baseDarkTheme.colors.neutral[900],
|
|
143
|
+
selected: baseDarkTheme.colors.neutral[700],
|
|
144
|
+
hover: baseDarkTheme.colors.neutral[800]
|
|
145
|
+
},
|
|
146
|
+
text: {
|
|
147
|
+
selected: baseDarkTheme.colors.text.body
|
|
128
148
|
}
|
|
129
149
|
};
|
|
130
150
|
|
|
@@ -133,7 +153,8 @@ var darkTheme = _extends({}, baseDarkTheme, {
|
|
|
133
153
|
navigation: navigation,
|
|
134
154
|
datePicker: datePicker,
|
|
135
155
|
analytics: analytics,
|
|
136
|
-
growth: growth
|
|
156
|
+
growth: growth,
|
|
157
|
+
cardControl: cardControl
|
|
137
158
|
})
|
|
138
159
|
});
|
|
139
160
|
|
|
@@ -7,6 +7,9 @@ export var navigation = {
|
|
|
7
7
|
background: {
|
|
8
8
|
base: baseLightTheme.colors.neutral[900],
|
|
9
9
|
overflowGradient: baseLightTheme.colors.neutral[1000]
|
|
10
|
+
},
|
|
11
|
+
border: {
|
|
12
|
+
base: baseLightTheme.colors.neutral[1000]
|
|
10
13
|
}
|
|
11
14
|
},
|
|
12
15
|
secondary: {
|
|
@@ -75,7 +78,9 @@ export var growth = {
|
|
|
75
78
|
},
|
|
76
79
|
opportunity: {
|
|
77
80
|
background: {
|
|
78
|
-
base: baseLightTheme.colors.purple[700]
|
|
81
|
+
base: baseLightTheme.colors.purple[700],
|
|
82
|
+
secondary: baseLightTheme.colors.neutral[900],
|
|
83
|
+
hover: baseLightTheme.colors.purple[300]
|
|
79
84
|
},
|
|
80
85
|
button: {
|
|
81
86
|
primary: {
|
|
@@ -125,6 +130,21 @@ export var growth = {
|
|
|
125
130
|
hover: baseLightTheme.colors.purple[700]
|
|
126
131
|
}
|
|
127
132
|
}
|
|
133
|
+
},
|
|
134
|
+
user: {
|
|
135
|
+
status: {
|
|
136
|
+
online: baseLightTheme.colors.green[700]
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
export var cardControl = {
|
|
141
|
+
background: {
|
|
142
|
+
base: baseLightTheme.colors.neutral[0],
|
|
143
|
+
selected: baseLightTheme.colors.neutral[800],
|
|
144
|
+
hover: baseLightTheme.colors.neutral[100]
|
|
145
|
+
},
|
|
146
|
+
text: {
|
|
147
|
+
selected: baseLightTheme.colors.text.inverse
|
|
128
148
|
}
|
|
129
149
|
};
|
|
130
150
|
|
|
@@ -133,7 +153,8 @@ var lightTheme = _extends({}, baseLightTheme, {
|
|
|
133
153
|
navigation: navigation,
|
|
134
154
|
datePicker: datePicker,
|
|
135
155
|
analytics: analytics,
|
|
136
|
-
growth: growth
|
|
156
|
+
growth: growth,
|
|
157
|
+
cardControl: cardControl
|
|
137
158
|
})
|
|
138
159
|
});
|
|
139
160
|
|
|
@@ -33,4 +33,24 @@ export var neutral = {
|
|
|
33
33
|
background: COLORS.COLOR_NEUTRAL_100,
|
|
34
34
|
highlight: COLORS.COLOR_NEUTRAL_500,
|
|
35
35
|
foreground: COLORS.COLOR_NEUTRAL_900
|
|
36
|
+
};
|
|
37
|
+
export var magenta = {
|
|
38
|
+
background: COLORS.COLOR_MAGENTA_100,
|
|
39
|
+
highlight: COLORS.COLOR_MAGENTA_600,
|
|
40
|
+
foreground: COLORS.COLOR_MAGENTA_900
|
|
41
|
+
};
|
|
42
|
+
export var pink = {
|
|
43
|
+
background: COLORS.COLOR_PINK_100,
|
|
44
|
+
highlight: COLORS.COLOR_PINK_600,
|
|
45
|
+
foreground: COLORS.COLOR_PINK_900
|
|
46
|
+
};
|
|
47
|
+
export var aqua = {
|
|
48
|
+
background: COLORS.COLOR_AQUA_100,
|
|
49
|
+
highlight: COLORS.COLOR_AQUA_500,
|
|
50
|
+
foreground: COLORS.COLOR_AQUA_900
|
|
51
|
+
};
|
|
52
|
+
export var teal = {
|
|
53
|
+
background: COLORS.COLOR_TEAL_100,
|
|
54
|
+
highlight: COLORS.COLOR_TEAL_500,
|
|
55
|
+
foreground: COLORS.COLOR_TEAL_900
|
|
36
56
|
};
|
|
@@ -3,7 +3,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
3
3
|
import COLORS from "@sproutsocial/seeds-color";
|
|
4
4
|
import literalColors from "./literal-colors";
|
|
5
5
|
import { datavizPalette } from "./dataviz-palette";
|
|
6
|
-
import { green, blue, purple, yellow, orange, red, neutral } from "./decorative-palettes";
|
|
6
|
+
import { green, blue, purple, yellow, orange, red, neutral, magenta, pink, aqua, teal } from "./decorative-palettes";
|
|
7
7
|
import NETWORKCOLORS from "@sproutsocial/seeds-networkcolor";
|
|
8
8
|
import TYPOGRAPHY from "@sproutsocial/seeds-typography";
|
|
9
9
|
import SPACE from "@sproutsocial/seeds-space";
|
|
@@ -36,7 +36,11 @@ var colors = _extends({
|
|
|
36
36
|
yellow: yellow.background,
|
|
37
37
|
orange: orange.background,
|
|
38
38
|
red: red.background,
|
|
39
|
-
neutral: neutral.background
|
|
39
|
+
neutral: neutral.background,
|
|
40
|
+
magenta: magenta.background,
|
|
41
|
+
pink: pink.background,
|
|
42
|
+
aqua: aqua.background,
|
|
43
|
+
teal: teal.background
|
|
40
44
|
},
|
|
41
45
|
selected: COLORS.COLOR_NEUTRAL_800,
|
|
42
46
|
positive_sentiment: COLORS.COLOR_BLUE_500,
|
|
@@ -58,7 +62,11 @@ var colors = _extends({
|
|
|
58
62
|
yellow: yellow.highlight,
|
|
59
63
|
orange: orange.highlight,
|
|
60
64
|
red: red.highlight,
|
|
61
|
-
neutral: neutral.highlight
|
|
65
|
+
neutral: neutral.highlight,
|
|
66
|
+
magenta: magenta.highlight,
|
|
67
|
+
pink: pink.highlight,
|
|
68
|
+
aqua: aqua.highlight,
|
|
69
|
+
teal: teal.highlight
|
|
62
70
|
},
|
|
63
71
|
selected: COLORS.COLOR_NEUTRAL_800
|
|
64
72
|
}
|
|
@@ -269,6 +277,11 @@ export var fontWeights = {
|
|
|
269
277
|
bold: TYPOGRAPHY.TYPOGRAPHY_WEIGHT_BOLD,
|
|
270
278
|
extrabold: TYPOGRAPHY.TYPOGRAPHY_WEIGHT_EXTRA_BOLD
|
|
271
279
|
};
|
|
280
|
+
/**
|
|
281
|
+
* @deprecated
|
|
282
|
+
* Import from `Stack/TypeSpaceLiterals` instead.
|
|
283
|
+
*/
|
|
284
|
+
|
|
272
285
|
export var space = {
|
|
273
286
|
"0": SPACE.SPACE_SIZE_0,
|
|
274
287
|
"100": SPACE.SPACE_SIZE_100,
|
package/lib/types/theme.flow.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { breakpoints, typography, fontWeights, radii, borders, borderWidths, shadows, space, easing, duration } from "../themes/light/theme";
|
|
2
|
-
import { datePicker, navigation, analytics, growth } from "../themes/extendedThemes/sproutTheme/light/theme";
|
|
2
|
+
import { datePicker, navigation, analytics, growth, cardControl } from "../themes/extendedThemes/sproutTheme/light/theme";
|