LP#1966342: (follow-up) adjust for color contrast
authorGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 01:58:12 +0000 (21:58 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 01:58:12 +0000 (21:58 -0400)
The default Bootstrap text-light color on a bg-info background
fails the WCAG color contrast ratio; letting the text default
to black meets level AA.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.html

index 13eec62..3e386b7 100644 (file)
           *ngFor="let copyCount of getHoldingsSummaries(); let copyIdx = index"
                  [ngClass]="{
             'text-dark bg-warning' : copyCount.count == 0 && (copyCount.transcendant == 0 || !copyCount.transcendant),
-                       'text-light bg-info' : copyCount.count == 0
+                       'bg-info' : copyCount.count == 0
             }">
           <div class="float-left text-left w-50">
             <span class="pr-1">