Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3378842
D3500.id10683.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
D3500.id10683.diff
View Options
diff --git a/web/chat/chat-thread-list.css b/web/chat/chat-thread-list.css
--- a/web/chat/chat-thread-list.css
+++ b/web/chat/chat-thread-list.css
@@ -32,6 +32,10 @@
color: var(--fg);
}
+div.activeThread .lastMessage.light {
+ color: var(--fg);
+}
+
div.activeThread.thread:hover {
background: var(--thread-active-bg);
}
@@ -109,7 +113,7 @@
color: var(--fg);
font-weight: var(--semi-bold);
}
-div.lastMessage.black {
+div.lastMessage.white {
color: var(--fg);
}
div.dark {
diff --git a/web/chat/message-preview.react.js b/web/chat/message-preview.react.js
--- a/web/chat/message-preview.react.js
+++ b/web/chat/message-preview.react.js
@@ -48,10 +48,10 @@
) {
const userString = stringForUser(messageInfo.creator);
const username = `${userString}: `;
- const usernameStyle = unread ? css.black : css.light;
+ const usernameStyle = unread ? css.white : css.light;
usernameText = <span className={usernameStyle}>{username}</span>;
}
- const colorStyle = unread ? css.black : css.dark;
+ const colorStyle = unread ? css.white : css.light;
return (
<div className={classNames(css.lastMessage, colorStyle)}>
{usernameText}
@@ -59,7 +59,7 @@
</div>
);
} else {
- const colorStyle = unread ? css.black : css.light;
+ const colorStyle = unread ? css.white : css.light;
return (
<div className={classNames([css.lastMessage, colorStyle])}>
{messageTitle}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 28, 1:31 PM (22 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2593792
Default Alt Text
D3500.id10683.diff (1 KB)
Attached To
Mode
D3500: [web] [refactor] css color should be white
Attached
Detach File
Event Timeline
Log In to Comment