13419-Fix text color in Agents/alert view dark theme

This commit is contained in:
Pablo Aragon 2024-04-11 10:55:55 +02:00
parent aaa3761a86
commit 60974019aa
3 changed files with 3 additions and 1 deletions

View File

@ -685,7 +685,7 @@ class AgentsAlerts extends HTML
$alias = db_get_row('tagente', 'id_agente', $agent['id_agente']);
echo '<tr>';
// Name of the agent.
echo '<td style="text-align: left;font-weight: bold;color: #3f3f3f;">'.$alias['alias'].'</td>';
echo '<td style="text-align: left;font-weight: bold;color: var(--text-color-4);">'.$alias['alias'].'</td>';
// Alerts of the agent.
foreach ($templates as $tid => $tname) {
$anyfired = 0;

View File

@ -35,6 +35,7 @@
--text-color: #333;
--text-color-2: #161628;
--text-color-3: #454545;
--text-color-4: #3f3f3f;
--background-main-color: #f6f7fb;

View File

@ -28,6 +28,7 @@ Description: The default Pandora FMS theme layout
--text-color: #fff;
--text-color-2: #ededed;
--text-color-3: #d5d5d5;
--text-color-4: #dddddd;
--background-main-color: #f6f7fb;
--background-2: #95a3bf;