core-icon & designer question

115 views
Skip to first unread message

Martin Amm

unread,
Jul 3, 2014, 6:36:34 PM7/3/14
to polym...@googlegroups.com
I'm trying to get the Hardware Phone icon from http://polymer.github.io/core-icons/components/core-icons/demo.html to show in a core-icon. But what ever I tried it didn't succeed.

Also the <core-icon icon="social:cake"></core-icon>  from http://www.polymer-project.org/docs/elements/icons.html doesn't show the cake. So I'm wondering what I'm missing.

How can I use an icon from one of the additional iconsets in core-icons/iconsets ?

Martin





Daniel Freedman

unread,
Jul 3, 2014, 6:38:51 PM7/3/14
to Martin Amm, polymer-dev

You have to import the other icon sets from core-icons. The demo page should show you which imports bring which sets.

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/d0504c42-3fa1-461e-bac8-2ecedd147190%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Martin Amm

unread,
Jul 3, 2014, 6:50:17 PM7/3/14
to polym...@googlegroups.com, m...@adenin.de
So it can't be done in the designer without going to the code view?

Martin Amm

unread,
Jul 3, 2014, 6:53:17 PM7/3/14
to polym...@googlegroups.com, m...@adenin.de
I might be wrong - but on the documentation http://www.polymer-project.org/docs/elements/icons.html I don't see how the Social iconset should be loaded exactly before using Social:cake

Daniel Freedman

unread,
Jul 3, 2014, 6:58:35 PM7/3/14
to Martin Amm, polymer-dev

Oops the instructions weren't pushed to the github pages version. All you need is an import, <link rel="import" href="core-icons/iconsets/social-icons.HTML"> for the social set.

On Jul 3, 2014 3:54 PM, "Martin Amm" <m...@adenin.de> wrote:
I might be wrong - but on the documentation http://www.polymer-project.org/docs/elements/icons.html I don't see how the Social iconset should be loaded exactly before using Social:cake

Follow Polymer on Google+: plus.google.com/107187849809354688692

---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.

Martin Amm

unread,
Jul 3, 2014, 7:05:14 PM7/3/14
to polym...@googlegroups.com, m...@adenin.de
Should this be possible in the designer?

I didn't find a way to load an additional iconset without going to code.

If I paste the code <link rel="import" href="core-icons/iconsets/social-icons.HTML"> in the designer code view it's lost when switching back to design view.

Steve Orvell

unread,
Jul 7, 2014, 7:24:43 PM7/7/14
to Martin Amm, polym...@googlegroups.com
Doing this in the code view should work once this issue is addressed: https://github.com/Polymer/designer/issues/46.


Follow Polymer on Google+: plus.google.com/107187849809354688692

---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages