Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: ui/webui/resources/css/roboto.css

Issue 1142893002: Add Roboto-Medium webfont and factor out common Roboto WebUI CSS file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/css/roboto.css
diff --git a/ui/webui/resources/css/roboto.css b/ui/webui/resources/css/roboto.css
new file mode 100644
index 0000000000000000000000000000000000000000..558593eae6d704ec7c0bb91256e59a12290ded85
--- /dev/null
+++ b/ui/webui/resources/css/roboto.css
@@ -0,0 +1,21 @@
+/* Copyright 2015 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file. */
+@font-face {
michaelpg 2015/05/19 03:21:57 nit: newline above declaration block
tsergeant 2015/05/19 03:35:59 Done.
+ font-family: 'Roboto';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Roboto'), local('Roboto-Regular'),
+ url(chrome://resources/roboto/roboto-regular-latin.woff2) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC,
michaelpg 2015/05/19 03:21:57 this is a very different set than the other CSS fi
tsergeant 2015/05/19 03:35:59 The unicode-range from the old files was actually
michaelpg 2015/05/19 07:21:27 Great, thanks for explaining. Glad to have this al
+ U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
+}
+@font-face {
michaelpg 2015/05/19 03:21:57 same nit
tsergeant 2015/05/19 03:35:59 Done.
+ font-family: 'Roboto';
+ font-style: normal;
+ font-weight: 500;
+ src: local('Roboto Medium'), local('Roboto-Medium'),
+ url(chrome://resources/roboto/roboto-medium-latin.woff2) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC,
+ U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
+}
« no previous file with comments | « components/proximity_auth/webui/resources/proximity_auth.html ('k') | ui/webui/resources/roboto/roboto.woff » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698