| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 library theme_typography; |
| 6 |
| 5 // See http://www.google.com/design/spec/style/typography.html | 7 // See http://www.google.com/design/spec/style/typography.html |
| 6 | 8 |
| 7 const String _display4 = 'font-size: 112px; font-weight: 300'; | 9 const String _display4 = 'font-size: 112px; font-weight: 300'; |
| 8 const String _display3 = 'font-size: 56px; font-weight: 400'; | 10 const String _display3 = 'font-size: 56px; font-weight: 400'; |
| 9 const String _display2 = 'font-size: 45px; font-weight: 400'; | 11 const String _display2 = 'font-size: 45px; font-weight: 400'; |
| 10 const String _display1 = 'font-size: 34px; font-weight: 400'; | 12 const String _display1 = 'font-size: 34px; font-weight: 400'; |
| 11 const String _headline = 'font-size: 24px; font-weight: 400'; | 13 const String _headline = 'font-size: 24px; font-weight: 400'; |
| 12 const String _title = 'font-size: 20px; font-weight: 500'; | 14 const String _title = 'font-size: 20px; font-weight: 500'; |
| 13 const String _subhead = 'font-size: 16px; font-weight: 400'; | 15 const String _subhead = 'font-size: 16px; font-weight: 400'; |
| 14 const String _body2 = 'font-size: 14px; font-weight: 500'; | 16 const String _body2 = 'font-size: 14px; font-weight: 500'; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 final String caption = 'color: #8A8A8A; ${_caption}'; // 54% | 49 final String caption = 'color: #8A8A8A; ${_caption}'; // 54% |
| 48 final String button = 'color: #DEDEDE; ${_button}'; // 87% | 50 final String button = 'color: #DEDEDE; ${_button}'; // 87% |
| 49 | 51 |
| 50 const _White(); | 52 const _White(); |
| 51 } | 53 } |
| 52 | 54 |
| 53 const _White white = const _White(); | 55 const _White white = const _White(); |
| 54 | 56 |
| 55 // TODO(abarth): Maybe this should be hard-coded in Scaffold? | 57 // TODO(abarth): Maybe this should be hard-coded in Scaffold? |
| 56 const String typeface = 'font-family: sans-serif'; | 58 const String typeface = 'font-family: sans-serif'; |
| OLD | NEW |