Look and Feel custom accent colors make links hard to read on focused rows when using the Light theme

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 10.0.0, 10.2.0, 10.5.0
    • Component/s: UI
    • None
    • 1
    • Severity 3 - Minor
    • 1

      Issue Summary

      Setting Look and Feel custom accent colors make links hard to read on focused rows in several pages. The accent colors can make links blend into the background of a focused row when using the Light theme.

      This has been reported in the Pull requests list, the file and folder list under Source (/browse), and the Commits list. 

      Steps to Reproduce

      1. Go to Administration > Look and feel.
      2. Set the Light theme Accent color to #e40c0c (red) and save.
      3. Select Light in your profile’s theme settings.
      4. Open a repository’s Pull requests list.
        Inspect a focused row.
      5. Repeat with a focused file or folder in the Source view, and a focused commit in Commits page.

      Expected Results

      Links and text remain readable when a row is focused or hovered, with sufficient contrast.

      Actual Results

      Links are difficult to read against the accent-colored row highlight.

      For example, for the red color #e40c0c in Light mode, the code generates dark red link text (#b60000) on a red focused-row background (#ff5656). 

      PR focused row

      Source view focused row

      Workaround

      Adjust the accent color that produces an acceptable contrast and keeps text readable against focused-row backgrounds.

              Assignee:
              Unassigned
              Reporter:
              JP Mariano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: