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

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

Issue 1220793010: [ui/base;css] adding string template expression replacement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review changes Created 5 years, 5 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.css
diff --git a/ui/webui/resources/css/text_defaults.css b/ui/webui/resources/css/text_defaults.css
index 1af823bf961c4fbb298200f3473e848d1c187951..037ade7efb1ba8ba3cf1594976eff8b7f2822e3f 100644
--- a/ui/webui/resources/css/text_defaults.css
+++ b/ui/webui/resources/css/text_defaults.css
@@ -16,14 +16,14 @@
* Otherwise its $placeholders won't be expanded. */
html {
- direction: $1;
+ direction: ${textDirection};
}
body {
- font-family: $2;
- font-size: $3;
+ font-family: ${fontFamily};
+ font-size: ${fontSize};
}
button {
- font-family: $2;
+ font-family: ${fontFamily};
}
« chrome/browser/resources/ntp4/new_tab_theme.css ('K') | « ui/base/webui/web_ui_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698