New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 884062 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit 15 days ago
Closed: Sep 24
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Background tab text color contrast calculations ignore background tab tint

Project Member Reported by pkasting@chromium.org, Sep 14

Issue description

Load the attached unpacked test theme.  Note that background tab text is unreadable.

I wonder if the core problem here is that we don't compute the background tab color correctly when there's a tint but no manually-set image or color.  We seem to be computing text color to contrast against the frame color, instead of the (now tinted) background tab color.

Probably not worth trying to get into the next 69 respin, but we should at least merge to 70.
 
manifest.json
168 bytes View Download
Well, I'm speaking as a user but...

I loaded the theme on my Chromium.
That theme is really, really bad.
See attached screenshot for how it looks.

One question though. It seems that when the tab strip or active tab has a light color as background, then the font is a gray closer to black. While if the tab strip or ative tab has a dark background, the font is a gray closer to white.

While I'm currently fine with that, would it be possible to change it so that for dark background it uses #FFFFFF White and for light backgrounds it uses #000000 Black?

I could file a separate bug for this request though.
Screenshot from 2018-09-15 22-35-46.png
3.8 KB View Download
You can make your own custom theme using whichever foreground and background colors you like.
Status: Started (was: Assigned)
Labels: -Proj-MdRefresh Proj-DesktopUI
Status: Fixed (was: Started)

Sign in to add a comment