feathericon

WebJar for feathericon

License

License

MIT
Categories

Categories

Github Development Tools Version Controls Feather Application Layer Libs Dependency Injection
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

github-com-feathericon-feathericon
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

feathericon
WebJar for feathericon
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/feathericon/feathericon

Download github-com-feathericon-feathericon

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-feathericon-feathericon/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-feathericon-feathericon</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-feathericon-feathericon/
implementation 'org.webjars.npm:github-com-feathericon-feathericon:1.0.2'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-feathericon-feathericon/
implementation ("org.webjars.npm:github-com-feathericon-feathericon:1.0.2")
'org.webjars.npm:github-com-feathericon-feathericon:jar:1.0.2'
<dependency org="org.webjars.npm" name="github-com-feathericon-feathericon" rev="1.0.2">
  <artifact name="github-com-feathericon-feathericon" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-feathericon-feathericon', version='1.0.2')
)
libraryDependencies += "org.webjars.npm" % "github-com-feathericon-feathericon" % "1.0.2"
[org.webjars.npm/github-com-feathericon-feathericon "1.0.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

feathericon

feathericon

Build Status npm version npm downloads jsDeliver

feathericon is simply generic vector icon collection. The vectors for all the icons are stored in a Sketch file.
Website: https://feathericon.github.io/feathericon/

Getting Started

feathericon contains Sketch file, svg files, css / scss files and font files.

Basic

  1. Download ZIP folder from here.
  2. Copy the css/ and fonts/ directory to your project.
  3. In the <head> of your html, reference the location to your feathericon.min.css.
<link rel="stylesheet" href="path/to/css/feathericon.min.css">
  1. Place feathicon with <i> tag in your html like this. fe class is required to use our icons correctly. Check out our website to start using icons!
<i class="fe fe-heart"></i>

You can use feathericon with CDN files on jsdeliver.

Using SVG sprite

  1. Download ZIP folder from here.
  2. Copy the svg/sprite/sprite.feathericon.svg to your project.
  3. In your html, place like this. You can set specify any width, height, and fill with HTML attributes or CSS. Make sure put the icon name with hash after .svg extension.
<svg width="16px" height="16px" fill="#0099cc" class="icon">
  <use xlink:href="/<path-to-your>/sprite.feathericon.svg#heart"></use>
</svg>
  .icon {
    width: 16px;
    height: 16px;
    fill: #0099cc;
  }

For developers

Node.js projects

  1. Install via npm or yarn.
$ npm install feathericon --save
or
$ yarn add feathericon
  1. Copy fonts/ directory to your project.
$ cp -r node_modules/feathericon/build/fonts/ path/to/fonts
  1. You can simply point your Sass (SCSS) include-path at your node_modules/ directory. This case is using gulp-sass.
gulp.task('sass', function () {
  return gulp.src('path/to/*.scss')
    .pipe(.sass({
      loadPath     : 'node_modules/feathericon/build/scss/',
      outputStyle  : 'compressed'
    }).on('error', $.sass.logError))
    .pipe(gulp.dest('path/to/css/'));
});

Then you can import it in your scss(sass) file.

@import "feathericon";

Ruby on Rails projects

You can install via RubyGems.

Repositories:

Customize feathericon

1. Edit Sketch document

Sketch document

Open the Sketch document in src/feathericons.sketch. Each icon exists as an artboard within the Sketch document. If you’re adding an icon, duplicate one of the artboards and add your shapes to it. Be sure to give your artboard a name that makes sense.

2. Update data.json

If you've added a new icon, you'll need to add a new entry and keywords for it in the data.json.

3. Build icons

Requires

  • Node.js
  • npm

You can download from the Node.js download page, or install via package managers. Node.js comes with npm (See more).

  1. Open the feathericon/ directory in Terminal.
  2. Run this command to install dependencies for building icons.
$ npm run setup
  1. Run this command. Running the gulp task will generate the font, css, scss and SVGs, placing them in the build/ directory.
$ npm run webfont

FontCustom

If you want to tweak font settings, edit fontcustom.yml. feathericon is using FontCustom to build fonts, stylesheets such as feathericon.css and _feathericon.scss. If you need more information for FontCustom, visit their GitHub Repository.

Bugs, Ideas, Pull Requests

If you have any ideas or find bugs, please send me Pull Requests or let me know with GitHub Issues :)

License

MIT (C) 2018 Megumi Hano

org.webjars.npm

feathericon

Simply generic vector icon collection

Versions

Version
1.0.2