3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
11 <link rel=
"import" href=
"../polymer/polymer.html">
12 <link rel=
"import" href=
"../font-roboto/roboto.html">
14 <style is=
"custom-style">
21 Unfortunately, we can't use nested rules
22 See https://github.com/Polymer/polymer/issues/
1399
24 --paper-font-common-base: {
25 font-family: 'Roboto', 'Noto', sans-serif;
26 -webkit-font-smoothing: antialiased;
29 --paper-font-common-code: {
30 font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
31 -webkit-font-smoothing: antialiased;
34 --paper-font-common-expensive-kerning: {
35 text-rendering: optimizeLegibility;
38 --paper-font-common-nowrap: {
41 text-overflow: ellipsis;
44 /* Material Font Styles */
46 --paper-font-display4: {
47 /* @apply(--paper-font-common-base) */
48 font-family: 'Roboto', 'Noto', sans-serif;
49 -webkit-font-smoothing: antialiased;
50 /* @apply(--paper-font-common-expensive-kerning); */
51 text-rendering: optimizeLegibility;
52 /* @apply(--paper-font-common-nowrap); */
55 text-overflow: ellipsis;
59 letter-spacing: -
.044em;
63 --paper-font-display3: {
64 /* @apply(--paper-font-common-base) */
65 font-family: 'Roboto', 'Noto', sans-serif;
66 -webkit-font-smoothing: antialiased;
67 /* @apply(--paper-font-common-expensive-kerning); */
68 text-rendering: optimizeLegibility;
69 /* @apply(--paper-font-common-nowrap); */
72 text-overflow: ellipsis;
76 letter-spacing: -
.026em;
80 --paper-font-display2: {
81 /* @apply(--paper-font-common-base) */
82 font-family: 'Roboto', 'Noto', sans-serif;
83 -webkit-font-smoothing: antialiased;
84 /* @apply(--paper-font-common-expensive-kerning); */
85 text-rendering: optimizeLegibility;
89 letter-spacing: -
.018em;
93 --paper-font-display1: {
94 /* @apply(--paper-font-common-base) */
95 font-family: 'Roboto', 'Noto', sans-serif;
96 -webkit-font-smoothing: antialiased;
97 /* @apply(--paper-font-common-expensive-kerning); */
98 text-rendering: optimizeLegibility;
102 letter-spacing: -
.01em;
106 --paper-font-headline: {
107 /* @apply(--paper-font-common-base) */
108 font-family: 'Roboto', 'Noto', sans-serif;
109 -webkit-font-smoothing: antialiased;
110 /* @apply(--paper-font-common-expensive-kerning); */
111 text-rendering: optimizeLegibility;
115 letter-spacing: -
.012em;
119 --paper-font-title: {
120 /* @apply(--paper-font-common-base) */
121 font-family: 'Roboto', 'Noto', sans-serif;
122 -webkit-font-smoothing: antialiased;
123 /* @apply(--paper-font-common-expensive-kerning); */
124 text-rendering: optimizeLegibility;
125 /* @apply(--paper-font-common-nowrap); */
128 text-overflow: ellipsis;
135 --paper-font-subhead: {
136 /* @apply(--paper-font-common-base) */
137 font-family: 'Roboto', 'Noto', sans-serif;
138 -webkit-font-smoothing: antialiased;
139 /* @apply(--paper-font-common-expensive-kerning); */
140 text-rendering: optimizeLegibility;
147 --paper-font-body2: {
148 /* @apply(--paper-font-common-base) */
149 font-family: 'Roboto', 'Noto', sans-serif;
150 -webkit-font-smoothing: antialiased;
157 --paper-font-body1: {
158 /* @apply(--paper-font-common-base) */
159 font-family: 'Roboto', 'Noto', sans-serif;
160 -webkit-font-smoothing: antialiased;
167 --paper-font-caption: {
168 /* @apply(--paper-font-common-base) */
169 font-family: 'Roboto', 'Noto', sans-serif;
170 -webkit-font-smoothing: antialiased;
171 /* @apply(--paper-font-common-nowrap); */
174 text-overflow: ellipsis;
178 letter-spacing:
0.011em;
183 /* @apply(--paper-font-common-base) */
184 font-family: 'Roboto', 'Noto', sans-serif;
185 -webkit-font-smoothing: antialiased;
186 /* @apply(--paper-font-common-expensive-kerning); */
187 text-rendering: optimizeLegibility;
188 /* @apply(--paper-font-common-nowrap); */
191 text-overflow: ellipsis;
198 --paper-font-button: {
199 /* @apply(--paper-font-common-base) */
200 font-family: 'Roboto', 'Noto', sans-serif;
201 -webkit-font-smoothing: antialiased;
202 /* @apply(--paper-font-common-expensive-kerning); */
203 text-rendering: optimizeLegibility;
204 /* @apply(--paper-font-common-nowrap); */
207 text-overflow: ellipsis;
211 letter-spacing:
0.018em;
213 text-transform: uppercase;
216 --paper-font-code2: {
217 /* @apply(--paper-font-common-code); */
218 font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
219 -webkit-font-smoothing: antialiased;
226 --paper-font-code1: {
227 /* @apply(--paper-font-common-code); */
228 font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
229 -webkit-font-smoothing: antialiased;