← Back to issue list

Support chart colours aren't dark-mode friendly

View original Github issue

Metadata

Project
snapcraft
Number
#6161
Type
issue
State
open
Author
medubelko
Labels
Type: Bug
Created
Updated
Closed
—

Current evaluation

Docs bug: support chart in docs/reference/support-schedule.rst uses hardcoded black/dark fills (#111, #56334b) for Pro bars and release milestones, unreadable in dark mode. Open fix PR #6169 adds CSS custom properties.

Suggested action: keep open

Reason: Confirmed still unfixed at HEAD: docs/_static/css/support-chart.css still hardcodes `.chart__bar--black { fill: #111; }` and `.chart__milestone-release { fill: #56334b; }`, and docs/_static/js/support-chart.js assigns `style: "chart__bar--black"` for the Pro/Legacy legend entry, so the reporter's complaint is accurate and the CSS/JS pair has no dark-mode handling (file history shows only the original #5911 add plus a label/date fix #6158). PR #6169 ('docs: fix support chart colours for dark mode', adding --chart-pro-fill/--chart-milestone-color variables) is open and unreviewed, so the issue is valid and should stay open until that lands. Impact is limited to documentation legibility, hence a modest score, but the fix is trivial and already implemented, keeping complexity very low.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 22 Complexity: 15 Confidence: 88 Actionability: 88

Issue body

### Check existing issues - [x] I've verified that this request isn't described by any existing issues. ### Request ## Situation In the support chart, the release milestones and legacy add-on commitment is coloured black, which doesn't render well in dark mode. <img width="1262" height="340" alt="Image" src="https://github.com/user-attachments/assets/9b41e217-abde-476a-9a33-2ffe08e59f69" /> ## Request Use standard Canonical colours instead, that have sufficient contrast for both modes. ### Document location https://documentation.ubuntu.com/snapcraft/stable/reference/support-schedule/

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 30
Quick Win: 22
Complexity: 15
Confidence: 88
Actionability: 88
keep open Docs bug: support chart in docs/reference/support-schedule.rst uses hardcoded black/dark fills (#111, #56334b) for Pro bars and release milestones, unreadable in dark mode. Open fix PR #6169 adds CSS custom properties.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 19
Complexity: 20
Confidence: 85
Actionability: 80
keep open Support chart colours in documentation are black and don't render well in dark mode; a fix PR (#6169) exists but is still open awaiting review.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 16
Staleness: 55
Complexity: 20
Confidence: 80
Support Request: 0
keep open Support-schedule chart in snapcraft docs renders release milestones and legacy add-on commitment in near-black (#111), unreadable in dark mode. Fix requested: Canonical colours with contrast for both modes. Unfixed; black fill still in support-chart.css, no activity since filing.
qwen/qwen3.6-35b-a3b
Staleness: 70
Complexity: 10
Confidence: 85
Support Request: 0
needs triage Support chart on documentation site uses black text that lacks contrast in dark mode. Open for 105 days with no maintainer comments or activity.
qwen3.6-35b-a3b-mtp-q6
Staleness: 65
Complexity: 15
Confidence: 85
Support Request: 5
needs triage Support chart uses black text that lacks contrast in dark mode. Reported by a maintainer with a screenshot and link to the affected documentation page. Awaiting team triage.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#6169 (confidence 90%)

    Open PR adds dark-mode CSS custom properties (--chart-pro-fill #aea79f, --chart-milestone-color #cd7c97) for the Pro bars and release milestones in docs/_static/css/support-chart.css; CLA passing, awaiting review.

  • Related To: canonical/snapcraft#5911 (confidence 70%)

    Commit ee3db180a 'docs: add support schedule and support chart (#5911)' introduced support-chart.js/.css with the hardcoded dark colours this issue flags.

Related issues

Issue Project State Summary Similarity
#6169 docs: fix support chart colours for dark mode snapcraft open Docs-only CSS fix: adds dark-mode custom properties (--chart-pro-fill #aea79f, --chart-milestone-color #cd7c97) so Pro/Legacy bars and milestone markers in the support chart are visible; light mode unchanged. CLA passing, no reviewers yet.
84%