drafts: Change foreground for dark background streams in drafts modal.

In drafts modal, dark background streams still had black foreground;
This changes the foreground to white for the same.
This commit is contained in:
Vaibhav
2019-02-14 21:17:27 +05:30
committed by Tim Abbott
parent 162f06bbbb
commit 2ca8ec371e
3 changed files with 8 additions and 2 deletions

View File

@@ -7,6 +7,8 @@ zrequire('XDate', 'xdate');
zrequire('timerender');
zrequire('Handlebars', 'handlebars');
zrequire('util');
zrequire('stream_color');
zrequire('colorspace');
var ls_container = {};
var noop = function () { return; };
@@ -261,6 +263,7 @@ run_test('format_drafts', () => {
is_stream: true,
stream: 'stream',
stream_color: '#FFFFFF',
dark_background: '',
topic: 'topic',
raw_content: 'Test Stream Message',
time_stamp: '7:55 AM',
@@ -291,6 +294,7 @@ run_test('format_drafts', () => {
is_stream: true,
stream: 'stream 2',
stream_color: '#FFFFFF',
dark_background: '',
topic: 'topic',
raw_content: 'Test Stream Message 2',
time_stamp: 'Jan 21',