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

Issue 723047 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: ----

Blocking:
issue 723025



Sign in to add a comment

[Snowflake] Unify NTP & tab switcher text styles

Project Member Reported by k...@chromium.org, May 16 2017

Issue description

We would like to unify NTP & tab switcher text styles:
+ Change Learn more text link/ string at bottom of NTP to regular instead of italic
+ Frequently visited tiles to Material Secondary Grey - 54% black - #8A000000
+ Tab switcher titles to Material Gray 900 (87%)

Spec: https://docs.google.com/document/d/1kTibP9GcfWUt_PGtmSWkIRdlozeIepuZZr7Jotw5Qs8/edit
Tracker: https://docs.google.com/spreadsheets/d/1TJthSNjqaraTKgmNy2vVvW4GiZn0_j8r0ssGjV9Zvkg/edit#gid=0

 

Comment 1 by k...@chromium.org, May 16 2017

Cc: rachelis@chromium.org

Comment 2 by k...@chromium.org, May 16 2017

Cc: hannahs@chromium.org

Comment 3 by k...@chromium.org, May 17 2017

Owner: huayinz@chromium.org
Status: Assigned (was: Available)
Can you take a look?
This should be fine on our side. Kingston and Hannah - have you already checked accessibility for the frequently visited tiles text?
Yes! All these text styles have an approved contrast ratio.
Awesome, thanks!
There was a typo for:
+ Tab switcher titles to Material Gray 900 (87%)

Should be:
+ Tab switcher titles to Material Gray 600 (87%)

Hi hannah,
Could you clarify:
+ Tab switcher titles to Material Gray 600 (87%)

Should it be 54% instead (i.e. #8A000000)? 
Sorry, I think there's some confusion about the Material color numbering. The 6000 or 900 refers to this color palette:
https://material.googleplex.com/style/color.html#color-color-palette

Which I think is different to how it's coded.

TL;DR

Ignore the number "Material" number, please follow only the transparency percentages:
 
87% black: #DE000000
54% black: #8A000000
38% Black: #61000000

Thanks!!
Project Member

Comment 10 by bugdroid1@chromium.org, May 30 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e2c96f726dffb1ba319a3ed7d4da8aa0c1156fb2

commit e2c96f726dffb1ba319a3ed7d4da8aa0c1156fb2
Author: huayinz <huayinz@chromium.org>
Date: Tue May 30 18:21:51 2017

Unify toolbar, NTP, and tab switcher text styles

+ Change omnibox URL path text to 38% black
+ Change omnibox status 'Offline' text to 54% black
+ Change omnibox 'Search or type URL' text to 38% black
+ Change omnibox selected and suggestions to 87% black
+ Move color constants in SuggestionView and AnswerTextBuilder to color.xml
+ Change NTP 'learn more' text to regular font
+ Change Frequently visited tiles to 54% black
+ Change tab switcher titles to 87% black

BUG= 723042 , 723047 
R=twellington@chromium.org

Review-Url: https://codereview.chromium.org/2896883003
Cr-Commit-Position: refs/heads/master@{#475602}

[modify] https://crrev.com/e2c96f726dffb1ba319a3ed7d4da8aa0c1156fb2/chrome/android/java/res/layout/new_tab_page_footer.xml
[modify] https://crrev.com/e2c96f726dffb1ba319a3ed7d4da8aa0c1156fb2/chrome/android/java/res/values/colors.xml
[modify] https://crrev.com/e2c96f726dffb1ba319a3ed7d4da8aa0c1156fb2/chrome/android/java/src/org/chromium/chrome/browser/omnibox/AnswerTextBuilder.java
[modify] https://crrev.com/e2c96f726dffb1ba319a3ed7d4da8aa0c1156fb2/chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionView.java

Status: Fixed (was: Assigned)
Sorry to ask for the extra step, but can you add a quick screenshot when marking a bug as fixed just for posterity?
Screenshots after changes
ntp_learn_more.png
402 KB View Download
frequently_visited_tiles.png
356 KB View Download
tab_switcher_titles.png
451 KB View Download
Perfect!!! Thank you so much!!!! <3 Verified by me :)

(Also as a part of bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=723040
the "learn more" link in the bottom of the NTP will have to change to #3367D6 to meet accessibility standards - not sure if it's easier to batch change this, but just letting you know in case you want to change it now!

Thanks again so much!!! You're blazing fast!

Thanks!

Sign in to add a comment