Index: ui/webui/resources/css/text_defaults_md.css |
diff --git a/ui/webui/resources/css/text_defaults.css b/ui/webui/resources/css/text_defaults_md.css |
similarity index 74% |
copy from ui/webui/resources/css/text_defaults.css |
copy to ui/webui/resources/css/text_defaults_md.css |
index 037ade7efb1ba8ba3cf1594976eff8b7f2822e3f..15761d1a2766430d0052b236b6a0255ed5b367cf 100644 |
--- a/ui/webui/resources/css/text_defaults.css |
+++ b/ui/webui/resources/css/text_defaults_md.css |
@@ -1,4 +1,4 @@ |
-/* Copyright 2014 The Chromium Authors. All rights reserved. |
+/* 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. */ |
@@ -9,9 +9,9 @@ |
* There are two ways to include this stylesheet: |
* 1. via its chrome://resources/ URL in HTML, i.e.: |
* |
- * <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> |
+ * <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css"> |
* |
- * 2. via the webui::AppendWebUICSSTextDefaults() method to directly append it |
+ * 2. via the webui::AppendWebUICSSTextDefaultsMD() method to directly append it |
* to an HTML string. |
* Otherwise its $placeholders won't be expanded. */ |
Dan Beam
2016/01/12 23:05:52
can we make this file pull in roboto.css automagic
edwardjung
2016/01/13 21:24:07
Yep, that works.
|
@@ -20,10 +20,10 @@ html { |
} |
body { |
- font-family: ${fontFamily}; |
+ font-family: Roboto, ${fontFamily}; |
font-size: ${fontSize}; |
} |
button { |
- font-family: ${fontFamily}; |
+ font-family: Roboto, ${fontFamily}; |
} |