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

Add font awesome as a depedency #57

Closed
wants to merge 1 commit into from
Closed

Conversation

jeremiak
Copy link
Contributor

In the process of documenting how the sidenav element works I noticed we didn’t have font-awesome included which resulted in the glyphs not being displayed properly. Added the library as a dependency and included some build scripts that are run automatically on npm run build

The copy-fontawesome-css script is weird looking because I alter the paths required in the CSS file to match our current file structure. We currently use /font so that is where the browser should look for font awesome fonts.

I raised some related concerns in cloud-gov/cg-style-gem#5, which could change some parts of this implementation

In the process of documenting how the sidenav element works I noticed
we didn’t have font-awesome included which resulted in the glyphs not
being displayed properly. Added the library as a dependency and
included some build scripts that are run automatically on `npm run
build`

The `copy-fontawesome-css` script is weird looking because I alter the
paths required in the CSS file to match our current file structure. We
currently use `/font` so that is where the browser should look for font
awesome fonts.

I raised some related concerns in cloud-gov/cg-style-gem#5, which could
change some parts of this implementation
jeremiak pushed a commit that referenced this pull request Apr 22, 2016
Include font-awesome in page after #57
@jeremiak
Copy link
Contributor Author

I'm closing this PR because it isn't the route we want to go. Since we're pulling in font-awesome just for some carets for the sidenav, we are just going to style the carets with pure CSS to reduce the footprint of using cg-style.

@jeremiak jeremiak closed this Apr 22, 2016
@jeremiak jeremiak deleted the jk-add_fontawesome branch April 22, 2016 20:56
jeremiak pushed a commit that referenced this pull request May 9, 2016
Include font-awesome in page after #57
jeremiak pushed a commit that referenced this pull request Jun 1, 2016
Include font-awesome in page after #57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant