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

Unified Diff: third_party/polymer/v0_8/components/paper-styles/color.html

Issue 1082403004: Import Polymer 0.8 and several key elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also remove polymer/explainer Created 5 years, 8 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: third_party/polymer/v0_8/components/paper-styles/color.html
diff --git a/third_party/polymer/v0_8/components/paper-styles/color.html b/third_party/polymer/v0_8/components/paper-styles/color.html
new file mode 100644
index 0000000000000000000000000000000000000000..43e9ce21397e36080ed61a250e047d4a70da8913
--- /dev/null
+++ b/third_party/polymer/v0_8/components/paper-styles/color.html
@@ -0,0 +1,56 @@
+<!--
+ @license
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
+ Code distributed by Google as part of the polymer project is also
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
+-->
+
+<link rel="import" href="../polymer/polymer.html">
+
+<style is="x-style">
+
+ * {
+
+ --google-red-100: #f4c7c3;
+ --google-red-300: #e67c73;
+ --google-red-500: #db4437;
+ --google-red-700: #c53929;
+
+ --google-blue-100: #c6dafc;
+ --google-blue-300: #7baaf7;
+ --google-blue-500: #4285f4;
+ --google-blue-700: #3367d6;
+
+ --google-green-100: #b7e1cd;
+ --google-green-300: #57bb8a;
+ --google-green-500: #0f9d58;
+ --google-green-700: #0b8043;
+
+ --google-yellow-100: #fce8b2;
+ --google-yellow-300: #f7cb4d;
+ --google-yellow-500: #f4b400;
+ --google-yellow-700: #f09300;
+
+ --google-grey-100: #f5f5f5;
+ --google-grey-300: #e0e0e0;
+ --google-grey-500: #9e9e9e;
+ --google-grey-700: #616161;
+
+ /* opacity for dark text on a light background */
+ --dark-divider-opacity: 12%;
+ --dark-disabled-opacity: 26%; /* or hint text */
+ --dark-secondary-opacity: 54%; /* or icon */
+ --dark-primary-opacity: 87%;
+
+ /* opacity for light text on a dark background */
+ --light-divider-opacity: 12%;
+ --light-disabled-opacity: 30%; /* or hint text */
+ --light-secondary-opacity: 70%; /* or icon */
+ --light-primary-opacity: 100%;
+
+ }
+
+</style>

Powered by Google App Engine
This is Rietveld 408576698