Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

fontawesome is referenced in icon.overrides, yet missing #33

Closed
jhegg opened this issue Mar 6, 2017 · 7 comments
Closed

fontawesome is referenced in icon.overrides, yet missing #33

jhegg opened this issue Mar 6, 2017 · 7 comments
Assignees
Labels
Milestone

Comments

@jhegg
Copy link
Contributor

jhegg commented Mar 6, 2017

I think fontawesome was removed from the vendored bits, but was not replaced with the package dependency. Should it be?

@jhegg
Copy link
Contributor Author

jhegg commented Mar 6, 2017

@cdaringe @eddier I'm not sure (or if) to fix this, any idea?

@cdaringe
Copy link
Contributor

cdaringe commented Mar 6, 2017

yea looks like it's missin!

i installed the npm package:

$ tree node_modules/font-awesome/fonts/
node_modules/font-awesome/fonts/
├── FontAwesome.otf
├── fontawesome-webfont.eot
├── fontawesome-webfont.svg
├── fontawesome-webfont.ttf
├── fontawesome-webfont.woff
└── fontawesome-webfont.woff2

@eddier, I dont recall what the import should look like. its not in site.overrides or icon.overrides. https://github.com/Tripwire/octagon/blob/master/semantic/src/themes/tripwire/globals/site.overrides . if you can advise as to what the font import statement is, i can update the build script?

@cdaringe cdaringe added this to the 0. Bugs milestone Mar 6, 2017
@cdaringe cdaringe added the bug label Mar 6, 2017
@eddier
Copy link
Contributor

eddier commented Mar 6, 2017

I could be wrong, but doesnt SUI use their flavor of font that is in themes/tripwire/assets/fonts/ ? It should be labeled as icons.eot, svg, ttf,woff, woff2. When including the octagon lib you should be able to render a FA icon by using the syntax and it should work. Is it not?

@jhegg
Copy link
Contributor Author

jhegg commented Mar 6, 2017

For example, user circle and user circle outline are just circles, and user outline is just a user. Here I'm using the following:

<Icon className='user plus' />
<Icon className='user circle' />
<Icon className='user circle outline' />
<Icon className='user outline' />
<Icon className='user' />
<Icon className='users' />

image

The rendered style should be i.icon.user.circle:before {}, and not i.icon.circle:before {}.

@eddier
Copy link
Contributor

eddier commented Mar 7, 2017

I think this may be a SUI issue rather than an issue with Octagon. Check out the example in their issues:
Semantic-Org/Semantic-UI-React#1371

@jhegg
Copy link
Contributor Author

jhegg commented Mar 7, 2017

Got it. Closing for now. 😄

@jhegg jhegg closed this as completed Mar 7, 2017
@cdaringe
Copy link
Contributor

cdaringe commented Mar 7, 2017

doh! thx :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants