Closed fgarofalo10 closed 8 years ago
@fgarofalo10 there is no brand gray in between white and off white: https://github.com/Esri/calcite-colors/blob/master/scss/variables.scss#L95
That said, we mix $white
and $off-white
to get #fcfcfc
for the hover state of tabs, so we've used this color before. I wonder if we should add this color to the palette (maybe as $Calcite_Gray_075
?)
Doing this makes the stripe very subtle:
Not sure if that is too subtle? Another option would be making links inside a striped table darker blue. The easiest way to do that would be to add a link-dark-blue
modifier class.
@kyle-03674 @bstifle thoughts on the additional color, added to the palette?
I'm not sure the lighter gray background helps here. I like the solution in #649 where the button fill became white, but the row fill was the same. The row fill, as @paulcpederson says, is very subtle, so subtle than many displays would blow out that detail and just look "white." In fact, on many displays, $Calcite_Gray_100
might not even show.
Is there a problem to leaving tables as they are? Maybe I missed something
@kyle-03674 the accessibility compliance issue also occurs with a blue link <a href="#">
(#0079c1) against the current gray of a striped table row .table-striped tr:nth-child(even) td { background-color: #f8f8f8; }
my proposal is to use #fcfcfc which the color contrast passes WCAG 2.0 AA compliance for text/link color of #0079c1 in the foreground and #fcfcfc as the background
ok, I've elected to just make the links $dark-blue
which passes AA #661
ok
will be part of next release
related to https://github.com/Esri/calcite-web/issues/649
Perhaps the actual issue is the gray background for
.table-striped tr:nth-child(even) td { background-color: #f8f8f8; }
WCAG passes AA for blue text of #0079c1 if the background color is #fcfcfc
.table-striped tr:nth-child(even) td { background-color: #fcfcfc; }
@nikolaswise @paulcpederson @alansangma