@zohoim/chat-components 1.1.1 → 1.1.2-beta.1
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/README.md +5 -1
- package/assets/Appearance/dark/mode/General_DarkMode.module.css +93 -0
- package/assets/Appearance/dark/themes/blue/blue_General_DarkTheme.module.css +40 -0
- package/assets/Appearance/dark/themes/green/green_General_DarkTheme.module.css +40 -0
- package/assets/Appearance/dark/themes/orange/orange_General_DarkTheme.module.css +40 -0
- package/assets/Appearance/dark/themes/red/red_General_DarkTheme.module.css +40 -0
- package/assets/Appearance/dark/themes/yellow/yellow_General_DarkTheme.module.css +40 -0
- package/assets/Appearance/light/mode/General_LightMode.module.css +93 -0
- package/assets/Appearance/light/themes/blue/blue_General_LightTheme.module.css +40 -0
- package/assets/Appearance/light/themes/green/green_General_LightTheme.module.css +40 -0
- package/assets/Appearance/light/themes/orange/orange_General_LightTheme.module.css +40 -0
- package/assets/Appearance/light/themes/red/red_General_LightTheme.module.css +40 -0
- package/assets/Appearance/light/themes/yellow/yellow_General_LightTheme.module.css +40 -0
- package/assets/Appearance/pureDark/mode/General_PureDarkMode.module.css +93 -0
- package/assets/Appearance/pureDark/themes/blue/blue_General_PureDarkTheme.module.css +40 -0
- package/assets/Appearance/pureDark/themes/green/green_General_PureDarkTheme.module.css +40 -0
- package/assets/Appearance/pureDark/themes/orange/orange_General_PureDarkTheme.module.css +40 -0
- package/assets/Appearance/pureDark/themes/red/red_General_PureDarkTheme.module.css +40 -0
- package/assets/Appearance/pureDark/themes/yellow/yellow_General_PureDarkTheme.module.css +40 -0
- package/es/ActionIconWrapper/ActionIconWrapper.js +5 -1
- package/es/AttachmentHandler/AttachmentHandler.js +3 -0
- package/es/AttachmentHandler/css/AttachmentHandler.module.css +2 -2
- package/es/AttachmentPreviewBody/css/AttachmentPreviewBody.module.css +4 -8
- package/es/AttachmentPreviewHeader/css/AttachmentPreviewHeader.module.css +4 -4
- package/es/Emoji/Emoji.js +5 -1
- package/es/EmojiPopup/EmojiPopup.js +4 -1
- package/es/EmojiPopup/css/EmojiPopup.module.css +2 -2
- package/es/EmojisFooter/css/EmojisFooter.module.css +3 -4
- package/es/EmojisHeader/css/EmojisHeader.module.css +3 -3
- package/es/MessageActions/MessageActions.js +3 -1
- package/es/MessageActions/props/propTypes.js +2 -1
- package/es/MessageBubble/MessageBubble.js +20 -4
- package/es/MoreActionItem/MoreActionItem.js +4 -0
- package/es/TextBubble/TextBubble.js +5 -2
- package/es/TextBubble/css/TextBubble.module.css +1 -0
- package/es/Theme/ThemeAssets.js +18 -0
- package/es/Theme/ThemeWrapper.js +7 -5
- package/es/Theme/utils/getThemeConfigurations.js +1 -55
- package/es/im/IMIntegrationIcon/css/IMIntegrationIcon.module.css +2 -2
- package/es/im/ReplyEditor/css/ReplyEditor.module.css +4 -4
- package/lib/index.js +538 -0
- package/package.json +18 -11
- package/es/Theme/themeVariables/commonThemeColorVariable.js +0 -17
- package/es/Theme/themeVariables/dark/blueTheme.js +0 -133
- package/es/Theme/themeVariables/dark/commonColorVariable.js +0 -35
- package/es/Theme/themeVariables/dark/greenTheme.js +0 -132
- package/es/Theme/themeVariables/dark/orangeTheme.js +0 -132
- package/es/Theme/themeVariables/dark/redTheme.js +0 -132
- package/es/Theme/themeVariables/dark/yellowTheme.js +0 -132
- package/es/Theme/themeVariables/light/blueTheme.js +0 -135
- package/es/Theme/themeVariables/light/commonColorVariable.js +0 -54
- package/es/Theme/themeVariables/light/greenTheme.js +0 -131
- package/es/Theme/themeVariables/light/orangeTheme.js +0 -131
- package/es/Theme/themeVariables/light/redTheme.js +0 -131
- package/es/Theme/themeVariables/light/yellowTheme.js +0 -131
- package/es/Theme/themeVariables/pureDark/blueTheme.js +0 -132
- package/es/Theme/themeVariables/pureDark/commonColorVariable.js +0 -37
- package/es/Theme/themeVariables/pureDark/greenTheme.js +0 -132
- package/es/Theme/themeVariables/pureDark/orangeTheme.js +0 -132
- package/es/Theme/themeVariables/pureDark/redTheme.js +0 -132
- package/es/Theme/themeVariables/pureDark/yellowTheme.js +0 -132
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, messagetextColor, primaryYellow, white, black, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, imIntegrationIcon, imTtIcon, replyEditor, emojisHeader, attachmentPreviewHeader, emojiPopup } from "./commonColorVariable";
|
|
3
|
-
export default {
|
|
4
|
-
library: 'chat_components',
|
|
5
|
-
variables: {
|
|
6
|
-
actionIconWrapper: {
|
|
7
|
-
color: actionIconWrapperColor,
|
|
8
|
-
bg_color: '#fdf8e9',
|
|
9
|
-
border_color: '#f6e3a7'
|
|
10
|
-
},
|
|
11
|
-
attachmentBubble: {
|
|
12
|
-
bg_color: white,
|
|
13
|
-
bg_color_failed: failedBg,
|
|
14
|
-
border_color: '#ebf0f5',
|
|
15
|
-
border_color_failed: failedBdr
|
|
16
|
-
},
|
|
17
|
-
attachmentBubbleInfo: {
|
|
18
|
-
fileName_color: black,
|
|
19
|
-
fileName_color_failed: failedColor,
|
|
20
|
-
fileSize_color: '#5a616f',
|
|
21
|
-
fileSize_color_failed: '#788190'
|
|
22
|
-
},
|
|
23
|
-
articleBubble: {
|
|
24
|
-
bg_color: white,
|
|
25
|
-
bg_color_failed: failedBg,
|
|
26
|
-
border_color: '#ebf0f5',
|
|
27
|
-
border_color_failed: failedBdr,
|
|
28
|
-
title_color: black,
|
|
29
|
-
title_color_failed: failedColor,
|
|
30
|
-
summary_color: black,
|
|
31
|
-
summary_color_failed: failedColor
|
|
32
|
-
},
|
|
33
|
-
imAutoMessageInfo: {
|
|
34
|
-
text_color: '#737376'
|
|
35
|
-
},
|
|
36
|
-
imIntegrationIcon,
|
|
37
|
-
imTtIcon,
|
|
38
|
-
imMessageContent: {
|
|
39
|
-
text_color: '#5a616f'
|
|
40
|
-
},
|
|
41
|
-
imMessageMeta: {
|
|
42
|
-
time_color: '#5a616f'
|
|
43
|
-
},
|
|
44
|
-
imPermaLink: {
|
|
45
|
-
url_color: primaryYellow
|
|
46
|
-
},
|
|
47
|
-
imageBubble: {
|
|
48
|
-
bg_color: white,
|
|
49
|
-
bg_color_failed: failedBg,
|
|
50
|
-
alt_text_color: black,
|
|
51
|
-
alt_text_color_failed: failedColor,
|
|
52
|
-
border_color: '#ebf0f5',
|
|
53
|
-
border_color_failed: failedBdr
|
|
54
|
-
},
|
|
55
|
-
locationBubble: {
|
|
56
|
-
bg_color: white,
|
|
57
|
-
bg_color_failed: failedBg,
|
|
58
|
-
border_color: '#ebf0f5',
|
|
59
|
-
border_color_failed: failedBdr,
|
|
60
|
-
url_color: primaryYellow,
|
|
61
|
-
url_color_failed: failedUrlColor
|
|
62
|
-
},
|
|
63
|
-
messageBox: {
|
|
64
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
65
|
-
outgoing_bg_color: '#fdf8e9',
|
|
66
|
-
bg_color: '#f1f7fe',
|
|
67
|
-
failed_bg_color: failedBgWrapper,
|
|
68
|
-
text_color: messagetextColor
|
|
69
|
-
},
|
|
70
|
-
messageBubble: {
|
|
71
|
-
active_bg_color: bubbleActiveBgColor,
|
|
72
|
-
messageBox_footer_text_color: '#5a616f'
|
|
73
|
-
},
|
|
74
|
-
messageStatus: {
|
|
75
|
-
send_color: messageStatusSendColor,
|
|
76
|
-
read_color: '#b68c07',
|
|
77
|
-
failed_color: messageStatusFailedColor
|
|
78
|
-
},
|
|
79
|
-
replyBubble: {
|
|
80
|
-
border_color: '#ebf0f5',
|
|
81
|
-
border_color_failed: failedBdr
|
|
82
|
-
},
|
|
83
|
-
replyBubbleContent: {
|
|
84
|
-
bg_color: white,
|
|
85
|
-
bg_color_failed: failedBg,
|
|
86
|
-
border_color: '#ebf0f5',
|
|
87
|
-
border_color_failed: failedBdr,
|
|
88
|
-
line_color: '#cddbf2',
|
|
89
|
-
line_color_failed: failedLine,
|
|
90
|
-
sender_color: black,
|
|
91
|
-
sender_color_failed: failedColor,
|
|
92
|
-
content_color: '#5a616f',
|
|
93
|
-
content_color_failed: failedColor
|
|
94
|
-
},
|
|
95
|
-
replyBubbleHeader: {
|
|
96
|
-
text_color: black,
|
|
97
|
-
text_color_failed: failedColor,
|
|
98
|
-
time_color: '#61667a',
|
|
99
|
-
time_color_failed: failedColor
|
|
100
|
-
},
|
|
101
|
-
textBubble: {
|
|
102
|
-
text_color: black,
|
|
103
|
-
text_color_failed: failedColor,
|
|
104
|
-
see_more_color: primaryYellow,
|
|
105
|
-
see_more_color_failed: failedUrlColor,
|
|
106
|
-
url_color: primaryYellow,
|
|
107
|
-
url_color_failed: failedUrlColor
|
|
108
|
-
},
|
|
109
|
-
videoBubble: {
|
|
110
|
-
border_color: '#ebf0f5',
|
|
111
|
-
border_color_failed: failedBdr
|
|
112
|
-
},
|
|
113
|
-
emojiFooter: {
|
|
114
|
-
tabLine: primaryYellow,
|
|
115
|
-
border_color: '#ebf0f5'
|
|
116
|
-
},
|
|
117
|
-
replyEditor,
|
|
118
|
-
emojisHeader,
|
|
119
|
-
attachmentPreviewHeader,
|
|
120
|
-
attachmentPreviewBody: {
|
|
121
|
-
bg_color: '#f5f6f7',
|
|
122
|
-
editor_border_color: '#ccc2a4',
|
|
123
|
-
editor_border_hover_color: '#788190',
|
|
124
|
-
editor_border_active_color: '#e8b923'
|
|
125
|
-
},
|
|
126
|
-
emojiPopup: { ...emojiPopup,
|
|
127
|
-
ttIcon_path1_color: 'rgba(204, 203, 199, 0.7)',
|
|
128
|
-
ttIcon_path2_color: 'var(--dot_black)'
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
};
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryBlue, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, replyEditor, emojiPopup, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
|
-
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
|
-
export default {
|
|
5
|
-
library: 'chat_components',
|
|
6
|
-
variables: {
|
|
7
|
-
actionIconWrapper: {
|
|
8
|
-
color: actionIconWrapperColor,
|
|
9
|
-
bg_color: '#252d37',
|
|
10
|
-
border_color: '#2c4664'
|
|
11
|
-
},
|
|
12
|
-
attachmentBubble: {
|
|
13
|
-
bg_color: '#212121',
|
|
14
|
-
bg_color_failed: failedBg,
|
|
15
|
-
border_color: '#161515',
|
|
16
|
-
border_color_failed: failedBdr
|
|
17
|
-
},
|
|
18
|
-
attachmentBubbleInfo: {
|
|
19
|
-
fileName_color: '#e2e4e6',
|
|
20
|
-
fileName_color_failed: failedColor,
|
|
21
|
-
fileSize_color: '#999',
|
|
22
|
-
fileSize_color_failed: '#788190'
|
|
23
|
-
},
|
|
24
|
-
articleBubble: {
|
|
25
|
-
bg_color: '#212121',
|
|
26
|
-
bg_color_failed: failedBg,
|
|
27
|
-
border_color: '#161515',
|
|
28
|
-
border_color_failed: failedBdr,
|
|
29
|
-
title_color: '#e2e4e6',
|
|
30
|
-
title_color_failed: failedColor,
|
|
31
|
-
summary_color: '#e2e4e6',
|
|
32
|
-
summary_color_failed: failedColor
|
|
33
|
-
},
|
|
34
|
-
imAutoMessageInfo: {
|
|
35
|
-
text_color: '#999'
|
|
36
|
-
},
|
|
37
|
-
imIntegrationIcon,
|
|
38
|
-
imTtIcon,
|
|
39
|
-
imMessageContent: {
|
|
40
|
-
text_color: '#a8b0bd'
|
|
41
|
-
},
|
|
42
|
-
imMessageMeta: {
|
|
43
|
-
time_color: '#999'
|
|
44
|
-
},
|
|
45
|
-
imPermaLink: {
|
|
46
|
-
url_color: '#479dff'
|
|
47
|
-
},
|
|
48
|
-
imageBubble: {
|
|
49
|
-
bg_color: '#212121',
|
|
50
|
-
bg_color_failed: failedBg,
|
|
51
|
-
alt_text_color: '#e2e4e6',
|
|
52
|
-
alt_text_color_failed: failedColor,
|
|
53
|
-
border_color: '#161515',
|
|
54
|
-
border_color_failed: failedBdr
|
|
55
|
-
},
|
|
56
|
-
locationBubble: {
|
|
57
|
-
bg_color: '#212121',
|
|
58
|
-
bg_color_failed: failedBg,
|
|
59
|
-
border_color: '#161515',
|
|
60
|
-
border_color_failed: failedBdr,
|
|
61
|
-
url_color: primaryBlue,
|
|
62
|
-
url_color_failed: failedUrlColor
|
|
63
|
-
},
|
|
64
|
-
messageBox: {
|
|
65
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
66
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
67
|
-
bg_color: '#f1f7fe',
|
|
68
|
-
failed_bg_color: failedBgWrapper,
|
|
69
|
-
text_color: messagetextColor
|
|
70
|
-
},
|
|
71
|
-
messageBubble: {
|
|
72
|
-
active_bg_color: bubbleActiveBgColor,
|
|
73
|
-
messageBox_footer_text_color: '#5a616f'
|
|
74
|
-
},
|
|
75
|
-
messageStatus: {
|
|
76
|
-
send_color: messageStatusSendColor,
|
|
77
|
-
read_color: '#479dff',
|
|
78
|
-
failed_color: messageStatusFailedColor
|
|
79
|
-
},
|
|
80
|
-
replyBubble: {
|
|
81
|
-
border_color: '#161515',
|
|
82
|
-
border_color_failed: failedBdr
|
|
83
|
-
},
|
|
84
|
-
replyBubbleContent: {
|
|
85
|
-
bg_color: '#212121',
|
|
86
|
-
bg_color_failed: failedBg,
|
|
87
|
-
border_color: '#161515',
|
|
88
|
-
border_color_failed: failedBdr,
|
|
89
|
-
line_color: '#cddbf2',
|
|
90
|
-
line_color_failed: failedLine,
|
|
91
|
-
sender_color: '#e2e4e6',
|
|
92
|
-
sender_color_failed: failedColor,
|
|
93
|
-
content_color: '#e2e4e6',
|
|
94
|
-
content_color_failed: failedColor
|
|
95
|
-
},
|
|
96
|
-
replyBubbleHeader: {
|
|
97
|
-
text_color: '#e2e4e6',
|
|
98
|
-
text_color_failed: failedColor,
|
|
99
|
-
time_color: '#828994',
|
|
100
|
-
time_color_failed: failedColor
|
|
101
|
-
},
|
|
102
|
-
textBubble: {
|
|
103
|
-
text_color: '#e2e4e6',
|
|
104
|
-
text_color_failed: failedColor,
|
|
105
|
-
see_more_color: primaryBlue,
|
|
106
|
-
see_more_color_failed: failedUrlColor,
|
|
107
|
-
url_color: primaryBlue,
|
|
108
|
-
url_color_failed: failedUrlColor
|
|
109
|
-
},
|
|
110
|
-
videoBubble: {
|
|
111
|
-
border_color: '#161515',
|
|
112
|
-
border_color_failed: failedBdr
|
|
113
|
-
},
|
|
114
|
-
emojiFooter: {
|
|
115
|
-
tabLine: primaryBlue,
|
|
116
|
-
border_color: '#161515'
|
|
117
|
-
},
|
|
118
|
-
replyEditor,
|
|
119
|
-
emojiPopup: { ...emojiPopup,
|
|
120
|
-
ttIcon_path1_color: 'rgba(255, 255, 255, 0.15)',
|
|
121
|
-
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
122
|
-
},
|
|
123
|
-
emojisHeader,
|
|
124
|
-
attachmentPreviewHeader,
|
|
125
|
-
attachmentPreviewBody: {
|
|
126
|
-
bg_color: '#262626',
|
|
127
|
-
editor_border_color: '#585858',
|
|
128
|
-
editor_border_hover_color: '#828994',
|
|
129
|
-
editor_border_active_color: '#479dff'
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export const incomingBubbleBgColor = '#2e2e2e';
|
|
2
|
-
export const outgoingBubbleBgColor = '#2e2e2e';
|
|
3
|
-
export const bubbleActiveBgColor = '#202821';
|
|
4
|
-
export const actionIconWrapperColor = '#e2e4e6';
|
|
5
|
-
export const messageStatusSendColor = '#61667a';
|
|
6
|
-
export const messageStatusFailedColor = '#de3535';
|
|
7
|
-
export const messagetextColor = '#e2e4e6';
|
|
8
|
-
export const primaryBlue = '#479dff';
|
|
9
|
-
export const primaryGreen = '#45a159';
|
|
10
|
-
export const primaryOrange = '#ff801f';
|
|
11
|
-
export const primaryRed = '#e94f4f';
|
|
12
|
-
export const primaryYellow = '#d79835';
|
|
13
|
-
export const failedBgWrapper = '#6b323f';
|
|
14
|
-
export const failedBg = '#362530';
|
|
15
|
-
export const failedBdr = '#290000';
|
|
16
|
-
export const failedLine = '#290000';
|
|
17
|
-
export const failedColor = '#e2e4e6';
|
|
18
|
-
export const failedUrlColor = '#479dff';
|
|
19
|
-
export const emojiPopup = {
|
|
20
|
-
bg: '#f1f4f9',
|
|
21
|
-
border: '#f1f4f9',
|
|
22
|
-
titleColor: '#aaa'
|
|
23
|
-
};
|
|
24
|
-
export const replyEditor = {
|
|
25
|
-
bg: '#212121',
|
|
26
|
-
color: '#e2e4e6',
|
|
27
|
-
placeholder: '#585858'
|
|
28
|
-
};
|
|
29
|
-
export const emojisHeader = {
|
|
30
|
-
bg_color: '#171717',
|
|
31
|
-
border_color: '#161515'
|
|
32
|
-
};
|
|
33
|
-
export const attachmentPreviewHeader = {
|
|
34
|
-
bg_color: '#212121',
|
|
35
|
-
name_color: '#e2e4e6',
|
|
36
|
-
size_color: '#a8b0bd'
|
|
37
|
-
};
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryGreen, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
|
-
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
|
-
export default {
|
|
5
|
-
library: 'chat_components',
|
|
6
|
-
variables: {
|
|
7
|
-
actionIconWrapper: {
|
|
8
|
-
color: actionIconWrapperColor,
|
|
9
|
-
bg_color: '#252e27',
|
|
10
|
-
border_color: '#2c4732'
|
|
11
|
-
},
|
|
12
|
-
attachmentBubble: {
|
|
13
|
-
bg_color: '#212121',
|
|
14
|
-
bg_color_failed: failedBg,
|
|
15
|
-
border_color: '#161515',
|
|
16
|
-
border_color_failed: failedBdr
|
|
17
|
-
},
|
|
18
|
-
attachmentBubbleInfo: {
|
|
19
|
-
fileName_color: '#e2e4e6',
|
|
20
|
-
fileName_color_failed: failedColor,
|
|
21
|
-
fileSize_color: '#999',
|
|
22
|
-
fileSize_color_failed: '#788190'
|
|
23
|
-
},
|
|
24
|
-
articleBubble: {
|
|
25
|
-
bg_color: '#212121',
|
|
26
|
-
bg_color_failed: failedBg,
|
|
27
|
-
border_color: '#161515',
|
|
28
|
-
border_color_failed: failedBdr,
|
|
29
|
-
title_color: '#e2e4e6',
|
|
30
|
-
title_color_failed: failedColor,
|
|
31
|
-
summary_color: '#e2e4e6',
|
|
32
|
-
summary_color_failed: failedColor
|
|
33
|
-
},
|
|
34
|
-
imAutoMessageInfo: {
|
|
35
|
-
text_color: '#999'
|
|
36
|
-
},
|
|
37
|
-
imIntegrationIcon,
|
|
38
|
-
imTtIcon,
|
|
39
|
-
imMessageContent: {
|
|
40
|
-
text_color: '#a8b0bd'
|
|
41
|
-
},
|
|
42
|
-
imMessageMeta: {
|
|
43
|
-
time_color: '#999'
|
|
44
|
-
},
|
|
45
|
-
imPermaLink: {
|
|
46
|
-
url_color: '#45a159'
|
|
47
|
-
},
|
|
48
|
-
imageBubble: {
|
|
49
|
-
bg_color: '#212121',
|
|
50
|
-
bg_color_failed: failedBg,
|
|
51
|
-
alt_text_color: '#e2e4e6',
|
|
52
|
-
alt_text_color_failed: failedColor,
|
|
53
|
-
border_color: '#161515',
|
|
54
|
-
border_color_failed: failedBdr
|
|
55
|
-
},
|
|
56
|
-
locationBubble: {
|
|
57
|
-
bg_color: '#212121',
|
|
58
|
-
bg_color_failed: failedBg,
|
|
59
|
-
border_color: '#161515',
|
|
60
|
-
border_color_failed: failedBdr,
|
|
61
|
-
url_color: primaryGreen,
|
|
62
|
-
url_color_failed: failedUrlColor
|
|
63
|
-
},
|
|
64
|
-
messageBox: {
|
|
65
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
66
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
67
|
-
bg_color: '#f1f7fe',
|
|
68
|
-
failed_bg_color: failedBgWrapper,
|
|
69
|
-
text_color: messagetextColor
|
|
70
|
-
},
|
|
71
|
-
messageBubble: {
|
|
72
|
-
active_bg_color: bubbleActiveBgColor,
|
|
73
|
-
messageBox_footer_text_color: '#5a616f'
|
|
74
|
-
},
|
|
75
|
-
messageStatus: {
|
|
76
|
-
send_color: messageStatusSendColor,
|
|
77
|
-
read_color: '#45a159',
|
|
78
|
-
failed_color: messageStatusFailedColor
|
|
79
|
-
},
|
|
80
|
-
replyBubble: {
|
|
81
|
-
border_color: '#161515',
|
|
82
|
-
border_color_failed: failedBdr
|
|
83
|
-
},
|
|
84
|
-
replyBubbleContent: {
|
|
85
|
-
bg_color: '#212121',
|
|
86
|
-
bg_color_failed: failedBg,
|
|
87
|
-
border_color: '#161515',
|
|
88
|
-
border_color_failed: failedBdr,
|
|
89
|
-
line_color: '#cddbf2',
|
|
90
|
-
line_color_failed: failedLine,
|
|
91
|
-
sender_color: '#e2e4e6',
|
|
92
|
-
sender_color_failed: failedColor,
|
|
93
|
-
content_color: '#e2e4e6',
|
|
94
|
-
content_color_failed: failedColor
|
|
95
|
-
},
|
|
96
|
-
replyBubbleHeader: {
|
|
97
|
-
text_color: '#e2e4e6',
|
|
98
|
-
text_color_failed: failedColor,
|
|
99
|
-
time_color: '#828994',
|
|
100
|
-
time_color_failed: failedColor
|
|
101
|
-
},
|
|
102
|
-
textBubble: {
|
|
103
|
-
text_color: '#e2e4e6',
|
|
104
|
-
text_color_failed: failedColor,
|
|
105
|
-
see_more_color: primaryGreen,
|
|
106
|
-
see_more_color_failed: failedUrlColor,
|
|
107
|
-
url_color: primaryGreen,
|
|
108
|
-
url_color_failed: failedUrlColor
|
|
109
|
-
},
|
|
110
|
-
videoBubble: {
|
|
111
|
-
border_color: '#161515',
|
|
112
|
-
border_color_failed: failedBdr
|
|
113
|
-
},
|
|
114
|
-
emojiFooter: {
|
|
115
|
-
tabLine: primaryGreen,
|
|
116
|
-
border_color: '#161515'
|
|
117
|
-
},
|
|
118
|
-
replyEditor,
|
|
119
|
-
emojiPopup: { ...emojiPopup,
|
|
120
|
-
ttIcon_path1_color: 'rgba(255, 255, 255, 0.15)',
|
|
121
|
-
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
122
|
-
},
|
|
123
|
-
emojisHeader,
|
|
124
|
-
attachmentPreviewHeader,
|
|
125
|
-
attachmentPreviewBody: {
|
|
126
|
-
bg_color: '#262626',
|
|
127
|
-
editor_border_color: '#585858',
|
|
128
|
-
editor_border_hover_color: '#828994',
|
|
129
|
-
editor_border_active_color: '#45a159'
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
};
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryOrange, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
|
-
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
|
-
export default {
|
|
5
|
-
library: 'chat_components',
|
|
6
|
-
variables: {
|
|
7
|
-
actionIconWrapper: {
|
|
8
|
-
color: actionIconWrapperColor,
|
|
9
|
-
bg_color: '#312821',
|
|
10
|
-
border_color: '#4d3421'
|
|
11
|
-
},
|
|
12
|
-
attachmentBubble: {
|
|
13
|
-
bg_color: '#212121',
|
|
14
|
-
bg_color_failed: failedBg,
|
|
15
|
-
border_color: '#161515',
|
|
16
|
-
border_color_failed: failedBdr
|
|
17
|
-
},
|
|
18
|
-
attachmentBubbleInfo: {
|
|
19
|
-
fileName_color: '#e2e4e6',
|
|
20
|
-
fileName_color_failed: failedColor,
|
|
21
|
-
fileSize_color: '#999',
|
|
22
|
-
fileSize_color_failed: '#788190'
|
|
23
|
-
},
|
|
24
|
-
articleBubble: {
|
|
25
|
-
bg_color: '#212121',
|
|
26
|
-
bg_color_failed: failedBg,
|
|
27
|
-
border_color: '#161515',
|
|
28
|
-
border_color_failed: failedBdr,
|
|
29
|
-
title_color: '#e2e4e6',
|
|
30
|
-
title_color_failed: failedColor,
|
|
31
|
-
summary_color: '#e2e4e6',
|
|
32
|
-
summary_color_failed: failedColor
|
|
33
|
-
},
|
|
34
|
-
imAutoMessageInfo: {
|
|
35
|
-
text_color: '#999'
|
|
36
|
-
},
|
|
37
|
-
imIntegrationIcon,
|
|
38
|
-
imTtIcon,
|
|
39
|
-
imMessageContent: {
|
|
40
|
-
text_color: '#a8b0bd'
|
|
41
|
-
},
|
|
42
|
-
imMessageMeta: {
|
|
43
|
-
time_color: '#999'
|
|
44
|
-
},
|
|
45
|
-
imPermaLink: {
|
|
46
|
-
url_color: '#ff801f'
|
|
47
|
-
},
|
|
48
|
-
imageBubble: {
|
|
49
|
-
bg_color: '#212121',
|
|
50
|
-
bg_color_failed: failedBg,
|
|
51
|
-
alt_text_color: '#e2e4e6',
|
|
52
|
-
alt_text_color_failed: failedColor,
|
|
53
|
-
border_color: '#161515',
|
|
54
|
-
border_color_failed: failedBdr
|
|
55
|
-
},
|
|
56
|
-
locationBubble: {
|
|
57
|
-
bg_color: '#212121',
|
|
58
|
-
bg_color_failed: failedBg,
|
|
59
|
-
border_color: '#161515',
|
|
60
|
-
border_color_failed: failedBdr,
|
|
61
|
-
url_color: primaryOrange,
|
|
62
|
-
url_color_failed: failedUrlColor
|
|
63
|
-
},
|
|
64
|
-
messageBox: {
|
|
65
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
66
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
67
|
-
bg_color: '#f1f7fe',
|
|
68
|
-
failed_bg_color: failedBgWrapper,
|
|
69
|
-
text_color: messagetextColor
|
|
70
|
-
},
|
|
71
|
-
messageBubble: {
|
|
72
|
-
active_bg_color: bubbleActiveBgColor,
|
|
73
|
-
messageBox_footer_text_color: '#5a616f'
|
|
74
|
-
},
|
|
75
|
-
messageStatus: {
|
|
76
|
-
send_color: messageStatusSendColor,
|
|
77
|
-
read_color: '#ff801f',
|
|
78
|
-
failed_color: messageStatusFailedColor
|
|
79
|
-
},
|
|
80
|
-
replyBubble: {
|
|
81
|
-
border_color: '#161515',
|
|
82
|
-
border_color_failed: failedBdr
|
|
83
|
-
},
|
|
84
|
-
replyBubbleContent: {
|
|
85
|
-
bg_color: '#212121',
|
|
86
|
-
bg_color_failed: failedBg,
|
|
87
|
-
border_color: '#161515',
|
|
88
|
-
border_color_failed: failedBdr,
|
|
89
|
-
line_color: '#cddbf2',
|
|
90
|
-
line_color_failed: failedLine,
|
|
91
|
-
sender_color: '#e2e4e6',
|
|
92
|
-
sender_color_failed: failedColor,
|
|
93
|
-
content_color: '#e2e4e6',
|
|
94
|
-
content_color_failed: failedColor
|
|
95
|
-
},
|
|
96
|
-
replyBubbleHeader: {
|
|
97
|
-
text_color: '#e2e4e6',
|
|
98
|
-
text_color_failed: failedColor,
|
|
99
|
-
time_color: '#828994',
|
|
100
|
-
time_color_failed: failedColor
|
|
101
|
-
},
|
|
102
|
-
textBubble: {
|
|
103
|
-
text_color: '#e2e4e6',
|
|
104
|
-
text_color_failed: failedColor,
|
|
105
|
-
see_more_color: primaryOrange,
|
|
106
|
-
see_more_color_failed: failedUrlColor,
|
|
107
|
-
url_color: primaryOrange,
|
|
108
|
-
url_color_failed: failedUrlColor
|
|
109
|
-
},
|
|
110
|
-
videoBubble: {
|
|
111
|
-
border_color: '#161515',
|
|
112
|
-
border_color_failed: failedBdr
|
|
113
|
-
},
|
|
114
|
-
emojiFooter: {
|
|
115
|
-
tabLine: primaryOrange,
|
|
116
|
-
border_color: '#161515'
|
|
117
|
-
},
|
|
118
|
-
emojiPopup: { ...emojiPopup,
|
|
119
|
-
ttIcon_path1_color: 'rgba(255, 255, 255, 0.15)',
|
|
120
|
-
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
121
|
-
},
|
|
122
|
-
replyEditor,
|
|
123
|
-
emojisHeader,
|
|
124
|
-
attachmentPreviewHeader,
|
|
125
|
-
attachmentPreviewBody: {
|
|
126
|
-
bg_color: '#262626',
|
|
127
|
-
editor_border_color: '#585858',
|
|
128
|
-
editor_border_hover_color: '#828994',
|
|
129
|
-
editor_border_active_color: '#ff801f'
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
};
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
import { incomingBubbleBgColor, outgoingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryRed, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor, emojiPopup, replyEditor, emojisHeader, attachmentPreviewHeader } from "./commonColorVariable";
|
|
3
|
-
import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
|
|
4
|
-
export default {
|
|
5
|
-
library: 'chat_components',
|
|
6
|
-
variables: {
|
|
7
|
-
actionIconWrapper: {
|
|
8
|
-
color: actionIconWrapperColor,
|
|
9
|
-
bg_color: '#2f2424',
|
|
10
|
-
border_color: '#492A29'
|
|
11
|
-
},
|
|
12
|
-
attachmentBubble: {
|
|
13
|
-
bg_color: '#212121',
|
|
14
|
-
bg_color_failed: failedBg,
|
|
15
|
-
border_color: '#161515',
|
|
16
|
-
border_color_failed: failedBdr
|
|
17
|
-
},
|
|
18
|
-
attachmentBubbleInfo: {
|
|
19
|
-
fileName_color: '#e2e4e6',
|
|
20
|
-
fileName_color_failed: failedColor,
|
|
21
|
-
fileSize_color: '#999',
|
|
22
|
-
fileSize_color_failed: '#788190'
|
|
23
|
-
},
|
|
24
|
-
articleBubble: {
|
|
25
|
-
bg_color: '#212121',
|
|
26
|
-
bg_color_failed: failedBg,
|
|
27
|
-
border_color: '#161515',
|
|
28
|
-
border_color_failed: failedBdr,
|
|
29
|
-
title_color: '#e2e4e6',
|
|
30
|
-
title_color_failed: failedColor,
|
|
31
|
-
summary_color: '#e2e4e6',
|
|
32
|
-
summary_color_failed: failedColor
|
|
33
|
-
},
|
|
34
|
-
imAutoMessageInfo: {
|
|
35
|
-
text_color: '#999'
|
|
36
|
-
},
|
|
37
|
-
imIntegrationIcon,
|
|
38
|
-
imTtIcon,
|
|
39
|
-
imMessageContent: {
|
|
40
|
-
text_color: '#a8b0bd'
|
|
41
|
-
},
|
|
42
|
-
imMessageMeta: {
|
|
43
|
-
time_color: '#999'
|
|
44
|
-
},
|
|
45
|
-
imPermaLink: {
|
|
46
|
-
url_color: '#e94f4f'
|
|
47
|
-
},
|
|
48
|
-
imageBubble: {
|
|
49
|
-
bg_color: '#212121',
|
|
50
|
-
bg_color_failed: failedBg,
|
|
51
|
-
alt_text_color: '#e2e4e6',
|
|
52
|
-
alt_text_color_failed: failedColor,
|
|
53
|
-
border_color: '#161515',
|
|
54
|
-
border_color_failed: failedBdr
|
|
55
|
-
},
|
|
56
|
-
locationBubble: {
|
|
57
|
-
bg_color: '#212121',
|
|
58
|
-
bg_color_failed: failedBg,
|
|
59
|
-
border_color: '#161515',
|
|
60
|
-
border_color_failed: failedBdr,
|
|
61
|
-
url_color: primaryRed,
|
|
62
|
-
url_color_failed: failedUrlColor
|
|
63
|
-
},
|
|
64
|
-
messageBox: {
|
|
65
|
-
incoming_bg_color: incomingBubbleBgColor,
|
|
66
|
-
outgoing_bg_color: outgoingBubbleBgColor,
|
|
67
|
-
bg_color: '#f1f7fe',
|
|
68
|
-
failed_bg_color: failedBgWrapper,
|
|
69
|
-
text_color: messagetextColor
|
|
70
|
-
},
|
|
71
|
-
messageBubble: {
|
|
72
|
-
active_bg_color: bubbleActiveBgColor,
|
|
73
|
-
messageBox_footer_text_color: '#5a616f'
|
|
74
|
-
},
|
|
75
|
-
messageStatus: {
|
|
76
|
-
send_color: messageStatusSendColor,
|
|
77
|
-
read_color: '#e94f4f',
|
|
78
|
-
failed_color: messageStatusFailedColor
|
|
79
|
-
},
|
|
80
|
-
replyBubble: {
|
|
81
|
-
border_color: '#161515',
|
|
82
|
-
border_color_failed: failedBdr
|
|
83
|
-
},
|
|
84
|
-
replyBubbleContent: {
|
|
85
|
-
bg_color: '#212121',
|
|
86
|
-
bg_color_failed: failedBg,
|
|
87
|
-
border_color: '#161515',
|
|
88
|
-
border_color_failed: failedBdr,
|
|
89
|
-
line_color: '#cddbf2',
|
|
90
|
-
line_color_failed: failedLine,
|
|
91
|
-
sender_color: '#e2e4e6',
|
|
92
|
-
sender_color_failed: failedColor,
|
|
93
|
-
content_color: '#e2e4e6',
|
|
94
|
-
content_color_failed: failedColor
|
|
95
|
-
},
|
|
96
|
-
replyBubbleHeader: {
|
|
97
|
-
text_color: '#e2e4e6',
|
|
98
|
-
text_color_failed: failedColor,
|
|
99
|
-
time_color: '#828994',
|
|
100
|
-
time_color_failed: failedColor
|
|
101
|
-
},
|
|
102
|
-
textBubble: {
|
|
103
|
-
text_color: '#e2e4e6',
|
|
104
|
-
text_color_failed: failedColor,
|
|
105
|
-
see_more_color: primaryRed,
|
|
106
|
-
see_more_color_failed: failedUrlColor,
|
|
107
|
-
url_color: primaryRed,
|
|
108
|
-
url_color_failed: failedUrlColor
|
|
109
|
-
},
|
|
110
|
-
videoBubble: {
|
|
111
|
-
border_color: '#161515',
|
|
112
|
-
border_color_failed: failedBdr
|
|
113
|
-
},
|
|
114
|
-
emojiFooter: {
|
|
115
|
-
tabLine: primaryRed,
|
|
116
|
-
border_color: '#161515'
|
|
117
|
-
},
|
|
118
|
-
emojiPopup: { ...emojiPopup,
|
|
119
|
-
ttIcon_path1_color: 'rgba(255, 255, 255, 0.15)',
|
|
120
|
-
ttIcon_path2_color: 'var(--dot_platinum)'
|
|
121
|
-
},
|
|
122
|
-
replyEditor,
|
|
123
|
-
emojisHeader,
|
|
124
|
-
attachmentPreviewHeader,
|
|
125
|
-
attachmentPreviewBody: {
|
|
126
|
-
bg_color: '#262626',
|
|
127
|
-
editor_border_color: '#585858',
|
|
128
|
-
editor_border_hover_color: '#828994',
|
|
129
|
-
editor_border_active_color: '#e94f4f'
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
};
|