GithubHelp home page GithubHelp logo

wilds / font-awesome Goto Github PK

View Code? Open in Web Editor NEW

This project forked from components/font-awesome

0.0 2.0 0.0 7.85 MB

Shim repository for Font Awesome.

Home Page: http://fortawesome.github.com/Font-Awesome/

Makefile 0.09% CSS 99.91%
hacktoberfest

font-awesome's Introduction

Font Awesome

Shim repository for Font Awesome.

The full suite of pictographic icons, examples, and documentation can be found at: http://fortawesome.github.com/Font-Awesome/

Package Managers

  • npm: components-font-awesome
  • Bower: components-font-awesome
  • Component: components/font-awesome
  • Composer: components/font-awesome

Installation

Gulp

Re-compile bower

If using bower, do not forget to re-compile bower using gulp bower. Here is the sample code if you do not have one.

// Update Foundation with Bower and save to /vendor
gulp.task('bower', function() {
  return bower({ cmd: 'update'})
    .pipe(gulp.dest('vendor/'))
});
Combine css

With gulp, usually there is a function to combine all scss to css file for faster page loads. In the sample case we run function gulp style to combine all scss to css file under ./assets/css/

Move font font folder

Here is the important part, the default font folder is on different path with the compiled bower file. We need to move the font from default font folder to the compiled bower folder (In the example vendor is the compiled folder).

// Move font-awesome fonts folder to css compiled folder
gulp.task('icons', function() {
    return gulp.src('./vendor/components-font-awesome/webfonts/**.*')
        .pipe(gulp.dest('./assets/fonts'));
});

License

font-awesome's People

Contributors

ammarfrahm avatar antonellopasella avatar ashussen avatar benlarkins avatar craigh avatar ducin avatar ekkis avatar epokk avatar guite avatar hjr3 avatar martinlindhe avatar mrohnstock avatar robloach avatar samuelklein avatar simensen avatar wilds avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.