Skip to content

Commit 2893c2b

Browse files
committed
Specify text color to improve dark theme support, refs #1128
1 parent 948bb4a commit 2893c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Monolog/Formatter/HtmlFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected function addRow($th, $td = ' ', $escapeTd = true)
5858
$td = '<pre>'.htmlspecialchars($td, ENT_NOQUOTES, 'UTF-8').'</pre>';
5959
}
6060

61-
return "<tr style=\"padding: 4px;text-align: left;\">\n<th style=\"vertical-align: top;background: #cccccc\" width=\"100\">$th:</th>\n<td style=\"padding: 4px;text-align: left;vertical-align: top;background: #eeeeee\">".$td."</td>\n</tr>";
61+
return "<tr style=\"padding: 4px;text-align: left;\">\n<th style=\"vertical-align: top;background: #ccc;color: #000\" width=\"100\">$th:</th>\n<td style=\"padding: 4px;text-align: left;vertical-align: top;background: #eee;color: #000\">".$td."</td>\n</tr>";
6262
}
6363

6464
/**

0 commit comments

Comments
 (0)