Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Change Prefixes .foundicon-[icon] to .foundicon-[set]-[icon] in order to use more than 1 set in the same project. #39

Closed
wants to merge 5 commits into from

2 participants

@wizioo

Hi,
I had a problem : using bower, I installed foundation-icons and had to use 2 different sets on my project.
The problem was that general set and social set were conflicting using sass files:
The font family for my general icons were overwritten by social icons font.

So, I propose to add the set to change the default code to use icons from : <i class="foundicon-[icon]"></i> to <i class="foundicon-[set]-[icon]"></i>.

I used :

  • general for the general set
  • accessibility for the accessibility set
  • enclosed for the general enclosed set
  • social for the social set.

I think it easily solve the problem for people using your fantastic tool.

Thanks for your interest,
Julien

WIZIOO added some commits
WIZIOO Change Prefix Class Name for Accessibility icons in order to use mult…
…iple set of foundation icons on the same project --> .foundicon- become .foundicon-accessibility-
018411e
WIZIOO Change Prefix Class Name for general icons in order to use multiple s…
…et of foundation icons on the same project --> .foundicon- become .foundicon-general-
c6895dd
WIZIOO Change Prefix Class Name for general enclosed icons in order to use m…
…ultiple set of foundation icons on the same project --> .foundicon- become .foundicon-enclosed-
85b7d90
WIZIOO Change Prefix Class Name for social icons in order to use multiple se…
…t of foundation icons on the same project --> .foundicon- become .foundicon-social-
bfc11c9
WIZIOO Update Usage Doc for default code : foundicon-[icon] become foundatio…
…n-[set]-[icon]
2943abc
@rafibomb
Owner

Sorry this got stale. We'll close it now. We're adding more stuff soon so we'll be checking for PR's. Thanks!

@rafibomb rafibomb closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 24, 2013
  1. Change Prefix Class Name for Accessibility icons in order to use mult…

    WIZIOO authored
    …iple set of foundation icons on the same project --> .foundicon- become .foundicon-accessibility-
  2. Change Prefix Class Name for general icons in order to use multiple s…

    WIZIOO authored
    …et of foundation icons on the same project --> .foundicon- become .foundicon-general-
  3. Change Prefix Class Name for general enclosed icons in order to use m…

    WIZIOO authored
    …ultiple set of foundation icons on the same project --> .foundicon- become .foundicon-enclosed-
  4. Change Prefix Class Name for social icons in order to use multiple se…

    WIZIOO authored
    …t of foundation icons on the same project --> .foundicon- become .foundicon-social-
  5. Update Usage Doc for default code : foundicon-[icon] become foundatio…

    WIZIOO authored
    …n-[set]-[icon]
Something went wrong with that request. Please try again.