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

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

Issue 1516233003: Incognito NTP style tweaks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reinstate Roboto and add text_defaults_md.css Created 4 years, 11 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/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};
}

Powered by Google App Engine
This is Rietveld 408576698