@sproutsocial/racine 12.9.0 → 12.12.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 +37 -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 +33 -0
- package/__flow__/themes/extendedThemes/sproutTheme/light/theme.js +33 -0
- package/__flow__/themes/light/decorative-palettes.js +24 -0
- package/__flow__/themes/light/theme.js +18 -11
- package/__flow__/types/theme.colors.flow.js +8 -0
- package/__flow__/types/theme.flow.js +2 -0
- package/commonjs/IconViewBoxes.js +1 -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 +34 -1
- package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +34 -1
- 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 +72 -2
- package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +72 -2
- package/dist/themes/light/theme.scss +10 -2
- package/lib/IconViewBoxes.js +1 -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 +32 -0
- package/lib/themes/extendedThemes/sproutTheme/light/theme.js +32 -0
- 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
|
@@ -56,7 +56,11 @@ $theme: (
|
|
|
56
56
|
"yellow": #fdefcd,
|
|
57
57
|
"orange": #fcdccc,
|
|
58
58
|
"red": #ffd5d2,
|
|
59
|
-
"neutral": #f3f4f4
|
|
59
|
+
"neutral": #f3f4f4,
|
|
60
|
+
"magenta": #f9e3fc,
|
|
61
|
+
"pink": #fcdbeb,
|
|
62
|
+
"aqua": #c5f9f9,
|
|
63
|
+
"teal": #cdf7ef
|
|
60
64
|
),
|
|
61
65
|
"selected": #364141,
|
|
62
66
|
"positive_sentiment": #3896e3,
|
|
@@ -78,7 +82,11 @@ $theme: (
|
|
|
78
82
|
"yellow": #ffbc00,
|
|
79
83
|
"orange": #f57d33,
|
|
80
84
|
"red": #ed4c42,
|
|
81
|
-
"neutral": #929a9b
|
|
85
|
+
"neutral": #929a9b,
|
|
86
|
+
"magenta": #c44eb9,
|
|
87
|
+
"pink": #e0447c,
|
|
88
|
+
"aqua": #17b8ce,
|
|
89
|
+
"teal": #08c4b2
|
|
82
90
|
),
|
|
83
91
|
"selected": #364141
|
|
84
92
|
)
|
|
@@ -469,6 +477,9 @@ $theme: (
|
|
|
469
477
|
"background": (
|
|
470
478
|
"base": #273333,
|
|
471
479
|
"overflowGradient": #162020
|
|
480
|
+
),
|
|
481
|
+
"border": (
|
|
482
|
+
"base": #162020
|
|
472
483
|
)
|
|
473
484
|
),
|
|
474
485
|
"secondary": (
|
|
@@ -528,6 +539,28 @@ $theme: (
|
|
|
528
539
|
)
|
|
529
540
|
)
|
|
530
541
|
),
|
|
542
|
+
"listening": (
|
|
543
|
+
"topicTypes": (
|
|
544
|
+
"customTopic": #56adf5,
|
|
545
|
+
"brandHealth": #ff7f6e,
|
|
546
|
+
"industryInsights": #75dd66,
|
|
547
|
+
"competitiveAnalysis": #ffd943,
|
|
548
|
+
"campaignAnalysis": #f282f5,
|
|
549
|
+
"eventMonitoring": #33d6e2,
|
|
550
|
+
"featuredTopic": #75dd66
|
|
551
|
+
),
|
|
552
|
+
"worldMap": (
|
|
553
|
+
"empty": #dee1e1,
|
|
554
|
+
"q0": #d8d7f9,
|
|
555
|
+
"q1": #c1c1f7,
|
|
556
|
+
"q2": #a193f2,
|
|
557
|
+
"q3": #9180f4,
|
|
558
|
+
"q4": #816fea,
|
|
559
|
+
"q5": #6f5ed3,
|
|
560
|
+
"q6": #5e4eba,
|
|
561
|
+
"q7": #483a9c
|
|
562
|
+
)
|
|
563
|
+
),
|
|
531
564
|
"growth": (
|
|
532
565
|
"education": (
|
|
533
566
|
"decorative": (
|
|
@@ -538,6 +571,7 @@ $theme: (
|
|
|
538
571
|
"opportunity": (
|
|
539
572
|
"background": (
|
|
540
573
|
"base": #6f5ed3,
|
|
574
|
+
"secondary": #273333,
|
|
541
575
|
"hover": #c1c1f7
|
|
542
576
|
),
|
|
543
577
|
"button": (
|
|
@@ -587,6 +621,11 @@ $theme: (
|
|
|
587
621
|
"hover": #6f5ed3
|
|
588
622
|
)
|
|
589
623
|
)
|
|
624
|
+
),
|
|
625
|
+
"user": (
|
|
626
|
+
"status": (
|
|
627
|
+
"online": #0ca750
|
|
628
|
+
)
|
|
590
629
|
)
|
|
591
630
|
),
|
|
592
631
|
"cardControl": (
|
|
@@ -791,6 +830,7 @@ $theme: (
|
|
|
791
830
|
"opportunity": (
|
|
792
831
|
"background": (
|
|
793
832
|
"base": #6f5ed3,
|
|
833
|
+
"secondary": #273333,
|
|
794
834
|
"hover": #c1c1f7
|
|
795
835
|
),
|
|
796
836
|
"button": (
|
|
@@ -840,6 +880,33 @@ $theme: (
|
|
|
840
880
|
"hover": #6f5ed3
|
|
841
881
|
)
|
|
842
882
|
)
|
|
883
|
+
),
|
|
884
|
+
"user": (
|
|
885
|
+
"status": (
|
|
886
|
+
"online": #0ca750
|
|
887
|
+
)
|
|
888
|
+
)
|
|
889
|
+
),
|
|
890
|
+
"listening": (
|
|
891
|
+
"topicTypes": (
|
|
892
|
+
"customTopic": #56adf5,
|
|
893
|
+
"brandHealth": #ff7f6e,
|
|
894
|
+
"industryInsights": #75dd66,
|
|
895
|
+
"competitiveAnalysis": #ffd943,
|
|
896
|
+
"campaignAnalysis": #f282f5,
|
|
897
|
+
"eventMonitoring": #33d6e2,
|
|
898
|
+
"featuredTopic": #75dd66
|
|
899
|
+
),
|
|
900
|
+
"worldMap": (
|
|
901
|
+
"empty": #dee1e1,
|
|
902
|
+
"q0": #d8d7f9,
|
|
903
|
+
"q1": #c1c1f7,
|
|
904
|
+
"q2": #a193f2,
|
|
905
|
+
"q3": #9180f4,
|
|
906
|
+
"q4": #816fea,
|
|
907
|
+
"q5": #6f5ed3,
|
|
908
|
+
"q6": #5e4eba,
|
|
909
|
+
"q7": #483a9c
|
|
843
910
|
)
|
|
844
911
|
),
|
|
845
912
|
"navigation": (
|
|
@@ -847,6 +914,9 @@ $theme: (
|
|
|
847
914
|
"background": (
|
|
848
915
|
"base": #273333,
|
|
849
916
|
"overflowGradient": #162020
|
|
917
|
+
),
|
|
918
|
+
"border": (
|
|
919
|
+
"base": #162020
|
|
850
920
|
)
|
|
851
921
|
),
|
|
852
922
|
"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
|
@@ -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: {
|
|
@@ -66,6 +69,28 @@ export var analytics = {
|
|
|
66
69
|
}
|
|
67
70
|
}
|
|
68
71
|
};
|
|
72
|
+
export var listening = {
|
|
73
|
+
topicTypes: {
|
|
74
|
+
customTopic: baseDarkTheme.colors.teal[400],
|
|
75
|
+
brandHealth: baseDarkTheme.colors.red[400],
|
|
76
|
+
industryInsights: baseDarkTheme.colors.green[400],
|
|
77
|
+
competitiveAnalysis: baseDarkTheme.colors.yellow[400],
|
|
78
|
+
campaignAnalysis: baseDarkTheme.colors.magenta[400],
|
|
79
|
+
eventMonitoring: baseDarkTheme.colors.aqua[400],
|
|
80
|
+
featuredTopic: baseDarkTheme.colors.green[400]
|
|
81
|
+
},
|
|
82
|
+
worldMap: {
|
|
83
|
+
empty: baseDarkTheme.colors.neutral[200],
|
|
84
|
+
q0: baseDarkTheme.colors.purple[200],
|
|
85
|
+
q1: baseDarkTheme.colors.purple[300],
|
|
86
|
+
q2: baseDarkTheme.colors.purple[400],
|
|
87
|
+
q3: baseDarkTheme.colors.purple[500],
|
|
88
|
+
q4: baseDarkTheme.colors.purple[600],
|
|
89
|
+
q5: baseDarkTheme.colors.purple[700],
|
|
90
|
+
q6: baseDarkTheme.colors.purple[800],
|
|
91
|
+
q7: baseDarkTheme.colors.purple[900]
|
|
92
|
+
}
|
|
93
|
+
};
|
|
69
94
|
export var growth = {
|
|
70
95
|
education: {
|
|
71
96
|
decorative: {
|
|
@@ -76,6 +101,7 @@ export var growth = {
|
|
|
76
101
|
opportunity: {
|
|
77
102
|
background: {
|
|
78
103
|
base: baseDarkTheme.colors.purple[700],
|
|
104
|
+
secondary: baseDarkTheme.colors.neutral[700],
|
|
79
105
|
hover: baseDarkTheme.colors.purple[500]
|
|
80
106
|
},
|
|
81
107
|
button: {
|
|
@@ -126,6 +152,11 @@ export var growth = {
|
|
|
126
152
|
hover: baseDarkTheme.colors.purple[700]
|
|
127
153
|
}
|
|
128
154
|
}
|
|
155
|
+
},
|
|
156
|
+
user: {
|
|
157
|
+
status: {
|
|
158
|
+
online: baseDarkTheme.colors.green[700]
|
|
159
|
+
}
|
|
129
160
|
}
|
|
130
161
|
};
|
|
131
162
|
export var cardControl = {
|
|
@@ -144,6 +175,7 @@ var darkTheme = _extends({}, baseDarkTheme, {
|
|
|
144
175
|
navigation: navigation,
|
|
145
176
|
datePicker: datePicker,
|
|
146
177
|
analytics: analytics,
|
|
178
|
+
listening: listening,
|
|
147
179
|
growth: growth,
|
|
148
180
|
cardControl: cardControl
|
|
149
181
|
})
|
|
@@ -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: {
|
|
@@ -66,6 +69,28 @@ export var analytics = {
|
|
|
66
69
|
}
|
|
67
70
|
}
|
|
68
71
|
};
|
|
72
|
+
export var listening = {
|
|
73
|
+
topicTypes: {
|
|
74
|
+
customTopic: baseLightTheme.colors.blue[400],
|
|
75
|
+
brandHealth: baseLightTheme.colors.red[400],
|
|
76
|
+
industryInsights: baseLightTheme.colors.green[400],
|
|
77
|
+
competitiveAnalysis: baseLightTheme.colors.yellow[400],
|
|
78
|
+
campaignAnalysis: baseLightTheme.colors.magenta[400],
|
|
79
|
+
eventMonitoring: baseLightTheme.colors.aqua[400],
|
|
80
|
+
featuredTopic: baseLightTheme.colors.green[400]
|
|
81
|
+
},
|
|
82
|
+
worldMap: {
|
|
83
|
+
empty: baseLightTheme.colors.neutral[200],
|
|
84
|
+
q0: baseLightTheme.colors.purple[200],
|
|
85
|
+
q1: baseLightTheme.colors.purple[300],
|
|
86
|
+
q2: baseLightTheme.colors.purple[400],
|
|
87
|
+
q3: baseLightTheme.colors.purple[500],
|
|
88
|
+
q4: baseLightTheme.colors.purple[600],
|
|
89
|
+
q5: baseLightTheme.colors.purple[700],
|
|
90
|
+
q6: baseLightTheme.colors.purple[800],
|
|
91
|
+
q7: baseLightTheme.colors.purple[900]
|
|
92
|
+
}
|
|
93
|
+
};
|
|
69
94
|
export var growth = {
|
|
70
95
|
education: {
|
|
71
96
|
decorative: {
|
|
@@ -76,6 +101,7 @@ export var growth = {
|
|
|
76
101
|
opportunity: {
|
|
77
102
|
background: {
|
|
78
103
|
base: baseLightTheme.colors.purple[700],
|
|
104
|
+
secondary: baseLightTheme.colors.neutral[900],
|
|
79
105
|
hover: baseLightTheme.colors.purple[300]
|
|
80
106
|
},
|
|
81
107
|
button: {
|
|
@@ -126,6 +152,11 @@ export var growth = {
|
|
|
126
152
|
hover: baseLightTheme.colors.purple[700]
|
|
127
153
|
}
|
|
128
154
|
}
|
|
155
|
+
},
|
|
156
|
+
user: {
|
|
157
|
+
status: {
|
|
158
|
+
online: baseLightTheme.colors.green[700]
|
|
159
|
+
}
|
|
129
160
|
}
|
|
130
161
|
};
|
|
131
162
|
export var cardControl = {
|
|
@@ -144,6 +175,7 @@ var lightTheme = _extends({}, baseLightTheme, {
|
|
|
144
175
|
navigation: navigation,
|
|
145
176
|
datePicker: datePicker,
|
|
146
177
|
analytics: analytics,
|
|
178
|
+
listening: listening,
|
|
147
179
|
growth: growth,
|
|
148
180
|
cardControl: cardControl
|
|
149
181
|
})
|
|
@@ -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, cardControl } from "../themes/extendedThemes/sproutTheme/light/theme";
|
|
2
|
+
import { datePicker, navigation, analytics, listening, growth, cardControl } from "../themes/extendedThemes/sproutTheme/light/theme";
|