Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3347031
D3916.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3916.diff
View Options
diff --git a/web/chat/chat-input-bar.css b/web/chat/chat-input-bar.css
--- a/web/chat/chat-input-bar.css
+++ b/web/chat/chat-input-bar.css
@@ -82,12 +82,8 @@
margin: 0;
padding: 0;
}
-
-a.multimediaUpload > svg {
- color: var(--color-disabled);
-}
a.multimediaUpload:hover > svg {
- color: var(--fg);
+ opacity: 0.8;
}
div.previews {
@@ -107,7 +103,3 @@
padding: 8px 0 0 10px;
cursor: pointer;
}
-
-a.sendButton svg {
- color: var(--fg);
-}
diff --git a/web/chat/chat-input-bar.react.js b/web/chat/chat-input-bar.react.js
--- a/web/chat/chat-input-bar.react.js
+++ b/web/chat/chat-input-bar.react.js
@@ -226,7 +226,11 @@
if (this.props.inputState.draft.length) {
sendButton = (
<a onClick={this.onSend} className={css.sendButton}>
- <SWMansionIcon icon="send" size={22} color="#8a8a8a" />
+ <SWMansionIcon
+ icon="send"
+ size={22}
+ style={{ color: `#${this.props.threadInfo.color}` }}
+ />
</a>
);
}
@@ -245,7 +249,12 @@
accept={allowedMimeTypeString}
multiple
/>
- <SWMansionIcon icon="image" size={22} disableFill />
+ <SWMansionIcon
+ icon="image"
+ size={22}
+ style={{ color: `#${this.props.threadInfo.color}` }}
+ disableFill
+ />
</a>
<div className={css.inputBarTextInput}>
<textarea
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 10:48 AM (19 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2570286
Default Alt Text
D3916.diff (1 KB)
Attached To
Mode
D3916: [web] Match `ChatInputBar` icon colors with thread color
Attached
Detach File
Event Timeline
Log In to Comment