Skip to content

Fix severity indicator contrast in the Cacti theme - #441

Merged
TheWitness merged 2 commits into
developfrom
fix/cacti-theme-status-contrast
Oct 26, 2026
Merged

TheWitness merged 2 commits into
developfrom
fix/cacti-theme-status-contrast

Conversation

@somethingwithproof

Copy link
Copy Markdown
Member

Description

Use brighter green and red severity dots on dark details titlebars, and darker warning and unknown markers on light table rows. Header background colors remain the same. All four severity indicators meet 3:1 contrast on their respective surfaces.

Related Issue

Fixes #440.

Motivation and Context

The old green and red dots measured 1.83:1 and 1.67:1 against the details titlebar. Warning and unknown markers also fell below 3:1 on light rows. Separate colors for titlebar dots and row markers keep status visible on each background.

How Has This Been Tested?

Four Chromium browser tests passed, covering all four severity colors on white, odd, and even rows. A seeded E2E fixture displays device measurements and opens and closes the real jQuery UI details dialog. Regression assertions fail against the original stylesheet. Changed CSS coverage is 6/6 lines (100%), enforced by the browser job using Cacti's pinned, existing Playwright tooling and coverage reporter. This measures changed CSS lines, not whole-plugin coverage. Manifest, workflow lint, and whitespace checks passed.

README and validation docs include screenshots generated from synthetic monitoring data, with device names, ping times, poller totals, and actual warning/error text.

Screenshots

Seeded dashboard

Alert details

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change

Checklist

  • Code follows the project style.
  • Documentation and screenshots are included.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

@TheWitness
TheWitness merged commit 3e92eeb into develop Oct 26, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cacti theme severity indicators have insufficient contrast

2 participants