Commit 9dc987a8 authored by derat's avatar derat Committed by Commit bot

chromeos: Increase WebUI font size to 80% for Roboto.

The IDS_WEB_FONT_SIZE resource specifies a percentage-based
font size used in WebUI pages (e.g. settings or history).
The previous value of 75% was appropriate for Noto Sans UI
(the old default font), but Roboto (the default as of M42)
is smaller. Increase the size to 80% so to make it more
legible and to match the font used in the tab strip and in
context menus.

BUG=479731

Review URL: https://codereview.chromium.org/1109223003

Cr-Commit-Position: refs/heads/master@{#327564}
parent cbcd3c15
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</if> </if>
<!-- For Chrome OS --> <!-- For Chrome OS -->
<if expr="chromeos"> <if expr="chromeos">
<!-- The font name like: 'Font Name, 10' --> <!-- The font name like: 'Font Name, 12px' -->
<message name="IDS_UI_FONT_FAMILY_CROS" use_name_for_id="true"> <message name="IDS_UI_FONT_FAMILY_CROS" use_name_for_id="true">
Noto Sans UI, 13px Noto Sans UI, 13px
</message> </message>
...@@ -265,8 +265,12 @@ ...@@ -265,8 +265,12 @@
</message> </message>
<!-- The relative font size in % used in Web UI (e.g. History). --> <!-- The relative font size in % used in Web UI (e.g. History). -->
<!-- TODO(xdai): 80% is an appropriate size for Roboto, which is the
default as of M42, rather than for Noto Sans UI. This comment
should be deleted when the old Noto Sans UI code is removed; see
http://crbug.com/482042. -->
<message name="IDS_WEB_FONT_SIZE" use_name_for_id="true"> <message name="IDS_WEB_FONT_SIZE" use_name_for_id="true">
75% 80%
</message> </message>
</if> </if>
</messages> </messages>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment