OLD | NEW |
1 <!-- | 1 <!-- |
2 @license | 2 @license |
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 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.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.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/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
7 Code distributed by Google as part of the polymer project is also | 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/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
9 --> | 9 --> |
10 | 10 |
11 <link rel="import" href="../polymer/polymer.html"> | 11 <link rel="import" href="../polymer/polymer.html"> |
12 | 12 |
| 13 <!-- Taken from https://www.google.com/design/spec/style/color.html#color-ui-col
or-application --> |
| 14 |
13 <style is="custom-style"> | 15 <style is="custom-style"> |
14 | 16 |
15 :root { | 17 :root { |
| 18 /* |
| 19 * Light background theme |
| 20 */ |
| 21 --light-theme-background-color: #ffffff; |
| 22 --light-theme-base-color: #000000; |
| 23 --light-theme-text-color: #212121; |
| 24 --light-theme-secondary-color: #737373; /* for secondary text and icons */ |
| 25 --light-theme-disabled-color: #9b9b9b; /* disabled/hint text */ |
| 26 --light-theme-divider-color: #dbdbdb; |
16 | 27 |
17 --dark-primary-color: #303f9f; | 28 /* |
| 29 * Dark background theme |
| 30 */ |
| 31 --dark-theme-background-color: #212121; |
| 32 --dark-theme-base-color: #ffffff; |
| 33 --dark-theme-text-color: #ffffff; |
| 34 --dark-theme-secondary-color: #bcbcbc; /* for secondary text and icons */ |
| 35 --dark-theme-disabled-color: #646464; /* disabled/hint text */ |
| 36 --dark-theme-divider-color: #3c3c3c; |
18 | 37 |
19 --default-primary-color: #3f51b5; | 38 /* |
| 39 * Primary and accent colors. Also see color.html for more colors. |
| 40 */ |
| 41 --primary-color: #3f51b5; /* --paper-indigo-500 */ |
| 42 --light-primary-color: #c5cae9; /* --paper-indigo-100 */ |
| 43 --dark-primary-color: #303f9f; /* --paper-indigo-700 */ |
20 | 44 |
21 --light-primary-color: #c5cae9; | 45 --accent-color: #ff4081; /* --paper-pink-a200 */ |
| 46 --light-accent-color: #ff80ab; /* --paper-pink-a100 */ |
| 47 --dark-accent-color: #f50057; /* --paper-pink-a400 */ |
22 | 48 |
23 --text-primary-color: #ffffff; | 49 /* |
24 | 50 * Deprecated values because of their confusing names. |
25 --accent-color: #ff4081; | 51 */ |
26 | 52 --primary-text-color: var(--light-theme-text-color); |
27 --primary-background-color: #ffffff; | 53 --text-primary-color: var(--dark-theme-text-color); |
28 | 54 --primary-background-color: var(--light-theme-background-color); |
29 --primary-text-color: #212121; | 55 --secondary-text-color: var(--light-theme-secondary-color); |
30 | 56 --disabled-text-color:var(--light-theme-disabled-color); |
31 --secondary-text-color: #757575; | 57 --divider-color: var(--light-theme-divider-color); |
32 | 58 --default-primary-color: var(--primary-color); |
33 --disabled-text-color: #bdbdbd; | |
34 | |
35 --divider-color: #e0e0e0; | |
36 | |
37 } | 59 } |
38 | 60 |
39 </style> | 61 </style> |
OLD | NEW |