From be74490df37914edef6d4f16986306f517aecf73 Mon Sep 17 00:00:00 2001 From: frankiefu Date: Tue, 17 Dec 2013 08:51:23 -0800 Subject: [PATCH] update to use ui-iconset --- bower.json | 3 +- metadata.html | 3 - polymer-ui-icon.css | 12 --- polymer-ui-icon.html | 188 +++++++++++++++--------------------------- polymer-ui-icons.html | 15 ++++ smoke.html | 3 +- 6 files changed, 86 insertions(+), 138 deletions(-) create mode 100644 polymer-ui-icons.html diff --git a/bower.json b/bower.json index 1b16666..3f7ce14 100644 --- a/bower.json +++ b/bower.json @@ -3,6 +3,7 @@ "private": true, "dependencies": { "polymer": "Polymer/polymer#master", - "polymer-ui-theme-aware": "Polymer/polymer-ui-theme-aware#master" + "polymer-ui-theme-aware": "Polymer/polymer-ui-theme-aware#master", + "polymer-ui-iconset": "Polymer/polymer-ui-iconset#master" } } \ No newline at end of file diff --git a/metadata.html b/metadata.html index b530cb3..79773ff 100644 --- a/metadata.html +++ b/metadata.html @@ -3,9 +3,6 @@ - - - diff --git a/polymer-ui-icon.css b/polymer-ui-icon.css index 154f5b2..d1f5c68 100644 --- a/polymer-ui-icon.css +++ b/polymer-ui-icon.css @@ -10,15 +10,3 @@ license that can be found in the LICENSE file. cursor: pointer; background-repeat: no-repeat; } - -:host(.polymer-ui-dark-icon:host, .polymer-ui-light-theme:host) { - background-position: -24px 0; -} - -:host(.polymer-ui-light-icon:host, .polymer-ui-dark-theme:host) { - background-position: -72px 0; -} - -:host(.polymer-ui-icons:host) { - background-image: url(action-icons.png); -} \ No newline at end of file diff --git a/polymer-ui-icon.html b/polymer-ui-icon.html index 5dc4270..b5a051a 100644 --- a/polymer-ui-icon.html +++ b/polymer-ui-icon.html @@ -28,141 +28,87 @@ * * * + * See polymer-ui-iconset on how to use + * your own icon set. + * * @class polymer-ui-icon */ --> + + diff --git a/polymer-ui-icons.html b/polymer-ui-icons.html new file mode 100644 index 0000000..91a79e1 --- /dev/null +++ b/polymer-ui-icons.html @@ -0,0 +1,15 @@ + + + + + + + \ No newline at end of file diff --git a/smoke.html b/smoke.html index 9e569bd..c7c7d58 100644 --- a/smoke.html +++ b/smoke.html @@ -29,9 +29,10 @@ +